[Dovecot] Asserion Failure in Current CVS

Anders Lund anders.lund at uninett.no
Sat Nov 12 16:46:11 EET 2005


Anders Lund wrote:
> Anders Lund wrote:
> 
>>Todd Burroughs wrote:
>>
>>
>>>Anders,
>>>
>>>Try running the current CVS version.  Timo fixed a few things since Oct.
>>>31 and I haven't seen an assert or any failure in 5 days now.
>>
>>
>>Just upgraded to nightly from 2005-11-09 now. Tailing my log for
>>assertion failures now and crossing my fingers again. ;-)

New assertion failed for "imap" with nightly from 2005-11-09.

mbox format for the user.

file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)

gdb 'bt" show:

#0  0xb7ed483b in raise () from /lib/tls/libc.so.6
#1  0xb7ed5fa2 in abort () from /lib/tls/libc.so.6
#2  0x080a29e5 in i_internal_panic_handler (fmt=0x0, args=0x0) at failures.c:375
#3  0x080a2479 in i_panic (format=0x0) at failures.c:173
#4  0x08076747 in mbox_sync_headers_add_space (ctx=0xbffff210, size=17788) at mbox-sync-rewrite.c:111
#5  0x08076ac4 in mbox_sync_try_rewrite (ctx=0xbffff210, move_diff=0) at mbox-sync-rewrite.c:252
#6  0x08072227 in mbox_sync_handle_header (mail_ctx=0xbffff210) at mbox-sync.c:736
#7  0x08072a94 in mbox_sync_loop (sync_ctx=0xbffff310, mail_ctx=0xbffff210, partial=1) at mbox-sync.c:1107
#8  0x08073872 in mbox_sync_do (sync_ctx=0xbffff310, flags=24) at mbox-sync.c:1448
#9  0x08073f2c in mbox_sync (mbox=0x80d09d0, flags=24) at mbox-sync.c:1695
#10 0x080743a4 in mbox_storage_sync_init (box=0x80d09d0, flags=3) at mbox-sync.c:1773
#11 0x08095cf6 in mailbox_sync_init (box=0x0, flags=6) at mail-storage.c:336
#12 0x0805fa1a in imap_sync_init (client=0x80ca9b0, box=0x80d09d0, flags=0) at imap-sync.c:44
#13 0x0805ff3a in cmd_sync (cmd=0x80ca9f0, flags=3, tagline=0x80b0c79 "OK Check completed.") at imap-sync.c:225
#14 0x08055b40 in cmd_check (cmd=0x80ca9f0) at cmd-check.c:11
#15 0x08059b0a in client_handle_input (cmd=0x80ca9f0) at client.c:338
#16 0x08059c2d in _client_input (context=0x80ca9b0) at client.c:390
#17 0x080a8968 in io_loop_handler_run (ioloop=0x80c99b0) at ioloop-poll.c:190
#18 0x080a7da8 in io_loop_run (ioloop=0x80c99b0) at ioloop.c:230
#19 0x08061bb9 in main (argc=1, argv=0x0, envp=0x0) at main.c:233

- Anders


More information about the dovecot mailing list