#38459 [Opn->Fbk]: tidy and mysqli memory errors
| From: | tony2001@php.net | Date: | Tue, 15 Aug 2006 06:42:14 +0000 |
| Subject: | #38459 [Opn->Fbk]: tidy and mysqli memory errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100812@lists.php.net to get a copy of this message | ||
ID: 38459
Updated by: tony2001@php.net
Reported By: info at tcknetwork dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP
PHP Version: 5.1.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-08-15 02:37:56] info at tcknetwork dot com
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 this bug report at http://bugs.php.net/?id=38459&edit=1