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

 ID:                 65284
 Updated by:         johan...@php.net
 Reported by:        jhaagsma at gmail dot com
 Summary:            Segmentation fault with the CLI
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Ubuntu
 PHP Version:        5.4.17
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This must somehow depend on the build or something in the environment. Please 
work with Ondrej on this. We'd need a stacktrace from vanilla PHP for doing 
anything.


Previous Comments:
------------------------------------------------------------------------
[2013-07-18 08:45:31] sjon at hortensius dot net

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)

------------------------------------------------------------------------
[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