Bug #61300 [Com]: segfault in assignment

From: Date: Thu, 03 Jan 2013 12:33:05 +0000
Subject: Bug #61300 [Com]: segfault in assignment
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-175714@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61300&edit=1

 ID:                 61300
 Comment by:         bergere50 at yahoo dot fr
 Reported by:        fbableus at yahoo dot fr
 Summary:            segfault in assignment
 Status:             Open
 Type:               Bug
 Package:            Streams related
 Operating System:   ARM
 PHP Version:        5.4
 Block user comment: N
 Private report:     N

 New Comment:

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'.


Previous Comments:
------------------------------------------------------------------------
[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)

« previous php.bugs (#175714) next »