Skip to content

Instantly share code, notes, and snippets.

@arjenschol
Created April 29, 2015 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arjenschol/a640117e58935572cf87 to your computer and use it in GitHub Desktop.
Save arjenschol/a640117e58935572cf87 to your computer and use it in GitHub Desktop.
bug69521
<?php
$host = 'tcp://php.net:443';
$chunkSize = 8192;
$fp = stream_socket_client($host, $errNumber, $errString, 5, STREAM_CLIENT_CONNECT);
stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
$data = "GET / HTTP/1.1\r\nConnection: close\r\nHost: php.net\r\n\r\n";
$written = 0;
while (!feof($fp))
{
$read = $write = array($fp);
$except = null;
if ($written === strlen($data))
$write = array();
$changed = stream_select($read, $write, $except, 0, 500000);
if (!empty($read))
{
$read = fread($fp, $chunkSize);
echo 'read ' . strlen($read) . PHP_EOL;
}
else if (!empty($write))
{
$written += fwrite($fp, substr($data, $written, 100));
echo 'written ' . $written . PHP_EOL;
}
}
USE_ZEND_ALLOC=0 valgrind --tool=memcheck php-src/sapi/cli/php stream_select.php
==23307== Memcheck, a memory error detector
==23307== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==23307== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==23307== Command: php-src/sapi/cli/php stream_select.php
==23307==
written 52
read 8192
read 8192
read 8192
read 1757
==23307== Invalid read of size 2
==23307== at 0x9699C9: gc_mark_roots (zend_gc.c:489)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 2
==23307== at 0x9695BF: gc_mark_grey (zend_gc.c:391)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 2
==23307== at 0x9695E3: gc_mark_grey (zend_gc.c:394)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid write of size 2
==23307== at 0x9695F4: gc_mark_grey (zend_gc.c:394)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x9695FC: gc_mark_grey (zend_gc.c:396)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd4 is 4 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x9697A2: gc_mark_grey (zend_gc.c:431)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd4 is 4 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x969872: gc_mark_grey (zend_gc.c:454)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7de8 is 24 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 8
==23307== at 0x969882: gc_mark_grey (zend_gc.c:455)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7de0 is 16 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x96988E: gc_mark_grey (zend_gc.c:456)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7de8 is 24 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x9698BF: gc_mark_grey (zend_gc.c:457)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7e61 is 17 bytes inside a block of size 264 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x94D353: zend_hash_destroy (zend_hash.c:1214)
==23307== by 0x87769C: stream_array_emulate_read_fd_set (streamsfuncs.c:703)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x968C81: zval_get_type (zend_types.h:313)
==23307== by 0x96995A: gc_mark_grey (zend_gc.c:473)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7e60 is 16 bytes inside a block of size 264 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x94D353: zend_hash_destroy (zend_hash.c:1214)
==23307== by 0x87769C: stream_array_emulate_read_fd_set (streamsfuncs.c:703)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 8
==23307== at 0x96998C: gc_mark_grey (zend_gc.c:477)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7e58 is 8 bytes inside a block of size 264 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x94D353: zend_hash_destroy (zend_hash.c:1214)
==23307== by 0x87769C: stream_array_emulate_read_fd_set (streamsfuncs.c:703)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x969997: gc_mark_grey (zend_gc.c:478)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7500 is 0 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid write of size 4
==23307== at 0x9699A0: gc_mark_grey (zend_gc.c:478)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7500 is 0 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid read of size 1
==23307== at 0x9697EA: gc_mark_grey (zend_gc.c:438)
==23307== by 0x9699EB: gc_mark_roots (zend_gc.c:490)
==23307== by 0x96A98C: zend_gc_collect_cycles (zend_gc.c:911)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7504 is 4 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid read of size 2
==23307== at 0x969A1B: gc_scan (zend_gc.c:502)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x969A37: gc_scan (zend_gc.c:503)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd0 is 0 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 2
==23307== at 0x969249: gc_scan_black (zend_gc.c:301)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid write of size 2
==23307== at 0x969257: gc_scan_black (zend_gc.c:301)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x96925F: gc_scan_black (zend_gc.c:303)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd4 is 4 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x969434: gc_scan_black (zend_gc.c:343)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd4 is 4 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x9694C0: gc_scan_black (zend_gc.c:362)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7de8 is 24 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 8
==23307== at 0x9694D0: gc_scan_black (zend_gc.c:363)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7de0 is 16 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x9694DC: gc_scan_black (zend_gc.c:364)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7de8 is 24 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 1
==23307== at 0x96950D: gc_scan_black (zend_gc.c:365)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7e61 is 17 bytes inside a block of size 264 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x94D353: zend_hash_destroy (zend_hash.c:1214)
==23307== by 0x87769C: stream_array_emulate_read_fd_set (streamsfuncs.c:703)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 8
==23307== at 0x96957D: gc_scan_black (zend_gc.c:378)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7e58 is 8 bytes inside a block of size 264 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x94D353: zend_hash_destroy (zend_hash.c:1214)
==23307== by 0x87769C: stream_array_emulate_read_fd_set (streamsfuncs.c:703)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid read of size 4
==23307== at 0x969588: gc_scan_black (zend_gc.c:379)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7500 is 0 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid write of size 4
==23307== at 0x969591: gc_scan_black (zend_gc.c:379)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7500 is 0 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid read of size 2
==23307== at 0x969597: gc_scan_black (zend_gc.c:380)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7506 is 6 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid read of size 1
==23307== at 0x969463: gc_scan_black (zend_gc.c:349)
==23307== by 0x969A48: gc_scan (zend_gc.c:504)
==23307== by 0x969D3D: gc_scan_roots (zend_gc.c:581)
==23307== by 0x96A991: zend_gc_collect_cycles (zend_gc.c:913)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xc5c7504 is 4 bytes inside a block of size 24 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x950CA4: list_entry_destructor (zend_list.c:187)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94CFE2: zend_hash_index_del (zend_hash.c:1134)
==23307== by 0x950848: zend_list_free (zend_list.c:59)
==23307== by 0x934E31: _zval_dtor_func_for_ptr (zend_variables.c:123)
==23307== by 0x934A6A: i_zval_ptr_dtor (zend_variables.h:57)
==23307== by 0x9353C1: _zval_ptr_dtor_wrapper (zend_variables.c:267)
==23307== by 0x94C883: _zend_hash_del_el_ex (zend_hash.c:938)
==23307== by 0x94C969: _zend_hash_del_el (zend_hash.c:962)
==23307== by 0x94DB86: zend_hash_graceful_reverse_destroy (zend_hash.c:1405)
==23307==
==23307== Invalid read of size 2
==23307== at 0x96A3E7: gc_collect_roots (zend_gc.c:767)
==23307== by 0x96A9AC: zend_gc_collect_cycles (zend_gc.c:922)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307== Invalid write of size 2
==23307== at 0x96A3FF: gc_collect_roots (zend_gc.c:768)
==23307== by 0x96A9AC: zend_gc_collect_cycles (zend_gc.c:922)
==23307== by 0x91F3FD: shutdown_executor (zend_execute_API.c:336)
==23307== by 0x937531: zend_deactivate (zend.c:964)
==23307== by 0x8ABBE3: php_request_shutdown (main.c:1806)
==23307== by 0x9FB27D: do_cli (php_cli.c:1135)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307== Address 0xcef7dd6 is 6 bytes inside a block of size 56 free'd
==23307== at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23307== by 0x906F45: _efree (zend_alloc.c:2206)
==23307== by 0x8776C2: stream_array_emulate_read_fd_set (streamsfuncs.c:704)
==23307== by 0x877AF5: zif_stream_select (streamsfuncs.c:796)
==23307== by 0x98F7BF: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:558)
==23307== by 0x98F1FE: execute_ex (zend_vm_execute.h:394)
==23307== by 0x98F314: zend_execute (zend_vm_execute.h:434)
==23307== by 0x938706: zend_execute_scripts (zend.c:1389)
==23307== by 0x8ACFBB: php_execute_script (main.c:2468)
==23307== by 0x9FA9B2: do_cli (php_cli.c:967)
==23307== by 0x9FB95B: main (php_cli.c:1334)
==23307==
==23307==
==23307== HEAP SUMMARY:
==23307== in use at exit: 1,216 bytes in 31 blocks
==23307== total heap usage: 65,401 allocs, 65,370 frees, 5,615,298 bytes allocated
==23307==
==23307== LEAK SUMMARY:
==23307== definitely lost: 32 bytes in 1 blocks
==23307== indirectly lost: 130 bytes in 7 blocks
==23307== possibly lost: 0 bytes in 0 blocks
==23307== still reachable: 1,054 bytes in 23 blocks
==23307== suppressed: 0 bytes in 0 blocks
==23307== Rerun with --leak-check=full to see details of leaked memory
==23307==
==23307== For counts of detected and suppressed errors, rerun with: -v
==23307== ERROR SUMMARY: 114 errors from 32 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment