php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35394 PHP 5.1 CLI produce segmentation fault
Submitted: 2005-11-25 15:10 UTC Modified: 2005-11-28 09:54 UTC
From: blade106 at free dot fr Assigned: dmitry (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.1.0 OS: Debian Sarge
Private report: No CVE-ID: None
 [2005-11-25 15:10 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-25 16:46 UTC] 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-28 09:45 UTC] 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-28 09:49 UTC] 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:54 UTC] blade106 at free dot fr
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 04 06:01:35 2024 UTC