#50229 [Opn->Bgs]: segmentation fault on arm9

From: Date: Thu, 19 Nov 2009 15:08:33 +0000
Subject: #50229 [Opn->Bgs]: segmentation fault on arm9
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-144817@lists.php.net to get a copy of this message
ID: 50229 Updated by: jani@php.net Reported By: amit dot yedidia at elbitsystems dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: linux 2.6.22.6 PHP Version: 5.2.11 New Comment: We do not support cross-compiling, you're totally on your own. Previous Comments: ------------------------------------------------------------------------ [2009-11-19 12:06:28] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50229&edit=1

« previous php.bugs (#144817) next »