[Dovecot] Asserion Failure in Current CVS

Todd Burroughs todd at hostopia.com
Fri Oct 28 00:58:07 EEST 2005


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



More information about the dovecot mailing list