From: amit dot yedidia at elbitsystems dot com Operating system: linux 2.6.22.6 PHP version: 5.2.11 PHP Bug Type: Reproducible crash Bug description: segmentation fault on arm9
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 bug report at http://bugs.php.net/?id=50229&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50229&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50229&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50229&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50229&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50229&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50229&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50229&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50229&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50229&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50229&r=support Expected behavior: http://bugs.php.net/fix.php?id=50229&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50229&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50229&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50229&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50229&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50229&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50229&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50229&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50229&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50229&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50229&r=mysqlcfg