ID: 50896
Updated by: aharvey@php.net
Reported By: angel at wututu dot com
-Status: Bogus
+Status: Open
Bug Type: Reproducible crash
Operating System: GNU/Linux
PHP Version: 5.2snapshot-201002171530
New Comment:
Reopening, since the submitter isn't cross-compiling.
Previous Comments:
------------------------------------------------------------------------
[2010-02-22 16:09:02] angel at wututu dot com
Well... not cross compiling. I'm compiling it natively inside a virtual
machine because I can't use the final machine because it lacks memory.
------------------------------------------------------------------------
[2010-02-19 08:34:06] jani@php.net
-Status: Open
+Status: Bogus
Oh, you're cross-compiling this. We do not support that out-of-box,
you're totally on your own with it.
------------------------------------------------------------------------
[2010-02-18 08:38:03] angel at wututu dot com
-Status: Feedback
+Status: Open
-PHP Version: 5.3SVN-2010-02-10
+PHP Version: 5.2snapshot-201002171530
The backtrace in this case is more or less the same as before:
(gdb) run
Starting program: /build/php5.2-201002171530/sapi/cli/php
warning: no loadable sections found in added symbol-file
/usr/lib/libiconv.so.2
Program received signal SIGBUS, Bus error.
0x0071e704 in _zend_mm_alloc_int (heap=0x91f300, size=13)
at /build/php5.2-201002171530/Zend/zend_alloc.c:1897
1897 ZEND_MM_CHECK_BLOCK_LINKAGE(best_fit);
(gdb) backtrace
#0 0x0071e704 in _zend_mm_alloc_int (heap=0x91f300, size=13)
at /build/php5.2-201002171530/Zend/zend_alloc.c:1897
#1 0x0074a5b4 in zend_register_functions (scope=0x0,
functions=0x911ad0,
function_table=<value optimized out>, type=<value optimized out>)
at /build/php5.2-201002171530/Zend/zend_operators.h:287
#2 0x0074358c in zend_startup (utility_functions=<value optimized
out>,
extensions=<value optimized out>, start_builtin_functions=1)
at /build/php5.2-201002171530/Zend/zend.c:676
#3 0x006ead00 in php_module_startup (sf=<value optimized out>,
additional_modules=0x0, num_additional_modules=0)
at /build/php5.2-201002171530/main/main.c:1710
#4 0x007ef254 in php_cli_startup (sapi_module=0x0)
at /build/php5.2-201002171530/sapi/cli/php_cli.c:389
#5 0x007efdd8 in main (argc=1, argv=0x7f948dc4)
at /build/php5.2-201002171530/sapi/cli/php_cli.c:748
------------------------------------------------------------------------
[2010-02-17 15:59:17] jani@php.net
Is the gdb backtrace same for it? Does it happen with latest PHP-5.2
snapshot? (found at http://snaps.php.net/ ) ?
------------------------------------------------------------------------
[2010-02-01 17:25:29] angel at wututu dot com
Still the same error with the snapshot:
Generating phar.php
/bin/sh: line 1: 29472 Bus error ` if test -x
"/build/php5.3-201002010930/sapi/cli/php"; then
/build/php5.3-201002010930/build/shtool echo -n --
"/build/php5.3-201002010930/sapi/cli/php -n"; if test "x" != "x"; then
/build/php5.3-201002010930/build/shtool echo -n -- " -d
extension_dir=/build/php5.3-201002010930/modules"; for i in bz2 zlib
phar; do if test -f "/build/php5.3-201002010930/modules/$i.la"; then .
/build/php5.3-201002010930/modules/$i.la;
/build/php5.3-201002010930/build/shtool echo -n -- " -d
extension=$dlname"; fi; done; fi; else
/build/php5.3-201002010930/build/shtool echo -n --
"/build/php5.3-201002010930/sapi/cli/php"; fi;` -d 'open_basedir=' -d
'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d
'safe_mode=0' /build/php5.3-201002010930/ext/phar/build_precommand.php >
ext/phar/phar.php
make: *** [ext/phar/phar.php] Error 138
And when being run:
root@(none):/build/php5.3-201002010930# ./sapi/cli/php
Bus error
Let's see if someone can fix it or at least point me how to fix it.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50896--
Edit this bug report at http://bugs.php.net/?id=50896&edit=1