#20539 [Com]: PHP CLI Segmentation Fault
| From: | boris at penck dot de | Date: | Thu, 28 Nov 2002 08:28:10 +0000 |
| Subject: | #20539 [Com]: PHP CLI Segmentation Fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26042@lists.php.net to get a copy of this message | ||
ID: 20539
Comment by: boris@penck.de
Reported By: boris@penck.de
Status: Feedback
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4CVS-2002-11-21 (stable)
New Comment:
If I remove the php-cli.ini from my /usr/local/lib directory the
backtrace is the same. And no - I do not have multiple php-*.ini files.
One php.ini and a php-cli.ini ( since today morning ).
I copied the original php.ini-dist to /usr/local/lib/php-cli.ini and
everything is fine. ( I will customize the file later )
Previous Comments:
------------------------------------------------------------------------
[2002-11-28 02:23:54] sniper@php.net
Is the backtrace still the same?
And do you have any other php-*.ini files anywhere in your system? If
you do have, please make a diff between it and
the php.ini-dist
------------------------------------------------------------------------
[2002-11-28 02:09:28] boris@penck.de
After a very long night I solved the problem. Don't hurt me ! The
standard php make install doesn't create the php-cli.ini and if this
file is missing my php-cli segfaults. If it's present - all is fine.
------------------------------------------------------------------------
[2002-11-27 07:30:32] boris@penck.de
Recently I set up a second linux box and repeated all. It works - but
why. I updated bcc, bison, etc to the newest version on both machines.
The new one is okay, the old one segfaults. Any Ideas how I can check
the differences which can cause the fault ?
------------------------------------------------------------------------
[2002-11-27 02:58:43] boris@penck.de
If it's broken hard- or software. Why the php4 apache module works
perfect? The same script called by web is running w/o any error.
Well, broken sofware may cause the fault - but which software is needed
by CLI SAPI and NOT by the apache module. This would help me to find a
possible broken piece of software.
Because the segfault is produced neither in the apache module nor CGI
and only in CLI, imho it's bug in php. Perhaps in assembly to other
software packages, right.
But - "It's not PHPs fault" Isn't a good solution for me. Guess what?
Shall I reinstall the complete server? I can't.
I will be very appreciated for any hints that solve my problem apart
from reinstalling all the software I'm running.
------------------------------------------------------------------------
[2002-11-27 02:38:42] jan@php.net
he is probably not, see #20604
------------------------------------------------------------------------
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/20539
--
Edit this bug report at http://bugs.php.net/?id=20539&edit=1