#38459 [Fbk->Csd]: tidy and mysqli memory errors
| From: | info at tcknetwork dot com | Date: | Tue, 15 Aug 2006 08:11:49 +0000 |
| Subject: | #38459 [Fbk->Csd]: tidy and mysqli memory errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100819@lists.php.net to get a copy of this message | ||
ID: 38459
User updated by: info at tcknetwork dot com
Reported By: info at tcknetwork dot com
-Status: Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: Windows XP
PHP Version: 5.1.4
New Comment:
with the snapshot php5.2.0.0 for win32 (2006-08-14 22:30)
and using the new apache hooks for 2.2 version, this issue has been
solved. But the bug in phpMyAdmin still remain (memory error, but the
server doesn't crash anymore)... I'll open a new report if i find the
root of this error.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2006-08-15 06:42:13] tony2001@php.net
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
------------------------------------------------------------------------
[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