Valgrind warnings after using putenv (due to processtitle)
[2013-03-28 17:07 UTC] nikic@php.net
Description: ------------ Due to the changes introduced by https://wiki.php.net/rfc/cli_process_title running <?php putenv("FOO=BAR") causes the following valgrind warning on shutdown: ==2488== Invalid free() / delete / delete[] / realloc() ==2488== at 0x402B06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2488== by 0x49B6E03: clearenv (setenv.c:360) ==2488== by 0x4A3C237: _Exit (_exit.S:30) ==2488== Address 0x69c6bb0 is 0 bytes inside a block of size 180 free'd ==2488== at 0x402B06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2488== by 0x8744A6D: cleanup_ps_args (ps_title.c:410) ==2488== by 0x873A156: main (php_cli.c:1405)
[2013-03-29 14:54 UTC] keyur@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: keyur