Bug #61300 [Opn]: segfault in assignment
Edit report at https://bugs.php.net/bug.php?id=61300&edit=1
ID: 61300
User updated by: fbableus at yahoo dot fr
Reported by: fbableus at yahoo dot fr
Summary: segfault in assignment
Status: Open
Type: Bug
-Package: Streams related
+Package: Compile Failure
Operating System: ARM
PHP Version: 5.4
Block user comment: N
Private report: N
New Comment:
Successful compilation with --enable-debug on php 5.4.11RC1 (fails on 5.4.10) but still failing
without the flag.
Maybe related to https://bugs.php.net/bug.php?id=51216
Previous Comments:
------------------------------------------------------------------------
[2013-01-03 12:33:05] bergere50 at yahoo dot fr
I compile natively on my arm nas and I have the same issue.
Can't install, can't run tests and when I run your same it crashes with segfault even if
the code is unreachable.
<?php
if(false) {
print_r(explode('.', '1.2')); // works
list($a,$b) = array(1,2); // works
list($c,$d) = explode('.', '1.2'); // fails
}
?>
No output is performed apart 'Segmentation fault'.
------------------------------------------------------------------------
[2012-12-31 14:31:47] fbableus at yahoo dot fr
The following code produces segfault (php 5.4.10):
<?php
print_r(explode('.', '1.2')); // works
list($a,$b) = array(1,2); // works
list($c,$d) = explode('.', '1.2'); // fails
?>
------------------------------------------------------------------------
[2012-12-31 09:32:54] fbableus at yahoo dot fr
The cli binary runs but when using tab key in interactive mode, segfault occurs.
Apache handler fails too.
------------------------------------------------------------------------
[2012-03-06 12:42:57] fbableus at yahoo dot fr
Description:
------------
When compiling php 5.4.0 under ARMV5tel (gcc 3.4.2) the make install command fails while attempting
to install pear.
make test even fails with segfault before any output.
Compiling without any optimization (-O0 option) is successfull.
Expected result:
----------------
Successfull installation.
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61300&edit=1
Thread (7 messages)