ID:               31508
 User updated by:  yml at dtlink dot com
 Reported By:      yml at dtlink dot com
 Status:           Wont fix
 Bug Type:         Apache related
 Operating System: Linux (RedHat 9)
 PHP Version:      4CVS-2005-01-13
 New Comment:

Ummm. You're not really saying that PHP can't do recursion, are you?
That would be ludicrous.


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

[2005-01-21 01:54:29] [EMAIL PROTECTED]

What you are experiencing is a stack smash caused by recurssion. This
is unlikely to ever be fixed and is a good example of why not to use
recursive functions.

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

[2005-01-21 00:51:17] yml at dtlink dot com

yes, I make alot of use of recursion. It's a system that constructs
trees of objects based on an XML source file. 

I do a tremendous amount of object reference passing as well.

The first version was built in 2001 and it's been growing since. I've
run into several PHP symbol table corruption bugs since that time; most
I haven't bothered to report since they're so difficult to reproduce.
PHP versions since 4.3.4 have been /much/ more stable; until this bug
which seems to be caused by a particular combination of object trees.

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

[2005-01-21 00:40:47] [EMAIL PROTECTED]

Do you have recursive function calls in your script?

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

[2005-01-14 07:04:24] yml at dtlink dot com

Unfortunately this is one of those bugs that I have not been able to
create a short reproducing script. I think it's a symbol table
corruption problem probably due to a buffer overflow problem in the
parser code somewhere. If I change the PHP code slightly the location
of the segfault changes. If I compile with --enable-debug it stops
segfaulting.

If you are interested, with some work, I can provide you a test machine
to log into with all my code on it and exact instructions on how to
reproduce this problem. You are welcome to use my hardware to diagnose
this problem. 

You may wish to look at bug http://bugs.php.net/31525 for which I do
have a test script that I believe is related to this bug. 

I have added your sniper at php.net email to my whitelist, so please
feel free to contact me directly. I am very motivated to help track
this bug down and as I mentioned before it may very well be due to
something I'm doing in my code. Aside from providing you a box to log
into where the bug is demonstrated, is there anything else I can do to
help track this down?

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

[2005-01-14 05:40:35] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.



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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/31508

-- 
Edit this bug report at http://bugs.php.net/?id=31508&edit=1

Reply via email to