On Fri, Jan 21, 2005 at 11:18:48PM +0100, Adeodato Sim? wrote:
>   OK. Then, let's try another thing. The original report seemed to have
>   something to do with the header cache. Could you try this package?
> 
>     http://the-swirl.org/~adeodato/tmp/2005/01/21/mutt-nohcache

No change.  The backtrace is the same.  I did some more poking around.  Giving
the wrong password works as it should, with mutt saying the password was
incorrect, and resuming normal menu operation.

I also did a "strace -f -F -ff -o strace_out mutt" and here's the sequence of
events on the main mutt thread, starting with me finishing to enter password:

read(0, "*", 1)                         = 1
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER|SA_RESTART, 0x40147678},
NULL, 8) = 0
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER, 0x40147678}, NULL, 8) = 0
read(0, "*", 1)                         = 1
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER|SA_RESTART, 0x40147678},
NULL, 8) = 0
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER, 0x40147678}, NULL, 8) = 0
read(0, "*", 1)                         = 1
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER|SA_RESTART, 0x40147678},
NULL, 8) = 0
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER, 0x40147678}, NULL, 8) = 0
read(0, "\r", 1)                        = 1
rt_sigaction(SIGINT, {0x80a5bd0, [], SA_RESTORER|SA_RESTART, 0x40147678},
NULL, 8) = 0
write(1, "\r\33[37m\33[40mLogging in...\33[K\33[m\17\33"..., 49) = 49
  gettimeofday({1106417266, 484524}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={0, 70000}, ru_stime={0, 10000}, ...}) = 0
  time(NULL)                              = 1106417266
  times({tms_utime=7, tms_stime=1, tms_cutime=1, tms_cstime=0}) = 9006147
  gettimeofday({1106417266, 484764}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={0, 70000}, ru_stime={0, 10000}, ...}) = 0
  time(NULL)                              = 1106417266
  times({tms_utime=7, tms_stime=1, tms_cutime=1, tms_cstime=0}) = 9006147
send(4, "\27\3\1\0\330\220VUN\2653\2416!\247I\225\311\16r\316G\370"..., 221, 0) 
= 221
recv(4, "\27\3\1\0\270", 5, 0)          = 5
recv(4, "\251\3153\363T\247t\256\235\3252\2Xb\207\252\37\273\221"..., 183, 0) = 
183
recv(4, "\226", 1, MSG_PEEK)            = 1
  gettimeofday({1106417266, 578025}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={0, 70000}, ru_stime={0, 10000}, ...}) = 0
  time(NULL)                              = 1106417266
  times({tms_utime=7, tms_stime=1, tms_cutime=1, tms_cstime=0}) = 9006156
  gettimeofday({1106417266, 578375}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={0, 80000}, ru_stime={0, 10000}, ...}) = 0
  time(NULL)                              = 1106417266
  times({tms_utime=8, tms_stime=1, tms_cutime=1, tms_cstime=0}) = 9006157
recv(4, "\226", 1, 0)                   = 1
  time(NULL)                              = 1106417266
  gettimeofday({1106417266, 578597}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={0, 80000}, ru_stime={0, 10000}, ...}) = 0
  time(NULL)                              = 1106417266
  times({tms_utime=8, tms_stime=1, tms_cutime=1, tms_cstime=0}) = 9006157
  gettimeofday({1106417266, 578718}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={0, 80000}, ru_stime={0, 10000}, ...}) = 0
  time(NULL)                              = 1106417266
  times({tms_utime=8, tms_stime=1, tms_cutime=1, tms_cstime=0}) = 9006157
send(4, "\27\3\1\0`\'\240`cH\3108\20\35\301\367\351\344\274\335"..., 101, 0) = 
101
recv(4,

and this is where it hangs.  I've indented the non-interesting calls.  Seems
mutt sends the encrypted password, receives a response over a number of
recv()s, and then gets no response to its very next send()... not as helpful
as it could be, but perhaps it will be of use.

-- 
"If it weren't for lack of context, there would be no news." --Scott Adams
Maciej Kalisiak       mac "at" dgp.toronto.edu       www.dgp.toronto.edu/~mac


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to