[Mutt] #2900: mutt-1.5.15: Crashes on a mail message in a very wide xterm
#2900: mutt-1.5.15: Crashes on a mail message in a very wide xterm
{{{
Package: mutt
Version: mutt-1.5.15
Severity: important
-- Please type your report below this line
I recompiled Mutt again to avoid problems caused by the patches added
within the RPM. I reproduced the bug using the command:
./mutt -n -F ~/.muttrc2 -f ~/Mail/crash2
the ~/.muttrc2 is attached. ~/Mail/crash2 is a Maildir with one message in
it. I'll try to attach that message after the bugreport has been created..
Note that the crash only occurs if I make the xterm as wide as my screen
allows (237 columns). Some email messages crash on a smaller xterm though.
-- System Information
System Version: Linux bkor.dhs.org 2.6.21.1-tmb-desktop-1mdvsmp #1 SMP Sun
May 6 08:58:41 EDT 2007 i686 AMD Athlon(tm) MP 1600+ GNU/Linux
RedHat Release: Mandriva Linux release 2008.0 (Cooker) for i586
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
gcc
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-
slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-
checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib
--enable-threads=posix --enable-shared --enable-long-long --enable-
__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-
java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-
libssp
Thread model: posix
gcc version 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)
- CFLAGS
-Wall -pedantic -ggdb
-- Mutt Version Information
Mutt 1.5.15 (2007-04-06)
Copyright (C) 1996-2007 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.6.21.1-tmb-desktop-1mdvsmp (i686)
ncurses: ncurses 5.5.20051029 (compiled with 5.5)
libidn: 0.6.9 (compiled with 0.6.9)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK -USE_INODESORT
-USE_POP -USE_IMAP -USE_SMTP -USE_GSS -USE_SSL_OPENSSL
-USE_SSL_GNUTLS -USE_SASL -HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID -USE_HCACHE
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.
-- Core Dump Analysis Output
GNU gdb 6.6-1mdv2007.1 (Mandriva Linux release 2007.1)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-mandriva-linux-gnu"...
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Reading symbols from /usr/lib/libncursesw.so.5...done.
Loaded symbols for /usr/lib/libncursesw.so.5
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /lib/i686/libc.so.6...Reading symbols from
/usr/lib/debug/lib/i686/libc-2.4.so.debug...done.
done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libdl.so.2...Reading symbols from
/usr/lib/debug/lib/libdl-2.4.so.debug...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from
/usr/lib/debug/lib/libnss_compat-2.4.so.debug...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from
/usr/lib/debug/lib/libnsl-2.4.so.debug...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from
/usr/lib/debug/lib/libnss_nis-2.4.so.debug...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...Reading symbols from
/usr/lib/debug/lib/libnss_files-2.4.so.debug...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `
X1æ·8 8 àæ· <1æ·¡ì·À
æ· d,6î·Ù·'.
Program terminated with signal 11, Segmentation fault.
#0 0x080c4c77 in mutt_FormatString (dest=0xbfaba3fc " 1 [22 May
09:13] ඩනà·\222à·\202à·\212à¶\232 නà·\200à·\222නà·\212 via RT
[gnome.org #2806] gnome SVN access from new account", ' ' <repeats 79
times>...,
destlen=255, src=0x820efaf "%?c?(%4c)?", callback=0x807cb7a
<hdr_format_str>, data=3215696736, flags=100) at muttlib.c:1219
1219 memcpy (wptr, buf, len);
#0 0x080c4c77 in mutt_FormatString (dest=0xbfaba3fc " 1 [22 May
09:13] ඩනà·\222à·\202à·\212à¶\232 නà·\200à·\222නà·\212 via RT
[gnome.org #2806] gnome SVN access from new account", ' ' <repeats 79
times>...,
destlen=255, src=0x820efaf "%?c?(%4c)?", callback=0x807cb7a
<hdr_format_str>, data=3215696736, flags=100) at muttlib.c:1219
#1 0x0807e5a6 in _mutt_make_string (dest=0xbfaba3fc " 1 [22 May
09:13] ඩනà·\222à·\202à·\212à¶\232 නà·\200à·\222නà·\212 via RT
[gnome.org #2806] gnome SVN access from new account", ' ' <repeats 79
times>...,
destlen=256, s=0x820ef78 "%4C %Z [%[%_d %b %H:%M]] %-15.15F %?M?+%-2M&
? %s %> %?c?(%4c)?", ctx=0x82110c8, hdr=0x8210ad8, flags=100) at
hdrline.c:735
#2 0x08063314 in index_make_entry (s=0xbfaba3fc " 1 [22 May 09:13]
ඩනà·\222à·\202à·\212à¶\232 නà·\200à·\222නà·\212 via RT
[gnome.org #2806] gnome SVN access from new account", ' ' <repeats 79
times>..., l=256,
menu=0x8212678, num=0) at curs_main.c:174
#3 0x0808783b in menu_make_entry (s=0xbfaba3fc " 1 [22 May 09:13]
ඩනà·\222à·\202à·\212à¶\232 නà·\200à·\222නà·\212 via RT
[gnome.org #2806] gnome SVN access from new account", ' ' <repeats 79
times>..., l=256,
menu=0x8212678, i=0) at menu.c:154
#4 0x08087b13 in menu_redraw_index (menu=0x656d6f6e) at menu.c:216
#5 0x67205d36 in ?? ()
#6 0x656d6f6e in ?? ()
#7 0x4e565320 in ?? ()
#8 0x63636120 in ?? ()
#9 0x20737365 in ?? ()
#10 0x6d6f7266 in ?? ()
#11 0x77656e20 in ?? ()
#12 0x63636120 in ?? ()
#13 0x746e756f in ?? ()
#14 0xe52d0a00 in ?? ()
#15 0xffffffb7 in ?? ()
#16 0xe61ff4ff in ?? ()
#17 0xe63120b7 in ?? ()
#18 0x000001b7 in ?? ()
#19 0xe6314400 in ?? ()
#20 0xaba520b7 in ?? ()
#21 0x2115ecbf in ?? ()
#22 0xe6315808 in ?? ()
#23 0xe61ff4b7 in ?? ()
#24 0xf0c534b7 in ?? ()
#25 0x2115b0b7 in ?? ()
#26 0xab9f7008 in ?? ()
#27 0xd55893bf in ?? ()
#28 0x000000b7 in ?? ()
#29 0xffffff00 in ?? ()
#30 0x000001ff in ?? ()
#31 0x0f221200 in ?? ()
#32 0x0f221008 in ?? ()
#33 0xaba3dc08 in ?? ()
#34 0x000000bf in ?? ()
#35 0x00000000 in ?? ()
1214 wlen += count;
1215 col += count;
1216 }
1217 if (len + wlen > destlen)
1218 len = destlen - wlen;
1219 memcpy (wptr, buf, len);
1220 wptr += len;
1221 wlen += len;
1222 col += mutt_strwidth (buf);
1223 }
--- Begin /home/olav/.muttrc2
# The rest of the configuration items weren't needed to make Mutt crash
set index_format="%4C %Z [%[%_d %b %H:%M]] %-15.15F %?M?+%-2M& ? %s %>
%?c?(%4c)?"
--- End /home/olav/.muttrc2
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2900>