[php-maint] Bug#481737: additional info FTBFS: php5

Joerg Friedrich Joerg.Friedrich at friedrich-kn.de
Mon Jun 23 23:21:07 UTC 2008


Hi,
 I just tried to compile php5 on sparc64 (sid). I'm not sure if this
 helps, but this is the backtrace from the bus error:
  (btw  gcc --version: gcc (Debian 4.3.1-2) 4.3.)


sol-debian:/usr/local/src/php5-5.2.6/cgi-build# gdb /usr/local/src/php5-5.2.6/cgi-build/sapi/cli/php core 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-linux-gnu"...
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/v9/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/v9/libssl.so.0.9.8
Reading symbols from /usr/lib/libdb-4.6.so...done.
Loaded symbols for /usr/lib/libdb-4.6.so
Reading symbols from /lib/libbz2.so.1.0...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/libpcre.so.3...done.
Loaded symbols for /usr/lib/libpcre.so.3
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/v9/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/v9/libcrypto.so.0.9.8
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...done.
Loaded symbols for /lib/libkeyutils.so.1
Core was generated by `/usr/local/src/php5-5.2.6/cgi-build/sapi/cli/php -n -dshort_open_tag=0 -dsafe_m'.
Program terminated with signal 10, Bus error.
[New process 2561]
#0  0x00259324 in _zend_mm_alloc_int (heap=0x508630, size=<error type>) at /usr/local/src/php5-5.2.6/Zend/zend_alloc.c:1991
1991	    SUHOSIN_MM_SET_END_CANARY(best_fit);
(gdb) bt
#0  0x00259324 in _zend_mm_alloc_int (heap=0x508630, size=<error type>) at /usr/local/src/php5-5.2.6/Zend/zend_alloc.c:1991
#1  0x00259678 in _estrndup (s=0x5 <Address 0x5 out of bounds>, length=<error type>) at /usr/local/src/php5-5.2.6/Zend/zend_alloc.c:2534
#2  0x00264ac4 in zend_register_constant (c=0xffa6b2e8) at /usr/local/src/php5-5.2.6/Zend/zend_constants.c:412
#3  0x00265810 in zend_register_standard_constants () at /usr/local/src/php5-5.2.6/Zend/zend_constants.c:194
#4  0x00275eac in zend_startup (utility_functions=0xffa6b3f0, extensions=0x0, start_builtin_functions=1) at /usr/local/src/php5-5.2.6/Zend/zend.c:749
#5  0x0022ee7c in php_module_startup (sf=0x0, additional_modules=0x0, num_additional_modules=<error type>) at /usr/local/src/php5-5.2.6/main/main.c:1704
#6  0x002ec4b8 in php_cli_startup (sapi_module=0x502a9c) at /usr/local/src/php5-5.2.6/sapi/cli/php_cli.c:358
#7  0x002ecadc in main (argc=13, argv=0xffa6b7c4) at /usr/local/src/php5-5.2.6/sapi/cli/php_cli.c:717
(gdb) frame 1
#1  0x00259678 in _estrndup (s=0x5 <Address 0x5 out of bounds>, length=<error type>) at /usr/local/src/php5-5.2.6/Zend/zend_alloc.c:2534
2534		p = (char *) _emalloc(length+1 ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
(gdb) 

-- 
Jörg Friedrich

There are only 10 types of people:
Those who understand binary and those who don't.





More information about the pkg-php-maint mailing list