#35394 [Csd]: PHP 5.1 CLI produce segmentation fault
| From: | blade106 at free dot fr | Date: | Mon, 28 Nov 2005 08:54:52 +0000 |
| Subject: | #35394 [Csd]: PHP 5.1 CLI produce segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89169@lists.php.net to get a copy of this message | ||
ID: 35394
User updated by: blade106 at free dot fr
Reported By: blade106 at free dot fr
Status: Closed
Bug Type: Compile Failure
Operating System: Debian Sarge
PHP Version: 5.1.0
Assigned To: dmitry
New Comment:
In fact I don't use awk at all :o) Although, I know many people
including PHP team use it, so I'll have it installed, this must be a
good choice for configure options.
Previous Comments:
------------------------------------------------------------------------
[2005-11-28 09:49:00] sniper@php.net
It doesn't matter if you have gawk or not. But it doesn't hurt if you
have working awk, does it? :)
------------------------------------------------------------------------
[2005-11-28 09:45:00] blade106 at free dot fr
Thanks for you reply, I've just tested the last snapshots : and it
worked.
Snaps :
php5-2005 11 25 17 30 => just after your debug
php5-2005 11 28 07 30 => this morning
Both worked, but a question remains : is Gawk useful or not then ?
Thanks for your good work on PHP !
------------------------------------------------------------------------
[2005-11-25 16:46:55] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
I just committed a fix that should take care of this.
Please try in 2 hours from getting this message. (to make sure you got
the snapshot with the fix)
------------------------------------------------------------------------
[2005-11-25 15:10:20] blade106 at free dot fr
Description:
------------
While trying the new release of PHP (5.1 stable), apache2 did not
restart. PHP CLI was returning a Segmentation Fault, and I think it was
the same for the libphp5.so
See bug #34725 too, which is "Closed" in 5.1.0RC3.
Reproduce code:
---------------
make
make install
make test
Expected result:
----------------
"make test" runs correctly along the tests.
Actual result:
--------------
"make test" just return an error :
make: [test] Error 139 (ignored)
In fact the CLI just ended on a Seg Fault :
/usr/local/src/php5.1.0# ./sapi/cli/php
Erreur de segmentation (Segmentation fault)
After looking for answers on this site or others, the correction is to
install "gawk" on the Debian box (apt-get install gawk).
Shouldn't the configure ask for gawk ?
See bug #34725 too.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35394&edit=1