<<< Date Index >>>     <<< Thread Index >>>

imap/2401: segfault with imaps



>Number:         2401
>Notify-List:    
>Category:       imap
>Synopsis:       segfault with imaps
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 02 16:21:17 +0200 2006
>Originator:     Alexandre Buisse
>Release:        1.5.11
>Organization:
huh?
>Environment:
gentoo linux, mutt-1.5.11-r2
USE="berkdb cjk crypt gdbm imap mbox nls nntp sasl ssl -buffysize -debug* 
-gnutls -gpgme -idn -pop -smime -vanilla"

emerge --info:

Portage 2.1.1_pre4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 
2.6.18-rc2-mm1-ubik i686)
=================================================================
System uname: 2.6.18-rc2-mm1-ubik i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.1
ccache version 2.3 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config 
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config 
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler 
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo 
/etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect cvs distlocks metadata-transfer 
parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo          http://mirror.gentoo.no 
http://gentoo.mirror.sdv.fr             
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.oregonstate.edu      
        http://www.ibiblio.org/pub/Linux/distributions/gentoo";
LINGUAS="sv_SE fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/heimdall/gentoo/gentoo-x86 
/usr/haskell/gentoo-haskell/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 asf audiofile avi bash-completion berkdb 
bitmap-fonts bzip2 cjk cli crypt cups dlloader dri dvd dvdr dvdread emboss 
encode esd exif fbcon ffmpeg flac font-server foomaticdb fortran gdbm gif 
gimpprint glitz glut gpm graphviz gstreamer gtk gtk2 icecast imap imlib isdnlog 
jpeg lcms libcaca libg++ libwww mad mbox mikmod mmx motif mozsvg mp3 mpeg 
musepack musicbrainz ncurses networkcanna nls nntp nptl nptlonly objc offensive 
ogg opengl pam pcre pdflib perl png postgres pppd python qt3 qt4 quicktime 
radeon readline real reflection sasl sdl session softmmu spl sse sse2 ssl svg 
tcpd tiff truetype truetype-fonts type1-fonts udev unicode userlocales v4l 
vidix vorbis win32codecs wma xml xmms xorg xv xvid zlib elibc_glibc 
input_devices_keyboard input_devices_mouse kernel_linux linguas_sv_SE 
linguas_fr userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

>Description:
Whenever I try to access the imap server of my school using 
imap://imaps.ens-lyon.fr, I obtain a segfault just at the end of the 
"evaluating cache" phase. If I just say imap://imap.ens-lyon.fr. It used to 
work with 1.5.8.

When compiling with debug support, here is the backtrace:
(gdb) bt
#0  0x080d5d11 in imap_cmd_step ()
#1  0xb7eab580 in CAST_S_table7 () from /usr/lib/libcrypto.so.0.9.7
>How-To-Repeat:
>Fix:
>Add-To-Audit-Trail:

>Unformatted: