Edit report at https://bugs.php.net/bug.php?id=65284&edit=1

 ID:                 65284
 Comment by:         sjon at hortensius dot net
 Reported by:        jhaagsma at gmail dot com
 Summary:            Segmentation fault with the CLI
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Ubuntu
 PHP Version:        5.4.17
 Block user comment: N
 Private report:     N

 New Comment:

Obviously a vanilla 5.4.17 doesn't crash with this script (as can easily be 
seen 
at http://3v4l.org/gBq9U ); so the problem must be your environment; or the 
patches that were applied. 

I think you're best of contacting your distro-specific maintainer for this (I 
noticed several debian patches which could cause this behaviour)


Previous Comments:
------------------------------------------------------------------------
[2013-07-18 07:17:28] jhaagsma at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=65284&edit=1

Reply via email to