Re: [Mutt] #3074: Mutt hangs indefinitely
#3074: Mutt hangs indefinitely
---------------------+------------------------------------------------------
Reporter: jaymzh | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone: 1.6
Component: mutt | Version: 1.5.18
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment(by jaymzh):
So, my tcpdumps seem to support your theory that mutt sends a request...
however it seems like it's not finishing sending the request (perhaps due
to
stack corruption?). Here's the tcpdumps:
From my desktop:
{{{
14:40:17.045181 IP rider.40162 > mail.ipom.com.imaps: . ack 150264 win
1002 <nop,nop,timestamp 147177642 1920054529>
14:40:17.045920 IP rider.40162 > mail.ipom.com.imaps: P 11235:11487(252)
ack 150264 win 1002 <nop,nop,timestamp 147177643 1920054529>
14:40:17.173980 IP mail.ipom.com.imaps > rider.40162: . ack 11487 win 8416
<nop,nop,timestamp 1920054658 147177643>
14:40:17.176517 IP mail.ipom.com.imaps > rider.40162: .
150264:151712(1448) ack 11487 win 8416 <nop,nop,timestamp 1920054659
147177643>
14:40:17.177599 IP mail.ipom.com.imaps > rider.40162: .
151712:153160(1448) ack 11487 win 8416 <nop,nop,timestamp 1920054659
147177643>
14:40:17.177615 IP rider.40162 > mail.ipom.com.imaps: . ack 153160 win
1002 <nop,nop,timestamp 147177676 1920054659>
}}}
From the server
{{{
08:40:16.306438 IP mail.ipom.com.imaps >
84-74-89-238.dclient.hispeed.ch.40162: P 104982:105073(91) ack 10019 win
8416 <nop,nop,timestamp 1920054529 147176538>
08:40:16.434817 IP 84-74-89-238.dclient.hispeed.ch.40162 >
mail.ipom.com.imaps: . ack 105073 win 1002 <nop,nop,timestamp 147177642
1920054529>
08:40:16.434830 IP 84-74-89-238.dclient.hispeed.ch.40162 >
mail.ipom.com.imaps: P 10019:10271(252) ack 105073 win 1002
<nop,nop,timestamp 147177643 1920054529>
08:40:16.434867 IP mail.ipom.com.imaps >
84-74-89-238.dclient.hispeed.ch.40162: . ack 10271 win 8416
<nop,nop,timestamp 1920054658 147177643>
08:40:16.436319 IP mail.ipom.com.imaps >
84-74-89-238.dclient.hispeed.ch.40162: . 105073:106521(1448) ack 10271 win
8416 <nop,nop,timestamp 1920054659 147177643>
08:40:16.436346 IP mail.ipom.com.imaps >
84-74-89-238.dclient.hispeed.ch.40162: . 106521:107969(1448) ack 10271 win
8416 <nop,nop,timestamp 1920054659 147177643>
08:40:16.576475 IP 84-74-89-238.dclient.hispeed.ch.40162 >
mail.ipom.com.imaps: . ack 107969 win 1002 <nop,nop,timestamp 147177676
1920054659>
}}}
The logs on the imap server show:
{{{
Aug 15 08:57:13 virt cyrus/imaps[17989]: Connection timed out, closing
connection
}}}
and the last thing before that is expunging messages at 08:30:10 - so it
never
seems a full request. Note that once again, the stack is corrupted:
{{{
#0 0xb7d70cdc in recv () from /lib/libc.so.6
#1 0xb7e4d91c in ?? () from /usr/lib/libgnutls.so.26
#2 0x00000004 in ?? ()
#3 0x093944c8 in ?? ()
#4 0x000004dc in ?? ()
#5 0x00000000 in ?? ()
}}}
But note that it's not missing symbols, as I can get a nice stacktrace
with a
happy mutt:
{{{
#0 0xb7d5f586 in poll () from /lib/libc.so.6
#1 0xb7fe19ca in _nc_timed_wait () from /lib/libncursesw.so.5
#2 0xb7fc26fd in _nc_wgetch () from /lib/libncursesw.so.5
#3 0xb7fc32b1 in wgetch () from /lib/libncursesw.so.5
#4 0x08063a15 in mutt_getch () at ../curs_lib.c:99
#5 0x0807fc43 in km_dokey (menu=6) at ../keymap.c:391
#6 0x08064b44 in mutt_index_menu () at ../curs_main.c:631
#7 0x08082048 in main (argc=2, argv=0xbf81a6e4) at ../main.c:1005
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3074#comment:31>
Mutt <http://www.mutt.org/>
The Mutt mail user agent