#3942: mutt with hanging on large Exchange "Deleted Messages" folder
----------------------+---------------------
 Reporter:  wyardley  |      Owner:  brendan
     Type:  defect    |     Status:  new
 Priority:  major     |  Milestone:
Component:  IMAP      |    Version:  1.8.2
 Keywords:            |
----------------------+---------------------
 I'm having an issue again with Mutt (1.8.2) hanging on my Deleted Items
 (i.e., trash) folder. Usually, it will open, up to a certain size, and
 then I start having problems opening it -- not sure if it's a specific
 type of message (or a malformed) that causes an issue or what, but it
 would be nice to be able to abort the operation, and would also be nice to
 have it handle the condition more gracefully. I had hoped that some of the
 bugfixes in recent versions would have resolved this issue, but apparently
 not. It seems to finish fetching, so maybe there's an off-by-one type
 issue?


 {{{
 % mutt -v
 Mutt 1.8.2 (2017-04-18)
 Copyright (C) 1996-2016 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: Darwin 16.5.0 (x86_64)
 ncurses: ncurses 5.7.20081102 (compiled with 5.7)
 libiconv: 1.11
 hcache backend: lmdb LMDB 0.9.19: (December 28, 2016)

 Compiler:
 Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-
 gxx-include-dir=/usr/include/c++/4.2.1
 Apple LLVM version 8.1.0 (clang-802.0.42)
 Target: x86_64-apple-darwin16.5.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin

 Configure options: '--enable-hcache' '--enable-imap' '--with-
 ssl=/usr/local/opt/openssl/' '--enable-smtp' '--with-sasl=/usr/local'
 '--with-included-gettext' '--with-lmdb=/usr/local' '--enable-debug'

 Compilation CFLAGS: -Wall -pedantic -Wno-long-long -g -O2

 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
 -USE_SIDEBAR  -USE_COMPRESSED
 -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@mutt.org>.
 To report a bug, please visit http://bugs.mutt.org/.
 }}}

 With some problems, clearing out the cache seems to help, however with
 this, only deleting my Exchange deleted folder seems to help. I can't
 figure out a way to abort the operation either (^G, ^C, etc. don't work),
 but have to suspend and kill Mutt.

 This is with lmdb, but have tried other db libraries in the past and had
 similar problems. It seems to be reproducible with header cache disabled
 too.

 I recompiled with debug and ran with -d3. I snipped a big section where
 it's just fetching a ton of messages (I put in [....] in that section). If
 someone needs the full debug session, I can provide it to you separately.

 I tried running under dtruss, however, getting some errors with that for
 some reason.

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3942>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to