From: michael at epicworks dot com Operating system: Linux PHP version: 4.3.4 PHP Bug Type: Unknown/Other Function Bug description: PHP script goes into infinite loop, providing overflow in backtrace
Description: ------------ PHP script which worked perfectly with 4.3.2 configured identically now goes into infinite loop at 99.9% CPU. There is no strace activity. GDB Backtrace claims overflow error as follows. Actual result: -------------- (gdb) bt #0 xbuf_resize (xbuf=0xbffe2850, add=1) at /usr/src/WWW-2003.12.01/php-4.3.4/main/spprintf.c:127 #1 0x0813c9e8 in xbuf_format_converter (xbuf=0xbffe2850, fmt=0x1 <Address 0x1 out of bounds>, ap=0xbffe317c "û?\035\b|Ü.\b\016\020\035\b") at /usr/src/WWW-2003.12.01/php-4.3.4/main/spprintf.c:272 #2 0x0813d3b6 in vspprintf (pbuf=0x1, max_len=3221104720, format=0xbffe2850 "[EMAIL PROTECTED]", ap=0xbffe2850 "[EMAIL PROTECTED]") at /usr/src/WWW-2003.12.01/php-4.3.4/main/spprintf.c:638 #3 0x08139ae1 in php_error_cb (type=-1073862576, error_filename=0x82e7f74 "/adm/vhosts/www/code/process_statistics/process_stats.php", error_lineno=137445501, format=0xbffe2850 "[EMAIL PROTECTED]", args=0xbffe2850 "[EMAIL PROTECTED]") at /usr/src/WWW-2003.12.01/php-4.3.4/main/main.c:601 (gdb) -- Edit bug report at http://bugs.php.net/?id=26551&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26551&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26551&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26551&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26551&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26551&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26551&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26551&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26551&r=support Expected behavior: http://bugs.php.net/fix.php?id=26551&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26551&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26551&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26551&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26551&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26551&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26551&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26551&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26551&r=float