Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41767 - pear-command segfaults
Summary: pear-command segfaults
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 02:42 UTC by Dennis Freise
Modified: 2004-03-28 21:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Freise 2004-02-16 02:42:05 UTC
When trying to perform any command via the pear commandline programm, php segfaults without any additional information. My php-version is php-4.3.4-r4. I tried re'emerging php with and without "-fstack-protector" in my CFLAGS, both with the same result. I tried revdep-rebuild, but it shows no broken binaries.

You can find a full strace at http://www.final-frontier.ath.cx/pear_strace.txt.bz2 (12421 bytes compressed)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -mcpu=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -mcpu=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/storage/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at"
MAKEOPTS="-j2"
PKGDIR="/storage/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="acl apache2 apm arts avi berkdb cdr crypt cups curl doc encode evms2 exiscan-acl foomaticdb freetds gd gdbm gif gpm gtk2 imap imlib innodb ipv6 java jpeg ldap libg++ libwww lmtp mad maildir mikmod mmx motif mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls oci8 odbc oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sasl sdl slang snmp socks5 spell ssl svga tcpd tetex tiff truetype vhosts x86 xml xml2 xmms xv zlib"
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-03-28 15:03:40 UTC
Is this still a problem?

If it is, please add '-g' to your CFLAGS in /etc/make.conf, and then re-install php-4.3.4-r4.  Then, do 'ulimit -c unlimited' to enable core dumps, and re-produce the problem.  You should get a core file, called core.<pid>, appear in the directory where you run pear from.

Please post the output from 'gdb /usr/bin/php <core file>' into this bug.

I'll close this bug shortly if there's no update - it's quite an old bug now.

Best regards,
Stu
Comment 2 Dennis Freise 2004-03-28 20:56:48 UTC
Oddly enough, I was able to resolve this problem by re-emerging bind.

Sorry, simply forgot to post an info here... :S
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-03-28 21:49:59 UTC
Closing