Anders Lund wrote:
I updated to build from 2005-10-31 yesterday. Today for one user I get this assertion:
file buffer.c: line 230 (buffer_copy): assertion failed: (src_pos <= src->used)
(from "imap")
Another assertion with this nightly build from CVS:
file mbox-sync.c: line 1297 (mbox_sync_handle_eof_updates): assertion failed: (file_size >= sync_ctx->expunged_space + trailer_size)
And another new assertion with the same version of Dovecot from CVS:
file mbox-sync-rewrite.c: line 383 (mbox_sync_read_and_move): assertion failed: (seq == mail_ctx->seq)
gdb 'bt':
#0 0xb7ed483b in raise () from /lib/tls/libc.so.6 #1 0xb7ed5fa2 in abort () from /lib/tls/libc.so.6 #2 0x080a29b5 in i_internal_panic_handler (fmt=0x0, args=0x0) at failures.c:375 #3 0x080a2449 in i_panic (format=0x0) at failures.c:173 #4 0x080770bd in mbox_sync_read_and_move (sync_ctx=0xbfffee20, mail_ctx=0xbfffed20, mails=0x81426f8, seq=381, idx=0, padding=100, move_diff=101, expunged_space=0, end_offset=48251918, first_nonexpunged=1) at mbox-sync-rewrite.c:416 #5 0x080777a0 in mbox_sync_rewrite (sync_ctx=0xbfffee20, mail_ctx=0xbfffed20, end_offset=48251918, move_diff=101, extra_space=100, first_seq=381, last_seq=1) at mbox-sync-rewrite.c:501 #6 0x080723e1 in mbox_sync_handle_missing_space (mail_ctx=0xbfffed20) at mbox-sync.c:827 #7 0x08072c02 in mbox_sync_loop (sync_ctx=0xbfffee20, mail_ctx=0xbfffed20, partial=1) at mbox-sync.c:1127 #8 0x08073852 in mbox_sync_do (sync_ctx=0xbfffee20, flags=25) at mbox-sync.c:1447 #9 0x08073f0c in mbox_sync (mbox=0x80ee158, flags=25) at mbox-sync.c:1694 #10 0x0806c612 in mbox_transaction_commit (_t=0x813fbc8, flags=3) at mbox-transaction.c:56 #11 0x08095eb8 in mailbox_transaction_commit (t=0x6, flags=0) at mail-storage.c:421 #12 0x0805ac4c in imap_expunge (box=0x0, next_search_arg=0x0) at imap-expunge.c:44 #13 0x08055be1 in cmd_close (cmd=0x80ca9f0) at cmd-close.c:20 #14 0x08059b0a in client_handle_input (cmd=0x80ca9f0) at client.c:338 #15 0x08059c2d in _client_input (context=0x80ca9b0) at client.c:390 #16 0x080a8938 in io_loop_handler_run (ioloop=0x80c99b0) at ioloop-poll.c:190 #17 0x080a7d78 in io_loop_run (ioloop=0x80c99b0) at ioloop.c:230 #18 0x08061bb9 in main (argc=1, argv=0x0, envp=0x0) at main.c:233
- Anders
--
Anders Lund Anders.Lund@uninett.no .~.
UNINETT, N-7465 Trondheim, Norway / V
Phone: +47 73 55 79 08 | Fax: +47 73 55 79 01 /( )
^ ^