Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154195 - dev-php5/pecl-zip-1.0 and dev-php5/pecl-zip-1.7.5 causes php to segfault
Summary: dev-php5/pecl-zip-1.0 and dev-php5/pecl-zip-1.7.5 causes php to segfault
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 16:51 UTC by Ian Monroe
Modified: 2007-03-03 12:14 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 Ian Monroe 2006-11-05 16:51:05 UTC
After emerging pecl-zip-1.0, CLI php segfaults immediately. Removing /etc/php/cli-php5/ext-active/zip.ini causes php to work again.

I tried the ~amd64 version of pecl-zip and had the same effect.

Backtrace:
(gdb) bt
#0  0xfffffffff6a40400 in ?? ()
#1  0x00000000005aba08 in php_dl ()
#2  0x000000000061f8f6 in php_load_function_extension_cb ()
#3  0x00000000006538dc in zend_llist_apply ()
#4  0x000000000061f8c8 in php_ini_register_extensions ()
#5  0x000000000061a4dd in php_module_startup ()
#6  0x00000000006e553d in main ()

My emerge --info:
Portage 2.1.1-r1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-ck1 x86_64)
=================================================================
System uname: 2.6.18-ck1 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.14
Last Sync: Tue, 31 Oct 2006 02:00:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LINGUAS="en es"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X a52 aac acl aiglx alsa apache2 asf avahi avi bash-completion berkdb bitmap-fonts cdparanoia cdr cli cracklib crypt cups daap dga dlloader dri dvd dvdr dvdread elibc_glibc emboss encode faad ffmpeg flac foomaticdb fortran freetype ggi gif gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_keyboard input_devices_mouse iodbc ipv6 isdnlog java jikes jpeg jpeg2k kde kdrive kernel_linux kipi linguas_en linguas_es live lm_sensors lua lzw lzw-tiff mad matroska mcal mmx2 modplug mozilla mozsvg mp3 mp4 mpeg mysql ncurses network nls nptl nptlonly nsplugin nvidia nvidida oav odbc offensive ogg oggvorbis openexr opengl pam pcre pdf perl php png pnp pppd pulseaudio python qt qt3 qt4 quicktime readline reflection rtc rtsp ruby samba sdl session socks5 speex spell spl sql ssl stream subversion svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU vcd video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_vmware vorbis wifi wmf x264 xinerama xml xorg xpm xprint xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2006-11-06 11:40:20 UTC
Do you by any chance have the "concurrentmodphp" USE flag enabled?
I'm constantly seeing problems with it on AMD64 (if you try to load a module it segfaults)...
Best regards, CHTEKK.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-03 12:14:51 UTC
Get back to us...