From: alan at binarystars dot com Operating system: linux PHP version: 5.2.8 PHP Bug Type: IMAP related Bug description: Update of Bug 47000.
Description: ------------ Update of Bug 47000. I tried to update the bug report but wouldn't let me. shell> php phpinfo.php | grep Configure Configure Command => './configure' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-mysql- sock=/tmp/mysql.sock' '--with-imap=/root/bin/imap-2007e' '--enable- mbstring=all' '--enable-debug' shell> export USE_ZEND_ALLOC=0 shell> export | grep ZEND declare -x USE_ZEND_ALLOC="0" shell> php -v PHP 5.2.8 (cli) (built: Dec 20 2008 05:26:51) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies shell> uname -r 2.6.25-14.fc9.i686 shell> valgrind --tool=memcheck --num-callers=30 --leak-check=full -- log-file=imap_bug.log /usr/local/bin/php imap_bug.php Old test run: http://home.binarystars.com/~alan/imap_bug/archive/ Reproduce code: --------------- Colorized imap_bug.html with line numbers: http://home.binarystars.com/~alan/imap_bug/imap_bug.html (34k) Text version: http://home.binarystars.com/~alan/imap_bug/imap_bug.txt (3.6k) Expected result: ---------------- See Bug 47000. http://bugs.php.net/bug.php?id=47000 Actual result: -------------- Method 1 results (w/ USE_ZEND_ALLOC=0): http://home.binarystars.com/~alan/imap_bug/method1_results.txt (2.1k) Method 2 results (w/ USE_ZEND_ALLOC=0): http://home.binarystars.com/~alan/imap_bug/method2_results.txt (2.1k) Valgrind results (v3.4.0): http://home.binarystars.com/~alan/imap_bug/imap_bug.log (2.4k) -- Edit bug report at http://bugs.php.net/?id=47022&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47022&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47022&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47022&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47022&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47022&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47022&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47022&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47022&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47022&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47022&r=support Expected behavior: http://bugs.php.net/fix.php?id=47022&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47022&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47022&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47022&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47022&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47022&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47022&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47022&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47022&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47022&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47022&r=mysqlcfg