Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68242 - sylpheed-claws-0.9.12a segfaults when reading mail over IMAP
Summary: sylpheed-claws-0.9.12a segfaults when reading mail over IMAP
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 01:09 UTC by Tor Klingberg
Modified: 2004-10-20 01:51 UTC (History)
0 users

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 Tor Klingberg 2004-10-20 01:09:12 UTC
When I start sylpheed-claws-0.9.12a, it first scans my local maildir folders, wich works fine, but when it gets to my IMAP account it segfaults. The previousversion I had worked fine. I'm not very good att segfaylt tracing, but here is the end of strace output:
----------
read(253, "--i92KChfm023466.1096747963/eru."..., 4096) = 4096
read(253, ".1096748559/eru.dd.chalmers.se--"..., 4096) = 4096
read(253, "dd.chalmers.se--\n\n\n--i92KYSfm027"..., 4096) = 4096
read(253, "\n\n\n--i92Kl7fm029433.1096750027/e"..., 4096) = 4096
read(253, "100.1096750820/eru.dd.chalmers.s"..., 4096) = 4096
read(253, "ru.dd.chalmers.se--\n\n\n--i92LDSfm"..., 4096) = 4096
read(253, "e--\n\n\n--i92LR5fm007406.109675242"..., 4096) = 4096
read(253, "010252.1096753329/eru.dd.chalmer"..., 4096) = 4096
open("/home/tor/.sylpheed/imapcache/mail.dd.chalmers.se/klingber/INBOX/4606", O_RDONLY) = 254
fstat64(254, {st_mode=S_IFREG|0600, st_size=5211329, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40be4000
_llseek(254, 454656, [454656], SEEK_SET) = 0
read(254, "with ESMTP id i92Lq9fm012179\n\tfo"..., 3638) = 3638
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
----------

sylpheed-claws was compiled with -clamav +crypt -dillo +gnome +imlib +ipv6 -ldap +maildir +mbox +nls -pda +pdflib +spell +ssl

I also recompiled with CFLAGS="-g -ggdb" emerge sylpheed-claws
then ran gdb /usr/bin/sylpheed-claws, which ended in
----------
Sylpheed-WARNING **: Invalid date: %CURRENT_DATE_TIME


Sylpheed-WARNING **: Invalid date: %CURRENT_DATE_TIME

[New Thread 32769 (LWP 26510)]
[New Thread 16386 (LWP 26511)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 26504)]
0x08147737 in procheader_get_header_fields ()
----------

and typing bt outputs:
----------
#0  0x08147737 in procheader_get_header_fields ()
#1  0x0814b391 in procmime_parse_multipart ()
#2  0x0814bb2b in procmime_parse_mimepart ()
#3  0x0814b015 in procmime_parse_message_rfc822 ()
#4  0x0814bb1e in procmime_parse_mimepart ()
#5  0x0814b30b in procmime_parse_multipart ()
#6  0x0814bb2b in procmime_parse_mimepart ()
#7  0x0814b015 in procmime_parse_message_rfc822 ()
#8  0x0814bb1e in procmime_parse_mimepart ()
#9  0x0814b30b in procmime_parse_multipart ()
#10 0x0814bb2b in procmime_parse_mimepart ()
#11 0x0814b015 in procmime_parse_message_rfc822 ()
#12 0x0814bb1e in procmime_parse_mimepart ()
#13 0x0814b30b in procmime_parse_multipart ()
#14 0x0814bb2b in procmime_parse_mimepart ()
#15 0x0814b015 in procmime_parse_message_rfc822 ()
#16 0x0814bb1e in procmime_parse_mimepart ()
#17 0x0814b30b in procmime_parse_multipart ()
#18 0x0814bb2b in procmime_parse_mimepart ()
#19 0x0814b015 in procmime_parse_message_rfc822 ()
#20 0x0814bb1e in procmime_parse_mimepart ()
#21 0x0814b30b in procmime_parse_multipart ()
#22 0x0814bb2b in procmime_parse_mimepart ()
#23 0x0814b015 in procmime_parse_message_rfc822 ()
#24 0x0814bb1e in procmime_parse_mimepart ()
#25 0x0814b30b in procmime_parse_multipart ()
#26 0x0814bb2b in procmime_parse_mimepart ()
#27 0x0814b015 in procmime_parse_message_rfc822 ()
#28 0x0814bb1e in procmime_parse_mimepart ()
#29 0x0814b30b in procmime_parse_multipart ()
#30 0x0814bb2b in procmime_parse_mimepart ()
#31 0x0814b015 in procmime_parse_message_rfc822 ()
#32 0x0814bb1e in procmime_parse_mimepart ()
#33 0x0814b30b in procmime_parse_multipart ()
#34 0x0814bb2b in procmime_parse_mimepart ()
#35 0x0814b015 in procmime_parse_message_rfc822 ()
#36 0x0814bb1e in procmime_parse_mimepart ()
#37 0x0814b30b in procmime_parse_multipart ()
#38 0x0814bb2b in procmime_parse_mimepart ()
#39 0x0814b015 in procmime_parse_message_rfc822 ()
#40 0x0814bb1e in procmime_parse_mimepart ()
#41 0x0814b30b in procmime_parse_multipart ()
#42 0x0814bb2b in procmime_parse_mimepart ()
#43 0x0814b015 in procmime_parse_message_rfc822 ()
#44 0x0814bb1e in procmime_parse_mimepart ()
#45 0x0814b30b in procmime_parse_multipart ()
#46 0x0814bb2b in procmime_parse_mimepart ()
#47 0x0814b015 in procmime_parse_message_rfc822 ()
#48 0x0814bb1e in procmime_parse_mimepart ()
#49 0x0814b30b in procmime_parse_multipart ()
#50 0x0814bb2b in procmime_parse_mimepart ()
...
#940 0x0814bb1e in procmime_parse_mimepart ()
#941 0x0814b30b in procmime_parse_multipart ()
#942 0x0814bb2b in procmime_parse_mimepart ()
#943 0x0814b015 in procmime_parse_message_rfc822 ()
#944 0x0814bb1e in procmime_parse_mimepart ()
#945 0x0814b30b in procmime_parse_multipart ()
#946 0x0814bb2b in procmime_parse_mimepart ()
#947 0x0814b015 in procmime_parse_message_rfc822 ()
#948 0x0814bb1e in procmime_parse_mimepart ()
#949 0x0814b30b in procmime_parse_multipart ()
#950 0x0814bb2b in procmime_parse_mimepart ()
#951 0x0814b015 in procmime_parse_message_rfc822 ()
#952 0x0814bb1e in procmime_parse_mimepart ()
#953 0x0814b30b in procmime_parse_multipart ()
#954 0x0814bb2b in procmime_parse_mimepart ()
#955 0x0814b015 in procmime_parse_message_rfc822 ()
#956 0x0814bb1e in procmime_parse_mimepart ()
#957 0x0814b30b in procmime_parse_multipart ()
#958 0x0814bb2b in procmime_parse_mimepart ()
#959 0x0814b015 in procmime_parse_message_rfc822 ()
#960 0x0814bc77 in procmime_parse_mimepart ()
#961 0x0814bd03 in procmime_scan_file ()
#962 0x08148ed8 in procmime_scan_message ()
#963 0x080c12b2 in folder_item_close ()
#964 0x080c1878 in folder_item_scan_full ()
#965 0x080c1e4f in folder_item_scan ()
#966 0x080c9721 in folderview_check_new ()
#967 0x080e355d in inc_all_account_mail ()
#968 0x080e7fd1 in main ()
----------

After reverting to 0.9.11 everything works fine again. 
Oh, I had a warning about changed certrificate after I upgraded to 0.9.12a, but I don't know if that is related.
Anything more I can do?

Reproducible: Always
Steps to Reproduce:




# emerge info
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r8)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -msse2 -msse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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="-O2 -march=athlon-xp -msse2 -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.se http://mirror.pudas.net/gentoo/
http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo
http://gentoo.prz.rzeszow.pl http://gentoo.mirror.sdv.fr
http://gentoo.zie.pg.gda.pl http://ftp.gentoo-pt.org/pub/gentoo
http://gentoo.ynet.sk/pub http://mirror.etf.bg.ac.yu/gentoo
http://mirror.gentoo.no/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa anthy apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt
cups dvd dvdr encode esd f77 flac foomaticdb freetype gdbm gif gimpprint gnome
gpm gtk gtk2 gtkhtml guile imap imlib ipv6 java jpeg libg++ libwww mad maildir
matroska mbox mikmod mmx motif mozilla mp3 mpeg ncurses network nls oggvorbis
opengl oss pam pdflib perl png ppds python quicktime readline sdl slang spell
sse sse2 ssl svga tcltk tcpd tetex tex tiff truetype unicode usb x86 xml2 xmms
xprint xv xvid zlib"
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-10-20 01:19:40 UTC
Have you tried sylpheed-claws-0.9.12b to see if it's fixed there yet?
Comment 2 Tor Klingberg 2004-10-20 01:51:28 UTC
Seems so. Sorry, for missing that in the first place.

Now instead, it complains about:
Spell checker could not be started. No word lists can be found for the language "(n".
when I try to write a new mail.

Might have something to do with my LANG env variable having no value.