(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:07 GMT | 390 | 182 | 94 | 7509 | 2616 sec |
File | Name | Details |
---|---|---|
093-uthread-spawn.t | TEST 9: coroutine status of a dead user thread |
==26745== Invalid read of size 8 ==26745== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2680 is 32 bytes inside a block of size 96 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26745== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2840 is 96 bytes inside a block of size 104 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26745== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2930 is 80 bytes inside a block of size 368 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26745== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26745== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2960 is 128 bytes inside a block of size 368 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26745== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2668 is 8 bytes inside a block of size 96 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26745== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2668 is 8 bytes inside a block of size 96 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26745== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24e0 is 0 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <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_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24f0 is 16 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24e0 is 0 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24e0 is 0 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2510 is 48 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24f8 is 24 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24e8 is 8 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d24e8 is 8 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26745== Invalid read of size 8 ==26745== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Address 0x83d2528 is 72 bytes inside a block of size 80 free'd ==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== Block was alloc'd at ==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26745== by 0x41B70E: main (nginx.c:364) ==26745== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d3030 is 32 bytes inside a block of size 96 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26756== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d31f0 is 96 bytes inside a block of size 104 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26756== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d32e0 is 80 bytes inside a block of size 368 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26756== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26756== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d5968 is 200 bytes inside a block of size 672 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x41D445: ngx_list_init (ngx_list.h:39) ==26756== by 0x41D445: ngx_list_create (ngx_list.c:22) ==26756== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==26756== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==26756== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==26756== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26756== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==26756== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d3018 is 8 bytes inside a block of size 96 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26756== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d3018 is 8 bytes inside a block of size 96 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26756== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2e90 is 0 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <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_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2ea0 is 16 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2e90 is 0 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2e90 is 0 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2ec0 is 48 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2ea8 is 24 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2e98 is 8 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2e98 is 8 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26756== Invalid read of size 8 ==26756== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Address 0x83d2ed8 is 72 bytes inside a block of size 80 free'd ==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== Block was alloc'd at ==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26756== by 0x41B70E: main (nginx.c:364) ==26756== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d25f0 is 32 bytes inside a block of size 96 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26767== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d27b0 is 96 bytes inside a block of size 104 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26767== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d28a0 is 80 bytes inside a block of size 368 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26767== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26767== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d28d0 is 128 bytes inside a block of size 368 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26767== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d25d8 is 8 bytes inside a block of size 96 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26767== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d25d8 is 8 bytes inside a block of size 96 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26767== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2450 is 0 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2460 is 16 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2450 is 0 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2450 is 0 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2480 is 48 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2468 is 24 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2458 is 8 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2458 is 8 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 5: error in user thread |
==26767== Invalid read of size 8 ==26767== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Address 0x83d2498 is 72 bytes inside a block of size 80 free'd ==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== Block was alloc'd at ==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26767== by 0x41B70E: main (nginx.c:364) ==26767== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2bf0 is 32 bytes inside a block of size 96 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26789== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2db0 is 96 bytes inside a block of size 104 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26789== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2ea0 is 80 bytes inside a block of size 368 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26789== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26789== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d4fc0 is 32 bytes inside a block of size 672 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x41D445: ngx_list_init (ngx_list.h:39) ==26789== by 0x41D445: ngx_list_create (ngx_list.c:22) ==26789== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==26789== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==26789== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==26789== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26789== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==26789== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2bd8 is 8 bytes inside a block of size 96 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26789== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2bd8 is 8 bytes inside a block of size 96 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26789== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a50 is 0 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a60 is 16 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a50 is 0 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a50 is 0 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a80 is 48 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a68 is 24 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a58 is 8 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a58 is 8 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 6: nested user threads |
==26789== Invalid read of size 8 ==26789== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Address 0x83d2a98 is 72 bytes inside a block of size 80 free'd ==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== Block was alloc'd at ==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26789== by 0x41B70E: main (nginx.c:364) ==26789== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2ac0 is 32 bytes inside a block of size 96 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26800== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2c80 is 96 bytes inside a block of size 104 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26800== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2d70 is 80 bytes inside a block of size 368 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26800== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26800== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2da0 is 128 bytes inside a block of size 368 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26800== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2aa8 is 8 bytes inside a block of size 96 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26800== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2aa8 is 8 bytes inside a block of size 96 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26800== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2920 is 0 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2930 is 16 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2920 is 0 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2920 is 0 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2950 is 48 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2938 is 24 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2928 is 8 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2928 is 8 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 19: simple user thread with args |
==26800== Invalid read of size 8 ==26800== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Address 0x83d2968 is 72 bytes inside a block of size 80 free'd ==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== Block was alloc'd at ==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26800== by 0x41B70E: main (nginx.c:364) ==26800== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2830 is 32 bytes inside a block of size 96 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26822== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d29f0 is 96 bytes inside a block of size 104 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26822== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2ae0 is 80 bytes inside a block of size 368 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26822== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26822== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2b10 is 128 bytes inside a block of size 368 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26822== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2818 is 8 bytes inside a block of size 96 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26822== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2818 is 8 bytes inside a block of size 96 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26822== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2690 is 0 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <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_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d26a0 is 16 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2690 is 0 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2690 is 0 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d26c0 is 48 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d26a8 is 24 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2698 is 8 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d2698 is 8 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26822== Invalid read of size 8 ==26822== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Address 0x83d26d8 is 72 bytes inside a block of size 80 free'd ==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== Block was alloc'd at ==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26822== by 0x41B70E: main (nginx.c:364) ==26822== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d30d0 is 32 bytes inside a block of size 96 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26833== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d3290 is 96 bytes inside a block of size 104 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26833== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d3380 is 80 bytes inside a block of size 368 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26833== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26833== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d33b0 is 128 bytes inside a block of size 368 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26833== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d30b8 is 8 bytes inside a block of size 96 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26833== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d30b8 is 8 bytes inside a block of size 96 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26833== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f30 is 0 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f40 is 16 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f30 is 0 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f30 is 0 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f60 is 48 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f48 is 24 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f38 is 8 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f38 is 8 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
093-uthread-spawn.t | TEST 17: user threads + ngx.socket.udp |
==26833== Invalid read of size 8 ==26833== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Address 0x83d2f78 is 72 bytes inside a block of size 80 free'd ==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== Block was alloc'd at ==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26833== by 0x41B70E: main (nginx.c:364) ==26833== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2ce0 is 32 bytes inside a block of size 96 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26859== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2ea0 is 96 bytes inside a block of size 104 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26859== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2f90 is 80 bytes inside a block of size 368 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26859== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26859== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2fc0 is 128 bytes inside a block of size 368 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26859== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2cc8 is 8 bytes inside a block of size 96 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26859== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2cc8 is 8 bytes inside a block of size 96 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26859== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b40 is 0 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <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_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b50 is 16 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b40 is 0 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b40 is 0 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b70 is 48 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b58 is 24 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b48 is 8 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b48 is 8 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26859== Invalid read of size 8 ==26859== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Address 0x83d2b88 is 72 bytes inside a block of size 80 free'd ==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== Block was alloc'd at ==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26859== by 0x41B70E: main (nginx.c:364) ==26859== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3260 is 32 bytes inside a block of size 96 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26892== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3420 is 96 bytes inside a block of size 104 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26892== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3510 is 80 bytes inside a block of size 368 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26892== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26892== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3540 is 128 bytes inside a block of size 368 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26892== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3248 is 8 bytes inside a block of size 96 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26892== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3248 is 8 bytes inside a block of size 96 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26892== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30c0 is 0 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <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_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30d0 is 16 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30c0 is 0 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30c0 is 0 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30f0 is 48 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30d8 is 24 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30c8 is 8 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d30c8 is 8 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26892== Invalid read of size 8 ==26892== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Address 0x83d3108 is 72 bytes inside a block of size 80 free'd ==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== Block was alloc'd at ==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26892== by 0x41B70E: main (nginx.c:364) ==26892== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2c70 is 32 bytes inside a block of size 96 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26925== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2e30 is 96 bytes inside a block of size 104 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26925== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2f20 is 80 bytes inside a block of size 368 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26925== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26925== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2f50 is 128 bytes inside a block of size 368 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26925== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2c58 is 8 bytes inside a block of size 96 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26925== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2c58 is 8 bytes inside a block of size 96 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26925== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ad0 is 0 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <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_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ae0 is 16 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ad0 is 0 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ad0 is 0 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2b00 is 48 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ae8 is 24 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ad8 is 8 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2ad8 is 8 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26925== Invalid read of size 8 ==26925== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Address 0x83d2b18 is 72 bytes inside a block of size 80 free'd ==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== Block was alloc'd at ==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26925== by 0x41B70E: main (nginx.c:364) ==26925== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2790 is 32 bytes inside a block of size 96 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26936== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2950 is 96 bytes inside a block of size 104 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26936== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2a40 is 80 bytes inside a block of size 368 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26936== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26936== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2a70 is 128 bytes inside a block of size 368 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26936== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2778 is 8 bytes inside a block of size 96 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26936== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2778 is 8 bytes inside a block of size 96 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26936== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d25f0 is 0 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <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_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2600 is 16 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d25f0 is 0 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d25f0 is 0 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2620 is 48 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2608 is 24 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d25f8 is 8 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d25f8 is 8 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26936== Invalid read of size 8 ==26936== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Address 0x83d2638 is 72 bytes inside a block of size 80 free'd ==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== Block was alloc'd at ==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26936== by 0x41B70E: main (nginx.c:364) ==26936== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d28c0 is 32 bytes inside a block of size 96 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26947== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2a80 is 96 bytes inside a block of size 104 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26947== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2b70 is 80 bytes inside a block of size 368 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==26947== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==26947== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d4ab0 is 32 bytes inside a block of size 672 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x41D445: ngx_list_init (ngx_list.h:39) ==26947== by 0x41D445: ngx_list_create (ngx_list.c:22) ==26947== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445) ==26947== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92) ==26947== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68) ==26947== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==26947== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220) ==26947== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d28a8 is 8 bytes inside a block of size 96 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26947== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d28a8 is 8 bytes inside a block of size 96 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==26947== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2720 is 0 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <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_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2730 is 16 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2720 is 0 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2720 is 0 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2750 is 48 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2738 is 24 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2728 is 8 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2728 is 8 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==26947== Invalid read of size 8 ==26947== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Address 0x83d2768 is 72 bytes inside a block of size 80 free'd ==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== Block was alloc'd at ==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==26947== by 0x41B70E: main (nginx.c:364) ==26947== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83bec50 is 32 bytes inside a block of size 96 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27164== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83bee10 is 96 bytes inside a block of size 104 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27164== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83bef00 is 80 bytes inside a block of size 368 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27164== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==27164== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83bef30 is 128 bytes inside a block of size 368 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27164== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27164== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27164== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <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_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beac0 is 16 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beae0 is 48 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beac8 is 24 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27164== Invalid read of size 8 ==27164== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Address 0x83beaf8 is 72 bytes inside a block of size 80 free'd ==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== Block was alloc'd at ==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27164== by 0x41B70E: main (nginx.c:364) ==27164== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bec10 is 32 bytes inside a block of size 96 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27175== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bedd0 is 96 bytes inside a block of size 104 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27175== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83beec0 is 80 bytes inside a block of size 368 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27175== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==27175== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83beef0 is 128 bytes inside a block of size 368 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27175== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bebf8 is 8 bytes inside a block of size 96 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27175== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bebf8 is 8 bytes inside a block of size 96 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27175== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea70 is 0 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea80 is 16 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea70 is 0 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea70 is 0 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83beaa0 is 48 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea88 is 24 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea78 is 8 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83bea78 is 8 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) |
==27175== Invalid read of size 8 ==27175== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Address 0x83beab8 is 72 bytes inside a block of size 80 free'd ==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== Block was alloc'd at ==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27175== by 0x41B70E: main (nginx.c:364) ==27175== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83bece0 is 32 bytes inside a block of size 96 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27208== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beea0 is 96 bytes inside a block of size 104 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27208== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83bef90 is 80 bytes inside a block of size 368 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27208== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==27208== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83befc0 is 128 bytes inside a block of size 368 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27208== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83becc8 is 8 bytes inside a block of size 96 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27208== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83becc8 is 8 bytes inside a block of size 96 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27208== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb40 is 0 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <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_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb50 is 16 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb40 is 0 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb40 is 0 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb70 is 48 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb58 is 24 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb48 is 8 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb48 is 8 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted fun:ngx_process_events_and_timers fun:ngx_single_process_cycle fun:main } |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine |
==27208== Invalid read of size 8 ==27208== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Address 0x83beb88 is 72 bytes inside a block of size 80 free'd ==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== Block was alloc'd at ==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27208== by 0x41B70E: main (nginx.c:364) ==27208== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83bea80 is 32 bytes inside a block of size 96 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27230== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83bec40 is 96 bytes inside a block of size 104 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27230== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83bed30 is 80 bytes inside a block of size 368 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27230== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==27230== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83bed60 is 128 bytes inside a block of size 368 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27230== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83bea68 is 8 bytes inside a block of size 96 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27230== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83bea68 is 8 bytes inside a block of size 96 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27230== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8e0 is 0 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <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_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8f0 is 16 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8e0 is 0 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8e0 is 0 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be910 is 48 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8f8 is 24 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8e8 is 8 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be8e8 is 8 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27230== Invalid read of size 8 ==27230== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Address 0x83be928 is 72 bytes inside a block of size 80 free'd ==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== Block was alloc'd at ==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27230== by 0x41B70E: main (nginx.c:364) ==27230== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83bec50 is 32 bytes inside a block of size 96 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27241== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83bee10 is 96 bytes inside a block of size 104 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27241== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83bef00 is 80 bytes inside a block of size 368 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27241== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==27241== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83bef30 is 128 bytes inside a block of size 368 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27241== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27241== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27241== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <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_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beac0 is 16 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C292: ngx_log_error_core (ngx_log.c:159) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beae0 is 48 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beac8 is 24 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C318: ngx_log_error_core (ngx_log.c:189) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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) |
==27241== Invalid read of size 8 ==27241== at 0x41C328: ngx_log_error_core (ngx_log.c:195) ==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Address 0x83beaf8 is 72 bytes inside a block of size 80 free'd ==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== Block was alloc'd at ==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175) ==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27241== by 0x41B70E: main (nginx.c:364) ==27241== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_stream_lua_finalize_fake_session fun:ngx_stream_lua_finalize_session fun:ngx_stream_lua_content_handler fun:ngx_stream_init_session fun:ngx_stream_init_connection fun:ngx_event_accept fun:ngx_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf6a0 is 32 bytes inside a block of size 96 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Block was alloc'd at ==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27263== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== { <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_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf860 is 96 bytes inside a block of size 104 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Block was alloc'd at ==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27263== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== { <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_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf950 is 80 bytes inside a block of size 368 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Block was alloc'd at ==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27263== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27263== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== { <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_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257) ==27263== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf980 is 128 bytes inside a block of size 368 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Block was alloc'd at ==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27263== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174) ==27263== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== { <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_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf688 is 8 bytes inside a block of size 96 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Block was alloc'd at ==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27263== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== { <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_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886) ==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf688 is 8 bytes inside a block of size 96 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323) ==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221) ==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714) ==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602) ==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732) ==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174) ==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74) ==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Block was alloc'd at ==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299) ==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22) ==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140) ==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123) ==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218) ==27263== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== { <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_event_process_posted 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 |
==27263== Invalid read of size 8 ==27263== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888) ==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606) ==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236) ==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244) ==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223) ==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309) ==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33) ==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249) ==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309) ==27263== by 0x41B70E: main (nginx.c:364) ==27263== Address 0x83bf500 is 0 bytes inside a block of size 80 free'd ==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530) ==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79) ==27263== by 0x499AC3: ngx_stream_close_c |