Just installed the version from CVS as of Oct. 27. I noticed three problems quite quickly: Still seeing "(imap) killed with signal 14" My INBOX closed with "access error" after reading it for a bit. There's nothing in the logs or anything, but this hasn't happened for quite a while now. There where quite a lot of incoming messages at the time and I was marking messages as deleted using pine. After reverting to the last version of dovecot that I was using and restarting pine, it opened quickly (no reindexing) and the deleted emails where marked as deleted. I don't know if this helps much ;-) The rest is a backtrace, etc. of an assertion failure: dovecot: Oct 27 16:58:12 Error: 13481 imap(username): file mbox-sync-rewrite.c: line 393 (mbox_sync_read_and_move): assertion failed: (need_space == (uoff_t)-mails[idx].space) dovecot: Oct 27 16:58:29 Error: child 13481 (imap) killed with signal 6 (gdb) bt full #0 0xffffe410 in ?? () No symbol table info available. #1 0xbfffeec8 in ?? () No symbol table info available. #2 0x00000006 in ?? () No symbol table info available. #3 0x000034a9 in ?? () No symbol table info available. #4 0xb7ef1d41 in raise () from /lib/tls/libc.so.6 No symbol table info available. #5 0xb7ef3529 in abort () from /lib/tls/libc.so.6 No symbol table info available. #6 0x0809b35a in i_internal_panic_handler ( fmt=0x6 <Address 0x6 out of bounds>, args=0x34a9 <Address 0x34a9 out of bounds>) at failures.c:375 No locals. #7 0x0809b784 in i_panic ( format=0x80a88ec "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 No locals. #8 0x08073c33 in mbox_sync_rewrite (sync_ctx=0xbffff7d0, mail_ctx=0xbffff740, end_offset=Unhandled dwarf expression opcode 0x93 ) at mbox-sync-rewrite.c:447 mails = Variable "mails" is not available. (gdb) bt #0 0xffffe410 in ?? () #1 0xbfffeec8 in ?? () #2 0x00000006 in ?? () #3 0x000034a9 in ?? () #4 0xb7ef1d41 in raise () from /lib/tls/libc.so.6 #5 0xb7ef3529 in abort () from /lib/tls/libc.so.6 #6 0x0809b35a in i_internal_panic_handler ( fmt=0x6 <Address 0x6 out of bounds>, args=0x34a9 <Address 0x34a9 out of bounds>) at failures.c:375 #7 0x0809b784 in i_panic ( format=0x80a88ec "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 #8 0x08073c33 in mbox_sync_rewrite (sync_ctx=0xbffff7d0, mail_ctx=0xbffff740, end_offset=Unhandled dwarf expression opcode 0x93 ) at mbox-sync-rewrite.c:447 #9 0x0806f4c2 in mbox_sync_loop (sync_ctx=0xbffff7d0, mail_ctx=0xbffff740, partial=Variable "partial" is not available. ) at mbox-sync.c:827 #10 0x080706ef in mbox_sync (mbox=0x80c6c08, flags=Variable "flags" is not available. ) at mbox-sync.c:1447 #11 0x08069ca6 in mbox_storage_close (box=0x80c6c08) at mbox-storage.c:973 #12 0x0808f7cd in mailbox_close (box=0x0) at mail-storage.c:303 #13 0x08057c19 in cmd_logout (cmd=0x80bfbf8) at cmd-logout.c:18 #14 0x08059a8b in _client_input (context=0x80bfbb8) at client.c:338 #15 0x080a0bba in io_loop_handler_run (ioloop=0x80be9b0) at ioloop-poll.c:190 #16 0x080a0139 in io_loop_run (ioloop=0x80be9b0) at ioloop.c:230 #17 0x080609d6 in main (argc=1, argv=0xbffffa44, envp=0xbffffa4c) at main.c:232 (gdb) frame #8 0x08073c33 in mbox_sync_rewrite (sync_ctx=0xbffff7d0, mail_ctx=0xbffff740, end_offset=Unhandled dwarf expression opcode 0x93 ) at mbox-sync-rewrite.c:447 447 i_assert(extra_space < OFF_T_MAX); (gdb) p extra_space Unhandled dwarf expression opcode 0x93
On Thu, 2005-10-27 at 17:58 -0400, Todd Burroughs wrote:> Just installed the version from CVS as of Oct. 27. > > I noticed three problems quite quickly: > > Still seeing "(imap) killed with signal 14"Well, this happens just because I've forgotten to ignore SIGALRM signals :) So I guess it happens if it ever has to wait more than a second for a fcntl lock.> My INBOX closed with "access error" after reading it for a bit. There's > nothing in the logs or anything, but this hasn't happened for quite a > while now. There where quite a lot of incoming messages at the time and > I was marking messages as deleted using pine. After reverting to the > last version of dovecot that I was using and restarting pine, it opened > quickly (no reindexing) and the deleted emails where marked as deleted. > I don't know if this helps much ;-)Well, I don't know what "access error" means.. And do you mean you didn't try again with the new Dovecot, just reverted to old one?> dovecot: Oct 27 16:58:12 Error: 13481 imap(username): file > mbox-sync-rewrite.c: line 393 (mbox_sync_read_and_move): assertion failed: > (need_space == (uoff_t)-mails[idx].space)Is this from older Dovecot too? I hoped I had fixed this yesterday. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20051028/9114eb14/attachment.pgp
On Fri, 28 Oct 2005, Timo Sirainen wrote:> On Thu, 2005-10-27 at 17:58 -0400, Todd Burroughs wrote:>> dovecot: Oct 27 16:58:12 Error: 13481 imap(username): file >> mbox-sync-rewrite.c: line 393 (mbox_sync_read_and_move): assertion failed: >> (need_space == (uoff_t)-mails[idx].space) > > Is this from older Dovecot too? I hoped I had fixed this yesterday.I'm now running CVS version as of Oct 28. A couple users have gotten a very similar assertion failure. Here's the log entry and backtrace: dovecot: Nov 01 05:07:18 Error: 8434 imap(username): file mbox-sync-rewrite.c: line 383 (mbox_sync_read_and_move): assertion failed: (seq == mail_ctx->seq) dovecot: Nov 01 05:07:20 Error: child 8434 (imap) killed with signal 6 (gdb) bt full #0 0xffffe410 in ?? () No symbol table info available. #1 0xbfffee48 in ?? () No symbol table info available. #2 0x00000006 in ?? () No symbol table info available. #3 0x000020f2 in ?? () No symbol table info available. #4 0xb7ef1d41 in raise () from /lib/tls/libc.so.6 No symbol table info available. #5 0xb7ef3529 in abort () from /lib/tls/libc.so.6 No symbol table info available. #6 0x0809b4fa in i_internal_panic_handler ( fmt=0x6 <Address 0x6 out of bounds>, args=0x20f2 <Address 0x20f2 out of bounds>) at failures.c:375 No locals. #7 0x0809b924 in i_panic ( format=0x80a8a8c "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 No locals. #8 0x08073cb3 in mbox_sync_rewrite (sync_ctx=0xbffff760, mail_ctx=0xbffff6d0, end_offset=Unhandled dwarf expression opcode 0x93 ) at mbox-sync-rewrite.c:454 mails = Variable "mails" is not available.
[I am sorry about the broken threading, I do not have the original email to reply to] We are also seeing the following assertion with the current code from cvs: file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size) After rewriting the file by copying all email to another mbox file from an imap client the error went away. The original file contains sensitive information, but if anyone has sometihng in the file they want us to check we still have the original file. Peter