Bug#636395: mutt: freezes at Sorting mailbox...

2011-08-04 Thread Jonathan Nieder
Edward J. Shornock wrote:

 I don't know how useful these will be, but...
[...]
 #3  0x7f482e59b442 in fread () from /lib/x86_64-linux-gnu/libc.so.6
 #4  0x00471205 in ?? ()

Ah, sorry for the trouble.  I should have mentioned that getting a readable
backtrace requires installing the mutt-dbg package.

 The output from strace is in the attached file.

Thanks.  I'm swamped right now and nothing jumps out immediately but I
will be happy to look this over when I find time.

Regards,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#636395: mutt: freezes at Sorting mailbox...

2011-08-04 Thread Edward J. Shornock
* Jonathan Nieder jrnie...@gmail.com [05-08-2011 02:25 EEST]:
 Ah, sorry for the trouble.  I should have mentioned that getting a readable
 backtrace requires installing the mutt-dbg package.

No problem. I don't know why I didn't notice the dbg package earlier.
The backtrace helped me to see what part of my config was causing it to
hang: 

alternative_order text/enriched text/plain text/html
auto_view text/html

I noticed that, for some reason, I didn't have links installed. I
installed that and added the following to .mutt/mailcap:
text/html;  links %s; nametemplate=%s.html
text/html;  links -dump %s; nametemplate=%s.html; 
copiousoutput

