Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147884 - mod_suphp glibc detection error
Summary: mod_suphp glibc detection error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 23:30 UTC by Dave Strydom
Modified: 2007-02-01 21:06 UTC (History)
1 user (show)

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 Dave Strydom 2006-09-16 23:30:08 UTC
------------------------
Portage 2.1-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11 i686)
=================================================================
System uname: 2.6.16-hardened-r11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i386 -pipe -fforce-addr"
DISTDIR="/home/distfiles/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distfiles:distfiles@196.41.186.226 http://gentoo.osuosl.org ftp://ftp.is.co.za/linux/distributions/gentoo  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ "
PKGDIR="/usr/portage//packages/x86/"
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://rsync9.us.gentoo.org/gentoo-portage"
USE="apache2 apm berkdb bzip2 calendar clearpasswd crypt curl dbm dlloader ethereal exif exim expat extensions ftp gd gif hardened iconv imagemagick imap java jpeg latin1 maildir mime mmx mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly pam pdflib perl php pic png python readline snmp soap sockets sse ssl tcpd tiff truetype usb userlocales vhosts x86 xml xml2 xorg zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
-------------------------------

mod_suphp installs fine, but I keep getting this error when trying to run it:

===========================
Garfield mod_suphp # suphp
suPHP version 0.6.1
(c) 2002-2005 Sebastian Marsching

suPHP has to be called by mod_suphp to work.
*** glibc detected *** double free or corruption (fasttop): 0x8003cf58 ***
Aborted
Garfield mod_suphp #
===========================

I have it working on another gentoo server, and the only difference I can see is that the problem server is using gcc-3.4.6 and the working server is using gcc-3.3.6, glibc is the same on both pc's.

Dave
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 00:57:06 UTC
Don't restrict bugs without any reason. Just leave the checkboxes alone.

If you upgraded gcc, you should follow the upgrading guide:

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 2 Dave Strydom 2006-09-17 01:47:47 UTC
No this isn't from upgrading gcc, 
I get the same problem from a fresh installation.

What i have found is that if I do a quickpkg mod_suphp from a server where its working and emerge -k mod_suphp on the problem server, then it works fine. The problem comes in when mod_suphp is compiled with gcc-3.4.6.

Comment 3 Christian Otto 2006-11-05 08:02:16 UTC
I found a patch for this problem:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192415
It works for me. Hope that someone will include it to the ebuild.
Greetings, 
Christian
Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2007-02-01 21:06:15 UTC
This should have been fixed with mod_suphp-0.6.2.
Best regards, CHTEKK.