Panic: IMAP(...): Trying to close mailbox INBOX with open transactions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Panic: IMAP(...): Trying to close mailbox INBOX with open transactions

Mike Abbott-4
I have been seeing this crash, which has been reported before but  
apparently not yet resolved.  As with the previous reporters, I do not  
know how to reproduce it reliably.

Dovecot version: 1.1.rc5
Operating system: Mac OS X 10.5.2
CPU architecture: x86
File system: HFS+
Activity:  From the backtrace it appears the client logged out while  
in the middle of some operation.
Backtrace:
0   libSystem.B.dylib             0x946210ea __kill + 10
1   libSystem.B.dylib             0x946983f2 raise + 26
2   libSystem.B.dylib             0x946a79af abort + 73
3   imap                           0x000743e2 i_internal_fatal_handler  
+ 102
4   imap                           0x00073e03 i_fatal + 0
5   imap                           0x0004614c mailbox_close + 48
6   imap                           0x000053c4 cmd_logout + 74
7   imap                           0x00007f14 client_command_input + 41
8   imap                           0x000080d9 client_command_input + 494
9   imap                           0x000081c5 client_handle_input + 218
10  imap                           0x0000835d client_input + 176
11  imap                           0x0007c001 io_loop_handler_run + 350
12  imap                           0x0007af06 io_loop_run + 44
13  imap                           0x00010732 main + 1972
14  imap                           0x00001e76 start + 54

Reply | Threaded
Open this post in threaded view
|

Re: Panic: IMAP(...): Trying to close mailbox INBOX with open transactions

Timo Sirainen
On May 16, 2008, at 8:29 PM, Mike Abbott wrote:

> I have been seeing this crash, which has been reported before but  
> apparently not yet resolved.  As with the previous reporters, I do  
> not know how to reproduce it reliably.

Could you also post your dovecot -n output?


PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Panic: IMAP(...): Trying to close mailbox INBOX with open transactions

Timo Sirainen
In reply to this post by Mike Abbott-4
On May 16, 2008, at 8:29 PM, Mike Abbott wrote:

> I have been seeing this crash, which has been reported before but  
> apparently not yet resolved.  As with the previous reporters, I do  
> not know how to reproduce it reliably.

I'd guess it's because client sends a LOGOUT command while another  
command is still running. That could probably be considered a client  
bug.. But this fixes it: http://hg.dovecot.org/dovecot-1.1/rev/c4342385d696

If the error still happens after that change, some command handling is  
buggy. It would be useful then to get rawlog of the session that  
crashed to find out what commands were being used (probably some  
specific FETCH command).

PGP.sig (201 bytes) Download Attachment