Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120308 - qmailadmin 1.2.1 segmentation fault when compiled with pie+ssp
Summary: qmailadmin 1.2.1 segmentation fault when compiled with pie+ssp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 07:51 UTC by Gabe Martin-Dempesy
Modified: 2006-04-12 07:36 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 Gabe Martin-Dempesy 2006-01-25 07:51:32 UTC
qmailadmin 1.2.1 (highest version currently available in portage) has a segmentation fault when attempting to view the list of accounts for a domain after logging in.  The output from the web browser gets as far as:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRansitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
 <head>
  <title>QmailAdmin mudbugmedia.com</title>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  <meta name="robots" content="noindex,follow">

before receiving the signal 11:
Jan 25 09:44:41 rackspace grsec: signal 11 sent to /var/www/localhost/cgi-bin/qmailadmin[qmailadmin:3342] uid/euid:81/89 gid/egid:81/89, parent /usr/sbin/apache2[apache2:23166] uid/euid:81/81 gid/egid:81/81

This occurs on the hardened/amd64/multilib profile.  This error does NOT occur when the gcc selected is x86_64-pc-linux-gnu-3.4.4-hardenednopiessp, but does occur with the pie+ssp version.


Portage 2.0.54 (hardened/amd64/multilib, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-hardened-r3 x86_64)
=================================================================
System uname: 2.6.14-hardened-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
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 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 apache2 bzip2 chroot clearpasswd cli crypt curl doc expat gmp gpm hardened idn imagemagick imap ipalias jpeg justify libwww mhash mpm-prefork mysql ncurses nls nptl pam pcre perl php pic png python qmail readline ruby sendfile session sftplogging spamassassin ssl symlink tcpd threads udev userlocales utf8 vchroot vhosts xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 solar (RETIRED) gentoo-dev 2006-01-25 08:35:42 UTC
I have no way to confirm or debunk this bug as I dont have a 64bit mail server.
Comment 2 SpanKY gentoo-dev 2006-04-11 17:22:37 UTC
can you try 1.2.9 please
Comment 3 Gabe Martin-Dempesy 2006-04-12 07:36:33 UTC
The new 1.2.9 qmailadmin ebuild has fixed this problem.  Thank you for your help!