Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137228 - pecl-apc 3.0.10 segfaults Apache2 2.0.55
Summary: pecl-apc 3.0.10 segfaults Apache2 2.0.55
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-18 22:47 UTC by Victor Trac
Modified: 2006-08-17 00:11 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 Victor Trac 2006-06-18 22:47:07 UTC
I unmasked and installed apc and it seemed to work well for a while.  Hours later, I see that Apache is segfaulting all over the place and won't serve any pages.  Looking at my apache error_log, I see these entries about an hour and a half after I installed apc and restarted apache:
[Sun Jun 18 21:44:44 2006] [apc-error] apc_sma_free: could not locate address 0x555556340ac0
[Sun Jun 18 21:45:19 2006] [apc-error] apc_sma_free: could not locate address 0x55555616bc80
[Sun Jun 18 21:53:18 2006] [apc-error] apc_sma_free: could not locate address 0x55555632c4b0

Then some of these:
[Sun Jun 18 21:09:47 2006] [apc-warning] GC cache entry '/home/user/public_html/global.php' (dev=771 ino=12286
37) was on gc-list for 3621 seconds
[Sun Jun 18 21:09:47 2006] [apc-warning] GC cache entry '/home/user/public_html/includes/config.php' (dev=771
ino=602598) was on gc-list for 3621 seconds

Then finally nothing but these:
[Sun Jun 18 22:11:41 2006] [notice] child pid 2039 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:42 2006] [notice] child pid 2442 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:44 2006] [notice] child pid 563 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:44 2006] [notice] child pid 2443 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:41 2006] [notice] child pid 2039 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:42 2006] [notice] child pid 2442 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:44 2006] [notice] child pid 563 exit signal Segmentation fault (11)
[Sun Jun 18 22:11:44 2006] [notice] child pid 2443 exit signal Segmentation fault (11)

emerge --info:
Portage 2.1.1_pre1 (default-linux/amd64/2005.0, gcc-hardened, glibc-2.3.5-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
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=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 avi berkdb cli crypt dri eds emboss encode foomaticdb fortran gd gif gstreamer hardened imap imlib isdnlog jpeg libwww lzw lzw-tiff maildir mysql ncurses nptl nptlonly pam-mysql pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd tiff usb xml xorg zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-08-14 10:04:25 UTC
UPSTREAM CVS has about six months worth of bugfixing however no intentions to release a new version anytime soon ("There is always one more bug to fix.").

I propose to make a revision bump to the apc-3.0.10 ebuild(s) that patches 3.0.10 up to the current CVS version.

Thoughts?
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2006-08-17 00:11:43 UTC
APC 3.0.11, which contains about six months worth of bugfixes, is in the tree now.

Please try with this new version and open a new issue if the problem persists.

Thank you!