Bug #14929 Updated: Segmentation fault when using none-deep recursive scripts
| From: | akrolivets at triasphera dot com | Date: | Sun, 13 Jan 2002 17:42:39 +0000 |
| Subject: | Bug #14929 Updated: Segmentation fault when using none-deep recursive scripts | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76883@lists.php.net to get a copy of this message | ||
ID: 14929
User updated by: akrolivets@triasphera.com
Reported By: akrolivets@triasphera.com
Old Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating System: RedHat Linux 7.0
PHP Version: 4.1.0
New Comment:
Hello!
Unfortunatelly we could not get the core file as we don't have the root
access to the server. Also script crashes after it works for about 5 or
even more hours. We run script in the new process, then, after several
hours, we can see this process running, then, suddenly, it disappears.
Pls. let us know if you have implemented the switch we were asking
about, as we really hope it will help us - we will contact server
admins and will ask them to recompile the php with your switch.
Previous Comments:
------------------------------------------------------------------------
[2002-01-09 22:04:04] yohgaki@php.net
Please read instruction for submitting bugs.
You should attach backtrace ;)
------------------------------------------------------------------------
[2002-01-08 07:36:16] akrolivets@triasphera.com
When running a large multi-file script (it should run for several
hours, or maybe even more) using PHP standalone CGI executable from the
shell, it crashes with Segmentation Fault after running a wide and
none-deep (max 5-10 level depth) recursive script.
I'm thinking it's a stack limitation problem.
I found this problem (which is very similar to the "recursive call
limitation" (#1901) PHP Bug Report) with two my own Linux servers (PHP
4.0.4 and 4.1.0).
In the answer to those bug report you mentioned that you may add some
compile-time switch, which will make PHP use heap, but not stack for
intensive data.
Please let me know if such switch has been added and how I can use it
with my servers or if you know some other way, which will help me to
solve this problem.
Thanks in advance!
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14929&edit=1