Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 98459

Summary: mail-client/sylpheed-claws-1.0.4a segfaults with maildir plugin 0.7
Product: Gentoo Linux Reporter: active <actisystem>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description active 2005-07-09 05:53:27 UTC
mail-client/sylpheed-claws-1.0.4a has a Segmentation Fault with maildir plugin
0.7 (mail-client/sylpheed-claws-maildir-0.7). The problem persists even after a
recompilation of plugins. The problem does not occur with classic MH folders.

Reproducible: Always
Steps to Reproduce:
1. Load maildir plugin
2. Create a maildir plugin
3. Try to get new mails

Actual Results:  
The program terminates with a segmentation fault:

mh.c:251:mh_get_num_list(): Scanning processing ...
    message/rfc822 (offset:0 length:17028 encoding: 6)
        multipart/related (offset:748 length:16280 encoding: 6)
            text/html (offset:907 length:383 encoding: 0)
            image/gif (offset:1532 length:15453 encoding: 4)
procmsg.c:1398:Setting flags for message 1 in folder processing
uiddb.c:78:DB->open: Invalid argument
Segmentation fault

Expected Results:  
Getting new emails in maildir style mailboxes.

With previously created maildirs (befor upgrading to this version),
sylpheed-claws doesn't start, segfaulting immediately.
Comment 1 active 2005-07-09 05:55:37 UTC
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 23:21:02)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
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"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -m3dnow -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -m3dnow -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://gentoo.mirrored.ca/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.du.se/pub/os/gentoo
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm avi berkdb bitmap-fonts caps crypt cups emboss
encode foomaticdb gdbm gif gpm gtk gtk2 icq imlib ipv6 java jpeg libg++ libwww
maildir mmx motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl php png ppds python qt quicktime readline samba slang spell sse ssl
tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xmms
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-07-09 08:42:08 UTC
Does this still happen with claws 1.0.5 ?
Comment 3 active 2005-07-09 12:54:27 UTC
Same results with version 1.0.5.
Comment 4 Colin Leroy 2005-07-11 00:07:01 UTC
You'd have to compile sylpheed-claws with debug CFLAGS (-g, and not
-fomit-frame-pointer) and submit a gdb backtrace. I have no idea about what
might be wrong with what you submitted.
thanks
Comment 5 active 2005-07-11 01:41:00 UTC
Ok, after some more tests I found that maybe I had something corrupted in my
.sylpheedrc, but I don't know what. Anyway I think this bug can be marked as
invalid.