#3504: mutt-1.5.21: Segfault on entering pop mailbox
-------------------------------+--------------------------------------------
Reporter: sven.utcke@… | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Keywords: |
-------------------------------+--------------------------------------------
{{{
Package: mutt
Version: 1.5.21
Severity: important
-- Please type your report below this line
Hi,
no sendmail on my system, so here's the flea-report submitted by
hand. Subject really says it all: trying to open
pop://pop.t-online.de/ crashes 1.5.21 (1.5.20 works just fine).
-- 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: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-
languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-
dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu
--enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
- CFLAGS
-Wall -pedantic -Wno-long-long -g -O2
-- Mutt Version Information
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 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.24-28-generic (x86_64)
ncurses: ncurses 5.6.20071124 (compiled with 5.6)
libidn: 1.1 (compiled with 1.1)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Jun 15 2006
21:27:32)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL
-USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP
+USE_SSL_OPENSSL -USE_SSL_GNUTLS +USE_SASL +USE_GSS +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="/software/mutt-1.5.21/share/mutt"
SYSCONFDIR="/software/mutt-1.5.21/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.
-- Core Dump Analysis Output
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/libsasl2.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgdbm.so.3...done.
Loaded symbols for /usr/lib/libgdbm.so.3
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/libnss_mdns4_minimal.so.2...done.
Loaded symbols for /lib/libnss_mdns4_minimal.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libdigestmd5.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libdigestmd5.so.2
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libotp.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libotp.so.2
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libanonymous.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libanonymous.so.2
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libplain.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libplain.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libsasldb.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libsasldb.so.2
Reading symbols from /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libcrammd5.so.2...done.
Loaded symbols for /software/cyrus-
sasl-2.1.23/Ubuntu-8.04-x86_64/lib/sasl2/libcrammd5.so.2
Core was generated by `mutt -f pop://pop.t-online.de/'.
Program terminated with signal 11, Segmentation fault.
[New process 19332]
#0 0x00007f3e59dc7424 in strncpy () from /lib/libc.so.6
#0 0x00007f3e59dc7424 in strncpy () from /lib/libc.so.6
#1 0x000000000046c86f in mutt_encode_path (dest=0x7fffb3a5dcf0 "",
dlen=256,
src=0x0) at /software/mutt-1.5.21/src/muttlib.c:1963
#2 0x00000000004836bc in mutt_bcache_open (account=<value optimized out>,
mailbox=0x4a1fd7 "") at /software/mutt-1.5.21/src/bcache.c:66
#3 0x000000000048010f in pop_open_mailbox (ctx=0xae8190)
at /software/mutt-1.5.21/src/pop.c:426
#4 0x0000000000442792 in mx_open_mailbox (
path=0x7fffb3a5ef60 "pop://pop.t-online.de/", flags=0,
pctx=0x7fffb3a5dcf0)
at /software/mutt-1.5.21/src/mx.c:667
#5 0x0000000000437ff0 in main (argc=3, argv=0x7fffb3a5f188)
at /software/mutt-1.5.21/src/main.c:1017
518 }
519
520 #define M_IGNORE (1<<0) /* -z */
521 #define M_BUFFY (1<<1) /* -Z */
522 #define M_NOSYSRC (1<<2) /* -n */
523 #define M_RO (1<<3) /* -R */
524 #define M_SELECT (1<<4) /* -y */
525
526 int main (int argc, char **argv)
527 {
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3504>
Mutt <http://www.mutt.org/>
The Mutt mail user agent