From: jhaagsma at gmail dot com Operating system: Ubuntu PHP version: 5.4.17 Package: Reproducible crash Bug Type: Bug Bug description:Segmentation fault with the CLI
Description: ------------ I was updating my machine & VM's from 5.4.17RC1 to 5.4.17 and noticed a problem, it was segfaulting. Using this test file on an upgraded machine and non-upgraded machine: machine1:~$ php --version PHP 5.4.17RC1 (cli) (built: Jun 22 2013 19:27:26) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies machine1:~$ php testphp Running from CLI -------- machine2:~$ php --version PHP 5.4.17-1~precise+1 (cli) (built: Jul 17 2013 18:14:06) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies machine2:~$ php testphp Segmentation fault (core dumped) This is on ubuntu using Ondrej's PPA for PHP 5.4, but he said he's not made any debian/ubuntu specific changes since RC1. Test script: --------------- <?php if(defined('STDIN') ) echo("Running from CLI"); else echo("Not Running from CLI"); ?> Expected result: ---------------- Expected result was "Running from CLI" Actual result: -------------- Segmentation fault (core dumped) -- Edit bug report at https://bugs.php.net/bug.php?id=65284&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65284&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65284&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65284&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65284&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65284&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65284&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65284&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65284&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65284&r=support Expected behavior: https://bugs.php.net/fix.php?id=65284&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65284&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65284&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65284&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65284&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65284&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65284&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65284&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65284&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65284&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65284&r=mysqlcfg