After doing this, mutt is much, much better (it moves past Sorting
mailbox... but it pauses briefly (a second or two) when moving down to
another screenful of messages.

In case it's of use I'm attaching the gdb output with the mutt-dbg package
installed. (I'm sorry for the useless bt earlier).

Thanks,

Ed
#0  0x7f50a4fed380 in read () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x7f50a4f928f8 in _IO_file_underflow () from 
/lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x7f50a4f922b8 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3  0x7f50a4f88442 in fread () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#4  0x00471205 in mutt_copy_stream (fin=0x18cf030, fout=0x21c7910) at 
../lib.c:378
l = value optimized out
buf = lock Tower Place, Suite 500, Maynard, MA 01754/ppAdd 
mons...@route.monster.com to your address book to ensure delivery of Monster 
emails./ppIf you doubt the authenticity of a Monster email, pl...
#5  0x00433efc in autoview_handler (a=value optimized out, 
s=0x7fff40690aa0) at ../handler.c:1322
entry = 0x1cdff00
buffer = 
\200\ti@\377\177\000\000\312RK\000\000\000\000\000\001\vi@\377\177\000\000\023\064\000\000\001\000\000\000\062\064K\000\000\000\000\000Job
 Sear\000\000\000\000gent, '\000' repeats 56 times,  , '\000' repeats 15 
times\377, \377\377\377\377\377\377\377, '\000' repeats 20 times, \001, 
'\000' repeats 59 times\200, d\365\244P\177, '\000' repeats 26 times, 
\002\000\000\000\377\177, '\000' repeats 18 times\307, 
\004\000\000\000\000\000\000\b\000\000\000\000\000\000\000F\002, '\000' 
repeats 14 times\340, 
\003i@\377\177\000\000\320\003i@\377\177\000\000/\000\000\000\000\000\000\000@\005i@\377\177\000\000\320nK\000\000\000\000\000W~\366\244P\177\000\000\001,
 '\000' repeats 15 times...
type = text/html\000/ppMonster, 5 Clock Tower Place, Suite 500, 
Maynard, MA 01754/ppAdd mons...@route.monster.com to your address book to 
ensure delivery of Monster emails./ppIf you doubt the authen...
command = /usr/bin/html2text ''/tmp/muttYnlp6P'', '\000' repeats 985 
times
tempfile = /tmp/muttYnlp6P, '\000' repeats 240 times
fname = 0x0
fpin = 0x0
---Type return to continue, or q return to quit---
fpout = 0x18cf030
fperr = 0x1a1a5b0
piped = 0
thepid = 2015
rc = 0
#6  0x004357e9 in mutt_body_handler (b=0x1cc1930, s=0x7fff40690aa0) at 
../handler.c:1695
decode = 1
plaintext = value optimized out
fp = 0x1c7bb70
tempfile = /tmp/mutt-HOST-1000-1223-974619582382048748, '\000' 
repeats 57 times, 
\020y\034\002\000\000\000\000\000\020\000\000\000\000\000\000\226s\370\244P\177\000\000\002\b\000\000\000\000\000\000\373!\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\350\003\000\000\350\003\000\000\000\000\000\000p\273\307\001\000\000\000\000\000\020\000\000\000\000\000\000\226s\370\244P\177\000\000$\b\000\000\000\000\000\000\017\277\227\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\350\003\000\000\350\003,
 '\000' repeats 14 times, 
\017h\000\000\000\000\000\000\000\020\000\000\000\000\000
handler = 0x433a40 autoview_handler
tmpoffset = 1878
tmplength = 24761
type = 
text/html\000;N\000\000\000\000\260\235l9\000\000\000\000\217\031\034M\000\000\000\000\v_\024!\000\000\000\000(\a\035M\000\000\000\000C/\035,,
 '\000' repeats 28 times, \024Q5+\000\000\000\000p\273\307\001, '\000' 
repeats 12 times\234, 
?\371\244P\177\000\000p\273\307\001\000\000\000\000\365+\371\244P\177\000\000\310*\245P\177\000\000\373!\000\000\000\000\000\070\002\000\000\000\000\000\000\250\330\376\244$\000\000\000\350\003,
 '\000' repeats 14 times, 
\030\000\000\000\000\000\000\000\300=\371\244P\177\000\000`9\371\244P\177\000\000\000\000\000\000\000\000\000\000\020y\034\002\000\000\000\000\210\377\377\377\377\377\377\377\002\000\000\000\000\000\000\000\020y\034\002\000\000\000\000#\000\000\000\000\000\000\000\242\032\371\244P\177\000
rc = 0
oflags = 16
#7  0x00452216 in msg_search (ctx=0x128e810, pat=0x123f7f0, 
msgno=value optimized out) at ../pattern.c:193

Bug#636395: mutt: freezes at Sorting mailbox...

2011-08-03 Thread Jonathan Nieder
Edward J. Shornock wrote:

 With the version of mutt that's in Sid  testing, mutt hangs at Sorting
 mailbox... after it finishes indexing the messages. The version in
 Squeeze (currently 1.5.20-9+squeeze1) works fine on my box.

 If there's any additional info I can give please let me know.

Yes, could you use strace -p or gdb -p to find out what mutt's doing
when it hangs?

Thanks,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#636395: mutt: freezes at Sorting mailbox...

2011-08-02 Thread Edward J. Shornock
Package: mutt
Version: 1.5.21-5
Severity: normal

With the version of mutt that's in Sid  testing, mutt hangs at Sorting
mailbox... after it finishes indexing the messages. The version in
Squeeze (currently 1.5.20-9+squeeze1) works fine on my box.

If there's any additional info I can give please let me know.

-- Package-specific info:
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.39-2-amd64 (x86_64)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libidn: 1.22 (compiled with 1.20)
hcache backend: tokyocabinet 1.4.37
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  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-ISPELL
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
MIXMASTER=mixmaster
To contact the developers, please mail to mutt-...@mutt.org.
To report a bug, please visit http://bugs.mutt.org/.

misc/am-maintainer-mode
features/ifdef
features/xtitles
features/trash-folder
features/purge-message
features/imap_fast_trash
features/sensible_browser_position
features-old/patch-1.5.4.vk.pgp_verbose_mime
features/compressed-folders
features/compressed-folders.debian
debian-specific/Muttrc
debian-specific/Md.etc_mailname_gethostbyname.diff
debian-specific/use_usr_bin_editor.diff
debian-specific/correct_docdir_in_man_page.diff
debian-specific/dont_document_not_present_features.diff
debian-specific/document_debian_defaults
debian-specific/assumed_charset-compat
debian-specific/467432-write_bcc.patch
debian-specific/566076-build_doc_adjustments.patch
misc/define-pgp_getkeys_command.diff
misc/gpg.rc-paths
misc/smime.rc
upstream/531430-imapuser.patch
upstream/537818-emptycharset.patch
upstream/543467-thread-segfault.patch
upstream/542817-smimekeys-tmpdir.patch
upstream/548577-gpgme-1.2.patch
upstream/553321-ansi-escape-segfault.patch
upstream/568295-references.patch
upstream/547980-smime_keys-chaining.patch
upstream/528233-readonly-open.patch
upstream/228671-pipe-mime.patch
upstream/383769-score-match.patch
upstream/578087-header-strchr.patch
upstream/603288-split-fetches.patch
upstream/537061-dont-recode-saved-attachments.patch
upstream/608706-fix-spelling-errors.patch
upstream/620854-pop3-segfault.patch
upstream/611412-bts-regexp.patch
upstream/624058-gnutls-deprecated-set-priority.patch
upstream/624085-gnutls-deprecated-verify-peers.patch
upstream/584138-mx_update_context-segfault.patch
upstream/619216-gnutls-CN-validation.patch
upstream/611410-no-implicit_autoview-for-text-html.patch
upstream/path_max
mutt.org

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6   2.13-10  Embedded GNU C Library: Shared lib
ii  libcome 1.42~WIP-2011-07-02-1common error description library
ii  libgnut 2.10.5-2 the GNU TLS library - runtime libr
ii  libgpg- 1.10-0.3 library for common error values an
ii  libgpgm 1.2.0-1.4GPGME - GnuPG Made Easy
ii  libgssa 1.9.1+dfsg-1+b1  MIT Kerberos runtime libraries - k
ii  libidn1 1.22-2   GNU Libidn library, implementation
ii  libk5cr 1.9.1+dfsg-1+b1  MIT Kerberos runtime libraries - C
ii  libkrb5 1.9.1+dfsg-1+b1  MIT Kerberos runtime libraries
ii  libncur 5.9-1shared libraries for terminal hand
ii  libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - authentication abstra
ii  libtoky 1.4.37-6.1   Tokyo Cabinet Database Libraries [

Versions of packages mutt recommends:
ii  libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - pluggable authenticat
ii  locales 2.13-10  Embedded GNU C Library: National L
ii  mime-su 3.51-1   MIME files 'mime.types'  'mailcap
ii  postfix 2.8.3-1  High-performance mail transport ag

Versions