php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61300 segfault in assignment
Submitted: 2012-03-06 12:42 UTC Modified: 2013-10-15 11:54 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: fbableus at yahoo dot fr Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.4 OS: ARM
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fbableus at yahoo dot fr
New email:
PHP Version: OS:

 

 [2012-03-06 12:42 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-31 09:32 UTC] fbableus at yahoo dot fr
The cli binary runs but when using tab key in interactive mode, segfault occurs.
Apache handler fails too.
 [2012-12-31 09:32 UTC] fbableus at yahoo dot fr
-Summary: make install fails with segfault +Summary: segfault in make install or interactive CLI -Package: Compile Failure +Package: Streams related -PHP Version: 5.4.0 +PHP Version: 5.4
 [2012-12-31 14:31 UTC] fbableus at yahoo dot fr
-Summary: segfault in make install or interactive CLI +Summary: segfault in assignment
 [2012-12-31 14:31 UTC] 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
?>
 [2013-01-03 12:33 UTC] 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'.
 [2013-01-11 21:46 UTC] fbableus at yahoo dot fr
-Package: Streams related +Package: Compile Failure
 [2013-01-11 21:46 UTC] fbableus at yahoo dot fr
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
 [2013-10-01 12:50 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2013-10-01 12:50 UTC] mike@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

There've been some ARM fixes recently, can you try a current snapshot, please?
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 23:01:30 2024 UTC