ID: 31886
User updated by: pieter dot donche at ua dot ac dot be
Reported By: pieter dot donche at ua dot ac dot be
Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 2.9
PHP Version: 4CVS-2005-02-17
New Comment:
I installed the latest binutils (2.15) and the latest gcc (3.4.3) --
still exactly the same crash at PEAR
# gdb /home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php
./core
also gives the same traceback, ending with:
...
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from
/usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
#0 0xff0269d8 in __register_frame_info_bases (begin=0xfeee0000,
ob=0xfeee0000, tbase=0x0, dbase=0x0)
at /home/wins/builds/src/gnu/gcc-3.4.3/gcc/unwind-dw2-fde.c:89
89 ob->s.b.encoding = DW_EH_PE_omit;
(gdb)
Previous Comments:
------------------------------------------------------------------------
[2005-02-28 19:38:49] [EMAIL PROTECTED]
Looks like same kind of crash has been experienced before, here's one
example:
http://mail.python.org/pipermail/python-dev/2002-August/027952.html
This is not PHP bug but GCC / binutils bug.
------------------------------------------------------------------------
[2005-02-28 18:23:34] pieter dot donche at ua dot ac dot be
gdb /home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php
./core
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "sparc-sun-solaris2.9"...
Core was generated by
`/home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php -n
-dshort_op'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /home/informix2000/lib/esql/libifsql.so...done.
Loaded symbols for /home/informix2000/lib/esql/libifsql.so
Reading symbols from /home/informix2000/lib/libifasf.so...done.
Loaded symbols for /home/informix2000/lib/libifasf.so
Reading symbols from /home/informix2000/lib/esql/libifgen.so...done.
Loaded symbols for /home/informix2000/lib/esql/libifgen.so
Reading symbols from /home/informix2000/lib/esql/libifos.so...done.
Loaded symbols for /home/informix2000/lib/esql/libifos.so
Reading symbols from /home/informix2000/lib/esql/libifgls.so...done.
Loaded symbols for /home/informix2000/lib/esql/libifgls.so
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /home/informix2000/lib/esql/libifglx.so...done.
Loaded symbols for /home/informix2000/lib/esql/libifglx.so
Reading symbols from /usr/local/lib/libldap.so.2...done.
Loaded symbols for /usr/local/lib/libldap.so.2
Reading symbols from /usr/local/lib/liblber.so.2...done.
Loaded symbols for /usr/local/lib/liblber.so.2
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from
/usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
#0 0xff026a00 in __register_frame_info_bases (begin=0xfeee0000,
ob=0xfeee0000, tbase=0x0, dbase=0x0)
at /home/wins/builds/src/gnu/gcc-3.4.2/gcc/unwind-dw2-fde.c:89
89 ob->s.b.encoding = DW_EH_PE_omit;
(gdb)
------------------------------------------------------------------------
[2005-02-28 13:41:34] [EMAIL PROTECTED]
Yes, it might create a core file but it definately will NOT be one
created by httpd?! It's created by the PHP CLI binary when it runs the
pear installer.
------------------------------------------------------------------------
[2005-02-28 10:41:21] pieter dot donche at ua dot ac dot be
Hi, sorry for the late response - I hadn't received an e-mail message
when you posted your comment.
# pwd
/home/wins/builds/src/other/php4-STABLE-200502211130
# ulimit -c unlimited
# ./configure ... (as above, with added --enable-debug
# make
(OK)
# make install
(the crash this bug report is all about, makes a core file,
745232 bytes)
# gdb /home/apache_1327/bin/httpd ./core
GNU gdb 6.1
...
This GDB was configured as "sparc-sun-solaris2.9"...(no debugging
symbols found)...
warning: core file may not match specified executable file.
Core was generated by
'/home/wins/builds/src/other/php4-STABLE-200502211130/sapi/cli/php -n
dshort_op'.
Program terminated with signal 11, Segmentation fault.
#0 0xff026a00 in ?? ()
(gdb)
Pieter
------------------------------------------------------------------------
[2005-02-17 15:43:12] pieter dot donche at ua dot ac dot be
Downlaod and installed GNU sed (/usr/local/bin). Retried. Same errors.
Went so far as to rename Solaris' /usr/bin/sed,
/usr/ucb/sed and /usr/xpg4/bin/sed to different names so that they
never are used. Retried.
Still exactly same errors ...
------------------------------------------------------------------------
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/31886
--
Edit this bug report at http://bugs.php.net/?id=31886&edit=1