php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50229 segmentation fault on arm9
Submitted: 2009-11-19 12:06 UTC Modified: 2009-11-19 15:08 UTC
From: amit dot yedidia at elbitsystems dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.11 OS: linux 2.6.22.6
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: amit dot yedidia at elbitsystems dot com
New email:
PHP Version: OS:

 

 [2009-11-19 12:06 UTC] amit dot yedidia at elbitsystems dot com
Description:
------------
I am compilinh php 5.2.11 for Arm9 (freescale Imx27)  running linux 2.6.22.6 kernel.

after the compilation is finished and I deploy it running the command
"php -i" is going ok. However trying to parse a php script (even it contains only html tags) using "php -f test.php" leads to segmentation fault. I got strace if needed.

compiling with -disable-all fix this problem.
so I minimize the difference between the 2 compilation but the problem still reproduced.

//configure command - got segmentation fault
./configure --target=arm-unknown-linux-gnu --prefix=/home/amit/workspace/DVE/Http/php-5.2.11/deploy --enable-debug --disable-rpath --enable-bcmath --enable-embed=shared \
	--enable-inline-optimization --enable-safe-mode 

//my configure - dont get segmentataion fault
./configure --target=arm-unknown-linux-gnu --prefix=/home/amit/workspace/DVE/Http/php-5.2.11/deploy --disable-all --enable-debug --disable-rpath --enable-bcmath --enable-embed=shared \
	--enable-inline-optimization --enable-safe-mode 

Reproduce code:
---------------
the file contain only the following 2 lines
<html>
</html>

//running the php
php -f test.php

Expected result:
----------------
<html>
</html>


Actual result:
--------------
<html>
</html>
Segmentation fault


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-19 15:08 UTC] jani@php.net
We do not support cross-compiling, you're totally on your own.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 07:01:29 2024 UTC