Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83440 - -fomit-frame-pointer breaks maildrop from mail-mta/courier (signal 0x06)
Summary: -fomit-frame-pointer breaks maildrop from mail-mta/courier (signal 0x06)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Net-Mail Packages
URL: http://groups-beta.google.com/group/m...
Whiteboard:
Keywords:
: 97459 116038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-27 00:13 UTC by Chris Gorgolewski
Modified: 2006-07-23 08:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (debug,20.60 KB, text/plain)
2005-03-04 05:32 UTC, Chris Gorgolewski
Details
testcase config (.mailfilter-kgorgolewski,297 bytes, text/plain)
2005-03-04 05:33 UTC, Chris Gorgolewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gorgolewski 2005-02-27 00:13:50 UTC
When compiled with -fomit-frame-pointer flag maildrop from mail-mta/courier-0.48.1 often returns signal 0x06 and generally can be considered as broken. This flag should be filtered out in ebuild. 

I haven't test it but probably affects also standalone maildrop ebuild.
Comment 1 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-02 04:47:02 UTC
> I haven't test it but probably affects also standalone maildrop ebuild.

It doesn't. It's working fine for me.

Could you please give us a strace of it failing to see where does it fail ?

Cheers,
Ferdy
Comment 3 Chris Gorgolewski 2005-03-04 05:32:27 UTC
Created attachment 52643 [details]
strace output

result of this command:
cat Maildir-filokg2/cur/1059581410.M981209P2101Q2.phoenix\:2\,S |strace
maildrop /home/filo/.mailfilter-kgorgolewski 2> debug
Comment 4 Chris Gorgolewski 2005-03-04 05:33:46 UTC
Created attachment 52644 [details]
testcase config

used with the strace test
Comment 5 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-04 06:10:57 UTC
I can't reproduce it... its working fine here. What version of maildrop are you using ? What's your emerge info ?

Cheers,
Ferdy
Comment 6 Chris Gorgolewski 2005-03-05 13:54:13 UTC
I'm using maildrop 1.8.0 from mail-mta/courier-0.48.1.
Compiled with sys-devel/gcc-3.3.5-r1 against sys-devel/gcc-config-1.3.8-r4

CFLAGS="-O2 -fomit-frame-pointer -mcpu=i586 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-X -gtk -gnome -kde -qt -gpm unicode hardened -python -perl -ipv6 -gtk2 evms2"
FEATURES="sandbox distlocks ccache autoaddcvs buildpkg"
Comment 7 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-08 05:02:48 UTC
Do you get the same behavior with mail-filter/maildrop ? I just can't reproduce this one.

Cheers,
Ferdy
Comment 8 Chris Gorgolewski 2005-03-08 12:16:16 UTC
As I wrote in the beginning I haven't tested mail-filter/maildrop.
Comment 9 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-15 11:15:05 UTC
Ok, I don't use/maintain courier but i do with maildrop and I can say this doesn't affect mail-filter/maildrop.

Cheers,
Ferdy
Comment 10 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-20 11:22:38 UTC
Can you post your emerge info ? Maybe there is another crazy flag making it crash.

Cheers,
Ferdy
Comment 11 Fernando J. Pereda (RETIRED) gentoo-dev 2005-04-10 13:17:13 UTC
Reopen if you provide the info.

Cheers,
Ferdy
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-06-30 01:56:56 UTC
*** Bug 97459 has been marked as a duplicate of this bug. ***
Comment 13 Chris Elledge 2005-10-10 23:09:46 UTC
I encountered this bug with mail-filter/maildrop 1.8.0-r3

I successfully fixed it by placing "filter-flags -fomit-frame-pointer" inside src_compile before the econf 
occurs.

According to the Changelog, this problem was known and corrected in the ebuild of version 1.5.1 on 
December 2002.

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r9 i686)
===============================================================
==
System uname: 2.6.12-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
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.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-Os -mcpu=pentium3 -fomit-frame-pointer -pipe"
MAKEOPTS="-j3"
USE="x86 apache2 berkdb crypt curl encode fam foomaticdb fortran gdbm gif gpm imagemagick imap 
imlib ipv6 java jpeg libg++ libwww mad math mikmod motif mp3 mpeg mysql ncurses nls ogg 
oggvorbis oss pam pdflib perl png python qmail qt quicktime readline sdl spamassassin spell ssl tcpd 
tetex tiff truetype truetype-fonts type1-fonts unicode vhosts vorbis xml2 zlib userland_GNU 
kernel_linux elibc_glibc"
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-12-19 10:55:38 UTC
*** Bug 116038 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-12-19 10:56:45 UTC
Reopen, please filter the flag in stable version or mark a later version stable (fixed in >=0.48.2.20050224)...
Comment 16 Brian Jackson (RETIRED) gentoo-dev 2006-02-23 07:48:47 UTC
0.52.2 is the next thing going stable. I have no interest in looking at the older versions. When it goes stable, I'll revisit this bug.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 08:44:40 UTC
0.53.2 stable now wrt security Bug #135005. 

Closing FIXED.