On Wed, 2005-11-02 at 13:32 -0500, Mark Plaksin wrote:
I can now reproduce a hang at will by simulating an IMAP client running the commands from the rawlog.in corresponding to a hang. The hang-debug and truss output is slightly different from before. The debug output is below. Let me know if you need the truss output too (I can't tell how much of it would be useful; it's too big to post the whole thing).
imap(happy): Warning: cork changed, set=0, io=0 imap(happy): Warning: buffer_flush=1, flush_pending=0 imap(happy): Warning: cork changed, set=1, io=0 imap(happy): Warning: cork changed, set=0, io=0 imap(happy): Warning: buffer_flush=1, flush_pending=0 imap(happy): Warning: func -> command_pending=1 imap(happy): Warning: _flush_pending -> 1 imap(happy): Warning: - adding
Did imap/client.c get also patched? None of these show _client_output being called. And these were the last lines before it hanged? It shows that it should be calling _client_output next..
I updated http://dovecot.org/patches/hang-debug.diff , could you try again with it?