* Jonathan Nieder <[email protected]> [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 0x00007f50a4fed380 in read () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f50a4f928f8 in _IO_file_underflow () from
/lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007f50a4f922b8 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3 0x00007f50a4f88442 in fread () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#4 0x0000000000471205 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</p><p>Add
[email protected] to your address book to ensure delivery of Monster
emails.</p><p>If you doubt the authenticity of a Monster email, pl"...
#5 0x0000000000433efc 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</p><p>Monster, 5 Clock Tower Place, Suite 500,
Maynard, MA 01754</p><p>Add [email protected] to your address book to
ensure delivery of Monster emails.</p><p>If 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 0x00000000004357e9 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 0x0000000000452216 in msg_search (ctx=0x128e810, pat=0x123f7f0,
msgno=<value optimized out>) at ../pattern.c:193
tempfile =
"/tmp/mutt-HOST-1000-1223-8483086311535528652\000\000\000\001\000\001\000\000\006\000\000\000\000\000\000\000\260\232$\001\000\000\000\000\000\000\000\000\377\377\377\377",
'\0---Type <return> to continue, or q <return> to quit---
00' <repeats 64 times>"\270,
\ti@\377\177\000\000\260\ti@\377\177\000\000\270\254\023\001\000\000\000\000`\ni@\377\177\000\000\001\vi@\377\177\000\000\000\000\000\000\000\000\000\000\001\200\255\373",
'\000' <repeats 12 times>,
"\030\000\000\000\060\000\000\000\000\000\000\000\026\000\000\000\320\ni@\377\177\000\000P\245$\001\000\000\000\000\260\232$\001",
'\000' <repeats 11 times>
msg = 0x2200980
s = {fpin = 0x1975780, fpout = 0x21c7910, prefix = 0x0, flags = 0}
st = {st_dev = 2050, st_ino = 2227021, st_nlink = 1, st_mode = 33152,
st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 5365,
st_blksize = 4096, st_blocks = 16, st_atim = {
tv_sec = 1312503491, tv_nsec = 499325174}, st_mtim = {tv_sec =
1312503530, tv_nsec = 724914452}, st_ctim = {tv_sec = 1312503530, tv_nsec =
724914452}, __unused = {0, 0, 0}}
fp = 0x0
lng = 0
match = 0
h = 0x1993200
buf = <value optimized out>
blen = <value optimized out>
#8 0x000000000045435a in mutt_pattern_exec (pat=0x123f7f0, flags=<value
optimized out>, ctx=0x128e810, h=0x1993200) at ../pattern.c:1144
No locals.
#9 0x0000000000453fe1 in perform_and (pat=<value optimized out>,
flags=M_MATCH_FULL_ADDRESS, ctx=0x128e810, h=0x1993200) at ../pattern.c:980
No locals.
#10 mutt_pattern_exec (pat=<value optimized out>, flags=M_MATCH_FULL_ADDRESS,
ctx=0x128e810, h=0x1993200) at ../pattern.c:1096
No locals.
#11 0x000000000042780d in mutt_set_header_color (ctx=0x128e810,
curhdr=0x1993200) at ../curs_main.c:2273
color = 0x123f780
#12 0x0000000000427862 in index_color (index_no=<value optimized out>) at
../curs_main.c:195
h = 0x1993200
#13 0x000000000043f292 in menu_redraw_index (menu=0x1d1ea00) at ../menu.c:241
buf = "11617 O + 2010-30-12 Monster Job Search ( 24K) Saved search
results - 12/30/2010", ' ' <repeats 117 times>,
"\000\224\376\277\246P\177\000\000\305\003\000\000\000\000\000\000
\ri@\37---Type <return> to continue, or q <return> to quit---
7\177\000\000\004\000\000\000\000\000\000\000
\ri@\377\177\000\000\330\062P\177\000\000\031\000\000\000\000\000\000\000\360\274\210$\000\000\000\000c\005\300\246P\177\000\000Z\024i@\377\177\000\000\000\000\000\000\000\000\000\000\060\000\000\000\377\177\000\000\363\"\222\000\000\000\000\000\330a\232\246P\177\000\000\220\016i@\377\177\000\000Ph\232\246P\177\000\000c\005\300\246P\177"...
i = 11616
#14 0x0000000000420d65 in mutt_index_menu () at ../curs_main.c:559
buf =
"\334\020i@\377\177\000\000\336\020i@\377\177\000\000\000\000\000\000\000\000\000\000&ꝦP\177\000\000\000\000\000\000\000\000\000\000(o\277\246P\177\000\000\001",
'\000' <repeats 17 times>,
"i@\377\177\000\000Po\277\246P\177\000\000\265\000\000\000\000\000\000\000(o\277\246P\177\000\000\021\000\000\000\000\000\000\000\340I\026\001\000\000\000\000=\000\000\000\000\000\000\000}ќ\246P\177\000\000\377\377\377\377\377\377\377\377\260\022i@\377\177\000\000\377\377\377\377\377\377\377\377@\027*\245P\177\000\000\300\016i@\377\177\000\000\301\016i@\377\177\000\000\200\030i@\377\177\000\000\001\000\000\000\000\000\000\000
\304{\001\000\000\000\000\022\000\000\000\000\000\000\000\200`\370\002\000\000\000\000@\002\000\000\000\000\000\000\300G\026\001\000\000\000\000\200`\370\002\000\000\000\000\340\030i@\377\177\000\000\001\000\000\000\000\000\000\000x"...
helpstr = "q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group
?:Help", '\000' <repeats 16 times>"\260,
\\\370\002\000\000\000\000p\027i@\377\177\000\000\000\000\000\000\000\000\000\000\260\\\370\002\000\000\000\000\340\030i@\377\177\000\000{\000\000\000\000\000\000\000\340X\370\002\000\000\000\000\270\\\370\002\000\000\000\000\360d\370\002\000\000\000\000ʞ\365\244P\177\000\000p\025i@\377\177\000\000p\272F\000\000\000\000\000\200\030i@\377\177\000\000\365\000\000\000\000\000\000\000\b",
'\000' <repeats 15 times>"\340,
X\370\002\000\000\000\000F-8\000t\000\000\000Pg\000\000\000\000\000\000\340X\370\002"...
op = 0
done = 0
i = 0
j = <value optimized out>
tag = 0
newcount = 69
oldcount = <value optimized out>
rc = <value optimized out>
menu = 0x1d1ea00
cp = <value optimized out>
index_hint = 193
---Type <return> to continue, or q <return> to quit---
do_buffy_notify = 1
close = 0
attach_msg = 0
#15 0x0000000000408add in main (argc=1, argv=0x7fff40692208) at ../main.c:1026
folder = "/home/USER/Maildir/.incoming", '\000' <repeats 222 times>
subject = 0x0
includeFile = 0x0
draftFile = 0x0
newMagic = 0x0
msg = <value optimized out>
attach = 0x0
commands = 0x0
queries = 0x0
alias_queries = 0x0
sendflags = 0
flags = <value optimized out>
version = 0
i = <value optimized out>
explicit_folder = 0
dump_variables = 0
double_dash = <value optimized out>
nargc = <value optimized out>