#38459 [NEW]: tidy and mysqli memory errors

From: Date: Tue, 15 Aug 2006 02:37:56 +0000
Subject: #38459 [NEW]: tidy and mysqli memory errors
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100807@lists.php.net to get a copy of this message
From: info at tcknetwork dot com Operating system: Windows XP PHP version: 5.1.4 PHP Bug Type: Reproducible crash Bug description: tidy and mysqli memory errors Description: ------------ When mysqli or/and tidy extensions are loaded, they produce a memory error and make the server (Apache 2.2.2) crashes. So far I know these problems should have been introduced in the 5.1.3 or 5.1.4 because i ran long with 5.1.2 without noticing any of those problems. Reproduce code: --------------- <? // only one test is necessary // test 1 function test() { test(); } test(); // test 2 class a { function test() { $this->test(); } }; $a=new a(); $a->test(); ?> Expected result: ---------------- Without those extensions loaded, you get a blank file to download, which is the correct result. Actual result: -------------- With one or both of those extensions loaded, you get a crash of the server, even when using none of the extension's functionality (see the code above). Another complete crash appears in the export function of phpMyAdmin (export a table in sql for example), I didn't parsed that code for the moment, but it appears even with only mysql (not i) extension loaded. -- Edit bug report at http://bugs.php.net/?id=38459&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38459&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38459&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38459&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38459&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38459&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38459&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38459&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38459&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38459&r=support Expected behavior: http://bugs.php.net/fix.php?id=38459&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38459&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38459&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38459&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38459&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38459&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38459&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38459&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38459&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38459&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38459&r=mysqlcfg

« previous php.bugs (#100807) next »