ID:               37301
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sebastian dot harnau at gmx dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: SuSE Linux 9.2
 PHP Version:      5.1.3
 New Comment:

Yes, please try with 5.1.2.
But the backtrace clearly shows that the problem is caused by the
system.


Previous Comments:
------------------------------------------------------------------------

[2006-05-04 08:24:09] sebastian dot harnau at gmx dot de

The last backtrace was with option "--enable-debug". I will try to run
"pear"-command manually to be sure that the backtrace is showing the
right thing...

Is the generating of the backtrace correct? The help page shows only
the process when error is with php driven by apache...

I also can try to compile PHP 5.1.2 to be shure that it is a php
problem and not a system problem...

------------------------------------------------------------------------

[2006-05-04 07:49:18] [EMAIL PROTECTED]

Doesn't look lika PHP problem.
Could you configure PHP with --enable-debug and try again?

------------------------------------------------------------------------

[2006-05-04 07:31:23] sebastian dot harnau at gmx dot de

alster:/usr/local/src/php5.1-200605031830 # gdb /usr/bin/php 
core 
GNU gdb 6.2.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 "i586-suse-linux"...Using host 
libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `/usr/local/src/php5.1-200605031830/
sapi/cli/php -n -dshort_open_tag=0 -dsafe_mo'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: 
Input/output error

Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libmhash.so.2...done.
Loaded symbols for /usr/lib/libmhash.so.2
Reading symbols from /usr/lib/libmcrypt.so.4...done.
Loaded symbols for /usr/lib/libmcrypt.so.4
Reading symbols from /usr/lib/libltdl.so.3...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libldap-2.2.so.7...done.
Loaded symbols for /usr/lib/libldap-2.2.so.7
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /usr/lib/liblber-2.2.so.7...done.
Loaded symbols for /usr/lib/liblber-2.2.so.7
Reading symbols from /usr/lib/libgmp.so.3...done.
Loaded symbols for /usr/lib/libgmp.so.3
Reading symbols from /usr/local/lib/libt1.so.5...done.
Loaded symbols for /usr/local/lib/libt1.so.5
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/lib/libpng.so.3...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libgdbm.so.3...done.
Loaded symbols for /usr/lib/libgdbm.so.3
Reading symbols from /usr/lib/libgdbm_compat.so.3...done.
Loaded symbols for /usr/lib/libgdbm_compat.so.3
Reading symbols from /usr/lib/libbz2.so.1...done.
Loaded symbols for /usr/lib/libbz2.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libcurl.so.3...done.
Loaded symbols for /usr/lib/libcurl.so.3
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libnetsnmp.so.5...done.
Loaded symbols for /usr/lib/libnetsnmp.so.5
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x0881a079 in ?? ()
(gdb) bt
#0  0x0881a079 in ?? ()
#1  0x401fea62 in EVP_DigestInit_ex () from /usr/lib/
libcrypto.so.0.9.7
#2  0xbfffd1a0 in ?? ()
#3  0x402112a1 in rcon () from /usr/lib/libcrypto.so.0.9.7
#4  0x000000ca in ?? ()
#5  0x00000000 in ?? ()
#6  0x4052d970 in ?? () from /usr/lib/libnetsnmp.so.5
#7  0x405ac3b4 in ?? () from /usr/lib/libnetsnmp.so.5
#8  0x00000017 in ?? ()
#9  0x4021c3bc in ?? () from /usr/lib/libcrypto.so.0.9.7
#10 0xbfffd1a0 in ?? ()
#11 0xbfffd1b0 in ?? ()
#12 0xbfffd1c8 in ?? ()
#13 0x401bcb32 in EVP_DigestInit () from /usr/lib/
libcrypto.so.0.9.7
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x401bcb00 in EVP_DigestFinal () from /usr/lib/
libcrypto.so.0.9.7
#17 0xbfffd1a0 in ?? ()
#18 0x088196c0 in ?? ()
#19 0x0871de38 in optind@@GLIBC_2.0 ()
#20 0x0000000a in ?? ()
#21 0xbfffd1b0 in ?? ()
#22 0x4000cc26 in fixup () from /lib/ld-linux.so.2
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x4085c008 in ?? ()
#26 0xbfffe218 in ?? ()
#27 0x4000c9f0 in _dl_runtime_resolve () from /lib/ld-
linux.so.2
#28 0x4057e593 in hash_engineID () from /usr/lib/
libnetsnmp.so.5
Previous frame inner to this frame (corrupt stack?)

------------------------------------------------------------------------

[2006-05-04 07:04:57] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2006-05-04 04:50:12] sebastian dot harnau at gmx dot de

Description:
------------
After compiling PHP 5.1.3 or PHP 5.2.0dev without any 
problems there is a problem with "make install" concerning 
the part of PEAR Installation.
I don't know, if this problem is caused by PHP >5.1.2 or by 
PEAR, but PEAR does not to know the newest version in the 
bug tracking tool. And of course the problem is caused by 
PHP Installation.

The configure-string:

'./configure' '--prefix=/usr/share' '--datadir=/usr/share/
php' '--bindir=/usr/bin' '--libdir=/usr/share' '--
includedir=/usr/include' '--sysconfdir=/etc' '--with-
_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/
usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--
enable-calendar' '--enable-ctype' '--enable-dbase' '--
enable-discard-path' '--enable-exif' '--enable-filepro' '--
enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-
imgstrttf' '--enable-gd-native-ttf' '--enable-inline-
optimization' '--enable-magic-quotes' '--enable-mbstr-enc-
trans' '--enable-mbstring' '--enable-mbregex' '--enable-
memory-limit' '--enable-safe-mode' '--enable-shmop' '--
enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--
enable-track-vars' '--enable-trans-sid' '--enable-
versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--
with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' 
'--with-gettext' '--with-gmp' '--with-imap-dir=/usr/local/
src/imap-2004g/c-client' '--with-jpeg-dir=/usr' '--with-
ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mhash' 
'--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' 
'--with-ndbm' '--with-png-dir=/usr' '--with-snmp' '--with-
t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-
dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-
zlib=yes' '--with-gd' '--with-openssl' '--with-curl' '--
with-imap-ssl' '--enable-xslt' '--with-xslt-sablot' '--with-
iconv' '--with-apxs2=/usr/sbin/apxs2-worker' 'i586-suse-
linux' '--enable-sockets'

phpinfo.php:
http://alster080.server4you.de/phpinfo.php

Reproduce code:
---------------
alster:/usr/local/src/php5.1-200605031830 # make install
Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la
/usr/lib/apache2-worker
/usr/share/apache2/build/libtool --mode=install cp libphp5.la
/usr/lib/apache2-worker/
cp .libs/libphp5.so /usr/lib/apache2-worker/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-worker/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php5.1-200605031830/libs'
chmod 755 /usr/lib/apache2-worker/libphp5.so
[activating module `php5' in /etc/apache2/httpd2-worker.conf]
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/share/man/man1/
Installing build environment:     /usr/share/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/share/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/share/php/
--22:14:11--  http://pear.php.net/install-pear-nozlib.phar
           => `pear/install-pear-nozlib.phar'
Resolving pear.php.net... 216.92.131.66
Connecting to pear.php.net|216.92.131.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,167,908 (3.0M) [text/plain]

100%[============================================================================>]
3,167,908    303.55K/s    ETA 00:00

22:14:22 (294.21 KB/s) - `pear/install-pear-nozlib.phar' saved
[3167908/3167908]

make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2


Actual result:
--------------
result of "make install -p --debug": http://publ-iz-ity.de/
install.log


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37301&edit=1

Reply via email to