Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355705 - net-mail/cyrus-imapd-2.3.14-r3: lmtpd segmentation fault
Summary: net-mail/cyrus-imapd-2.3.14-r3: lmtpd segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 15:47 UTC by Johannes Geiss
Modified: 2011-06-21 06:33 UTC (History)
1 user (show)

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


Attachments
STrace of lmtpd (lmtpd.log,52.09 KB, text/plain)
2011-02-20 15:48 UTC, Johannes Geiss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Geiss 2011-02-20 15:47:21 UTC
The process lmtpd crashes due to a segmentation fault.

Reproducible: Always

Steps to Reproduce:
cat >/tmp/mail.txt <<EOF
From: Johannes Geiss <jgeiss@pegasos.dnsalias.org>
To: johannes.geiss@t-online.de
Subject: Test
Date: Sun, 20 Feb 2011 08:31:53 +0100

Hello
EOF
cat /tmp/mail.txt | ./deliver -a jgeiss -r root@localhost -m INBOX -q jgeiss
Actual Results:  
Syslog extract:

Feb 20 16:35:25 polaris master[8844]: about to exec /usr/lib/cyrus/lmtpd
Feb 20 16:35:26 polaris lmtpunix[8846]: executed
Feb 20 16:35:26 polaris lmtpunix[8846]: auxpropfunc error invalid parameter supplied
Feb 20 16:35:26 polaris lmtpunix[8846]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
Feb 20 16:35:26 polaris lmtpunix[8846]: sql auxprop plugin using mysql engine
Feb 20 16:35:26 polaris master[8812]: service lmtpunix pid 8846: while trying to process message 0x2: not registered yet
Feb 20 16:35:26 polaris master[8812]: service lmtpunix pid 8846 in UNKNOWN state: processing message 0x2
Feb 20 16:35:26 polaris master[8812]: service lmtpunix pid 8846 in UNKNOWN state: now unavailable and in BUSY state
Feb 20 16:35:26 polaris lmtpunix[8846]: accepted connection
Feb 20 16:35:26 polaris lmtpunix[8846]: lmtp connection preauth'd as postman
Feb 20 16:35:26 polaris master[8812]: process 8844 exited, signaled to death by 11
Feb 20 16:35:26 polaris master[8812]: service lmtpunix pid 8844 in READY state: terminated abnormally

Expected Results:  
No segmentation fault ;-)

Portage 2.1.9.25 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.32-gentoo-r20-polaris ppc)
=================================================================
System uname: Linux-2.6.32-gentoo-r20-polaris-ppc-7447-7457,_altivec_supported-with-gentoo-1.12.14
Timestamp of tree: Mon, 14 Feb 2011 04:45:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 3.4.6-r2, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --nospinner --quiet-build --usepkg --binpkg-respect-use=y"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ [^] ftp://de-mirror.org/distro/gentoo/ [^] "
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" [^]
USE="X Xaw3d a52 aac acl alsa altivec bluetooth branding bzip2 cairo cdr cgi cjk cli consolekit cracklib crypt css cups cxx dbus device-mapper dri dts dvd dvdr dvi emboss encode esd exif extensions extras fam fastcgi fat ffmpeg firefox flac fontconfig fortran fuse gd gdbm gdu gif gnutls gpm gtk hfs iconv icu id3tag imagemagick ipv6 jfs joystick jpeg kpathsea lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mule musicbrainz mysql ncurses nls nptl nptlonly nsplugin ntfs objc ogg opengl openmp pam pango pcre pdf perl png policykit ppc ppds pppd python qt3support qt4 readline reflection reiserfs sasl sdl server session spell spl sqlite srt ssl startup-notification stream svg sysfs tagwriting tcpd theora tiff timidity truetype twolame udev unicode usb vamp videos vorbis xcb xfce xfs xml xorg xulrunner xv xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Johannes Geiss 2011-02-20 15:47:37 UTC
Environment:

SHELL=/bin/bash
TERM=screen
DEFAULTLEVEL=default
CYRUS_ID=0
RC_RUNLEVEL=default
USER=root
CYRUS_SERVICE=lmtpunix
RC_BOOTLEVEL=boot
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/powerpc-unknown-linux-gnu/gcc-bin/4.4.4:/usr/lib/subversion/bin:/usr/GNUstep/System/Tools:/usr/GNUstep/Local/Tools
PWD=/
LANG=en_US.UTF8
BOOTLEVEL=boot
CONSOLETYPE=pty
SVCNAME=cyrus
HOME=/root
SHLVL=2
RC_DEFAULTLEVEL=default
SOFTLEVEL=default
_=/bin/env
Comment 2 Johannes Geiss 2011-02-20 15:48:55 UTC
Created attachment 263173 [details]
STrace of lmtpd
Comment 3 Johannes Geiss 2011-05-29 06:24:03 UTC
Bug seems to be fixed in version 2.4.8. So for me this issue is resolved. Should I set this bug to "resolved"? Or have anyone else to do this? (I don't know the exact workflow :-)
Comment 4 Eray Aslan gentoo-dev 2011-06-21 06:33:24 UTC
Fixed in 2.4.8