php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14929 Segmentation fault when using none-deep recursive scripts
Submitted: 2002-01-08 07:36 UTC Modified: 2002-03-03 00:00 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: akrolivets at triasphera dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.1.0 OS: RedHat Linux 7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: akrolivets at triasphera dot com
New email:
PHP Version: OS:

 

 [2002-01-08 07:36 UTC] akrolivets at triasphera dot 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!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-09 22:04 UTC] yohgaki@php.net
Please read instruction for submitting bugs.
You should attach backtrace ;)
 [2002-01-13 12:42 UTC] akrolivets at triasphera dot com
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.
 [2002-01-13 15:09 UTC] yohgaki@php.net
I think you are using dev/test system, right?
Try it under test system. Unless you provide more details, it just can't be fixed :)
 [2002-03-03 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC