Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113263 - maildrop with mysql crashing on signal 0x06
Summary: maildrop with mysql crashing on signal 0x06
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 10:12 UTC by Steven Klass
Modified: 2005-11-26 04:04 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 Steven Klass 2005-11-22 10:12:22 UTC
Unable to run maildrop causes a signal 0x06 to be generated upon any invocation of maildrop. Typical 
symptons include using in postfix or straight maildrop ( maildrop -V 10 -d user@host < "test.msg" ) 
will cause it to bomb with a 0x06 signal.  Several threads on the net ( see below ) indicate that this is 
due to the CXXFLAG -fomit-fram-pointer being set.  After removing this flag ( see CFLAGS/CXXFLAGS 
below ) the problem ceased to exist.   I am requesting that -fomit-frame-pointer flag be stripped if 
used in make.conf

This bug is notification only.

Error as reported in postfix
=================
Nov 22 10:15:11 host postfix/pipe[15485]: 51409141CB57A: to=<user@host>, relay=maildrop, 
delay=52719, status=deferred (temporary failure. Command output: maildrop: signal 0x06 )

Error as reported by maildrop -d user@host
===========================
maildrop: signal 0x06


USE Flags:
USE="x86 X acpi aalib aim alsa apache2 apm avi audiofile bcmath berkdb bzlib cdb
cdr crypt cscope ctype cups curl curlwrappers dbm directfb divx4linux doc dvd
dvdr encode ethereal fbcon ftp gdbm dif gpm gtk2 iconv imagemagick imlib imap
jabber java jpeg sasl libwww maildir mpeg mng mysql mysqli ncurses oggvorbis pcre pdflib perl php pn
g python qt quicktime readline samba slp spell sse ssl svga tcltk tetex tidy tiff truetype unicode u
sb video xine xml xml2 xmms xosd xpm xv xvid zlib"

Non Working CFLAGS
==============
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector"
CXXFLAGS="${CFLAGS} -finline-functions"

Working CFLAGS
===========
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fstack-protector"
CXXFLAGS="${CFLAGS} -finline-functions"

Threads indicating problem
http://groups.google.com/group/mailing.unix.courier-imap/browse_thread/thread/
e7df9de409d06b8b/b8a07cf86037b106?lnk=st&q=maildrop+signal
+0x06&rnum=2#b8a07cf86037b106

Reproducible: Always
Steps to Reproduce:
1. Use USE flags
2. Use Non-working CFLAGS
3. Compile and run maildrop -d user@host ( must exist )

Actual Results:  
maildrop: signal 0x06

Expected Results:  
$? == 0 :)

emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686)
===============================================================
==
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fstack-protector -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acl acpi aim alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bzip2 bzlib 
cdb cdr crypt cscope ctype cups curl curlwrappers dbm dif directfb divx4linux doc dvd dvdr eds 
emboss encode esd ethereal expat fam fbcon foomaticdb fortran ftp gd gdbm gif glut gmp gnome gpm 
gstreamer gtk gtk2 howl iconv idn imagemagick imap imlib ipv6 jabber java jpeg kde lcms libg++ 
libwww mad maildir mhash mikmod mng motif mp3 mpeg mysql mysqli ncurses nls ogg oggvorbis 
opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sasl sdl slang slp spell 
sse ssl svga tcltk tcpd tetex tidy tiff truetype truetype-fonts type1-fonts unicode usb video vorbis x86 
xine xml xml2 xmms xosd xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Steven Klass 2005-11-22 10:13:50 UTC
Hey one question - how do I set the CFLAGS or USE flags for a particular package?

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-22 10:26:52 UTC
(In reply to comment #1)
> Hey one question - how do I set the CFLAGS or USE flags for a particular package?

USE flags - /etc/portage/package.use
CFLAGS - you don't ;p (see Bug 44796)

Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2005-11-26 04:04:06 UTC
I fixed this in maildrop-2.0.1-r1 which should touch the mirrors in a couple of
hours. Thanks a lot for providing that amount of information in your bug report.

Cheers,
Ferdy