From: eustaquiorangel at yahoo dot com Operating system: Linux, Slackware 10.2 (current) PHP version: 5.1.2 PHP Bug Type: XSLT related Bug description: Memory problem (double free)
Description: ------------ After I use the XSLT extension to process a huge file, I got an error on the Apache error_log and a blank page on the browser. The error is: *** glibc detected *** double free or corruption (fasttop): 0x08236cc8 *** [Wed Feb 01 08:56:12 2006] [notice] child pid 7121 exit signal Aborted (6) Reproduce code: --------------- http://pastebin.com/533629 Expected result: ---------------- A regular HTML page and no error on error_log. Actual result: -------------- Sometimes it becomes blank and after some realoading it works, but *always* with an error message on error_log. I tested the code on all the ways I could but the only solution was downgrade PHP to 4.4.2 with Sablotron support. Then everything run fine (same Apache version, same OS), the only negavite thing is that it takes a lot of time to show the results on the browser, while using PHP 5.1.2 it was very fast. -- Edit bug report at http://bugs.php.net/?id=36246&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36246&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36246&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36246&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36246&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36246&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36246&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36246&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36246&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36246&r=support Expected behavior: http://bugs.php.net/fix.php?id=36246&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36246&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36246&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36246&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36246&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36246&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36246&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36246&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36246&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36246&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36246&r=mysqlcfg
