Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #38459 : tidy and mysqli memory errors
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th August 00:45
php-bugs@lists.php.net (info at tcknetwork dot
External User
 
Posts: 1
Default #38459 : tidy and mysqli memory errors



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
  Reply With Quote


  sponsored links


2 26th August 01:43
tony2001
External User
 
Posts: 1
Default #38459 : tidy and mysqli memory errors



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
  Reply With Quote
3 26th August 01:46
php-bugs@lists.php.net (info at tcknetwork dot
External User
 
Posts: 1
Default #38459 : tidy and mysqli memory errors


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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666