ID:               30509
 User updated by:  azmoo at azmoo dot net
 Reported By:      azmoo at azmoo dot net
 Status:           Bogus
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux, Fedora Core 1 and 2
 PHP Version:      5.0.2
 New Comment:

This is not a bug in my code. It enters the recursive function once
before segfaulting and the backtrace indicates a bug in the Zend
Engine. We have tested this by outputting to a file each time the
recursive function is called, and it is only outputting once. Try it
yourself, the provided source will demonstrate the problem.


Previous Comments:
------------------------------------------------------------------------

[2004-10-21 09:20:05] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is a bug in your code.

------------------------------------------------------------------------

[2004-10-21 06:22:37] azmoo at azmoo dot net

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 this bug report at http://bugs.php.net/?id=30509&edit=1

Reply via email to