#30509 [NEW]: Infinite recursion in Engine
| From: | azmoo at azmoo dot net | Date: | Thu, 21 Oct 2004 04:23:16 +0000 |
| Subject: | #30509 [NEW]: Infinite recursion in Engine | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-67867@lists.php.net to get a copy of this message | ||
From: azmoo at azmoo dot net
Operating system: Linux, Fedora Core 1 and 2
PHP version: 5.0.2
PHP Bug Type: Zend Engine 2 problem
Bug description: Infinite recursion in Engine
Description:
------------
When running the provided code, the second time that the recursive
function, recurseQueries() is called, it seems to send the Zend Engine
into infinite recursion. Apache, both versions 1.3 and version 2, then
Segfaults. Error log from apache is as follows:
[Thu Oct 21 13:34:26 2004] [notice] child pid 18344 exit signal
Segmentation fault (11)
This happens on PHP versions 5.01 and 5.02.
Reproduce code:
---------------
http://www.azmoo.net/work/SQLParser.inc.phps
Expected result:
----------------
Should have a DOMDocument object with data in a heirarchical format.
Apache should not crash.
Actual result:
--------------
Segfault.
Backtrace located at http://www.azmoo.net/work/sql_backtrace.txt
--
Edit bug report at http://bugs.php.net/?id=30509&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30509&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30509&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30509&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30509&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30509&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30509&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30509&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30509&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30509&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30509&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30509&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30509&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30509&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30509&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30509&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30509&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30509&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30509&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30509&r=mysqlcfg