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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 05:01:33 2025 UTC