[Dovecot] A Couple Assertion Failures

Todd Burroughs todd at hostopia.com
Tue Oct 18 00:54:02 EEST 2005


Here's a couple of assertion failures from CVS version as of Oct. 6.

There's also a segfault but the core file was empty so I don't know if the
log entries are much help.

BTW, the searching speed using pine has dramatically improved, nice work!

Todd

-----------------------------------------
dovecot: Oct 12 12:04:28 Error:  20278 imap(username): file
mail-index-sync-ext.c: line 155 (get_ext_header): assertion failed:
(memcmp((char *)(ext_hdr + 1), ext->name, strlen(ext->name)) == 0)

dovecot: Oct 12 12:04:28 Error: child 20278 (imap) killed with signal 6

(gdb) bt full
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbffff158 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x00004f36 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  0x0809b23a in i_internal_panic_handler (
     fmt=0x6 <Address 0x6 out of bounds>,
     args=0x4f36 <Address 0x4f36 out of bounds>) at failures.c:374
No locals.
#7  0x0809b654 in i_panic (
     format=0x80a886c "file %s: line %d (%s): assertion failed: (%s)")
     at failures.c:173
No locals.
#8  0x0808d787 in get_ext_header (map=Variable "map" is not available.
) at mail-index-sync-ext.c:157
         ext_hdr = Variable "ext_hdr" is not available.
(gdb) bt
#0  0xffffe410 in ?? ()
#1  0xbffff158 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00004f36 in ?? ()
#4  0xb7ef1d41 in raise () from /lib/tls/libc.so.6
#5  0xb7ef3529 in abort () from /lib/tls/libc.so.6
#6  0x0809b23a in i_internal_panic_handler (
     fmt=0x6 <Address 0x6 out of bounds>,
     args=0x4f36 <Address 0x4f36 out of bounds>) at failures.c:374
#7  0x0809b654 in i_panic (
     format=0x80a886c "file %s: line %d (%s): assertion failed: (%s)")
     at failures.c:173
#8  0x0808d787 in get_ext_header (map=Variable "map" is not available.
) at mail-index-sync-ext.c:157
#9  0x0808db69 in sync_ext_reorder (map=0x80cd520, ext_id=1, old_size=2)
     at mail-index-sync-ext.c:273
#10 0x0808e32e in mail_index_sync_ext_intro (ctx=0xbffff590, u=0x80b6688)
     at mail-index-sync-ext.c:340
#11 0x0808eb60 in mail_index_sync_keywords (ctx=0xbffff590, hdr=0x0,
     rec=0x80c7a74) at mail-index-sync-keywords.c:107
#12 0x0808678b in mail_index_sync_record (ctx=0xbffff590, hdr=0x80c8764,
     data=0x80c7a74) at mail-index-sync-update.c:520
#13 0x08086cb6 in mail_index_sync_update_index (sync_ctx=0x80c7618,
     sync_only_external=0) at mail-index-sync-update.c:674
#14 0x08084cf3 in mail_index_sync_commit (ctx=0x80c7618)
     at mail-index-sync.c:629
#15 0x080708a9 in mbox_sync (mbox=0x80c5c00, flags=Variable "flags" is not available.
) at mbox-sync.c:1707
#16 0x08071589 in mbox_storage_sync_init (box=0x80c5c00,
     flags=MAILBOX_SYNC_FLAG_FULL_READ) at mbox-sync.c:1770
#17 0x0808f751 in mailbox_sync_init (box=0x0,
     flags=MAILBOX_SYNC_FLAG_FULL_READ) at mail-storage.c:336
#18 0x0805ee18 in imap_sync_nonselected (box=0x80c5c00,
     flags=MAILBOX_SYNC_FLAG_FULL_READ) at imap-sync.c:171
#19 0x08058236 in _cmd_select_full (cmd=0x80bfbf8, readonly=0)
     at cmd-select.c:39
#20 0x080583c1 in cmd_select (cmd=0x80bfbf8) at cmd-select.c:92
#21 0x08059a5b in _client_input (context=0x80bfbb8) at client.c:338
#22 0x080a0a7a in io_loop_handler_run (ioloop=0x80be9b0) at ioloop-poll.c:190
#23 0x0809fff9 in io_loop_run (ioloop=0x80be9b0) at ioloop.c:230
#24 0x08060996 in main (argc=1, argv=0xbffffa54, envp=0xbffffa5c) at main.c:232

(gdb) p (char *)(ext_hdr + 1)
Variable "ext_hdr" is not available.
(gdb) p *ext
Variable "ext" is not available.

-----------------------------------------------------

dovecot: Oct 09 20:43:20 Error:  18254 imap(username): file
mail-index.c: line 856 (mail_index_sync_from_transactions): assertion
failed: (hdr.log_file_int_offset == (*map)->hdr.log_file_int_offset)

dovecot: Oct 09 20:43:21 Error: child 18254 (imap) killed with signal 6

(gdb) bt full
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbffff2a8 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x0000474e 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  0x0809b23a in i_internal_panic_handler (
     fmt=0x6 <Address 0x6 out of bounds>,
     args=0x474e <Address 0x474e out of bounds>) at failures.c:374
No locals.
#7  0x0809b654 in i_panic (
     format=0x80a886c "file %s: line %d (%s): assertion failed: (%s)")
     at failures.c:173
No locals.
#8  0x0807fd5d in mail_index_map (index=0x80c6000, force=135040256)
     at mail-index.c:837
         map = (struct mail_index_map *) 0x80c7230
         ret = Variable "ret" is not available.

(gdb) bt
#0  0xffffe410 in ?? ()
#1  0xbffff2a8 in ?? ()
#2  0x00000006 in ?? ()
#3  0x0000474e in ?? ()
#4  0xb7ef1d41 in raise () from /lib/tls/libc.so.6
#5  0xb7ef3529 in abort () from /lib/tls/libc.so.6
#6  0x0809b23a in i_internal_panic_handler (
     fmt=0x6 <Address 0x6 out of bounds>,
     args=0x474e <Address 0x474e out of bounds>) at failures.c:374
#7  0x0809b654 in i_panic (
     format=0x80a886c "file %s: line %d (%s): assertion failed: (%s)")
     at failures.c:173
#8  0x0807fd5d in mail_index_map (index=0x80c6000, force=135040256)
     at mail-index.c:837
#9  0x08085186 in mail_index_sync_begin (index=0x80c6000, ctx_r=0x0,
     view_r=0x0, log_file_seq=0, log_file_offset=Unhandled dwarf expression opcode 0x93
) at mail-index-sync.c:336
#10 0x08070423 in mbox_sync (mbox=0x80c6c08, flags=Variable "flags" is not available.
) at mbox-sync.c:1599
#11 0x0806a101 in mbox_transaction_commit (_t=0x80c87f8, flags=Variable "flags" is not available.
)
     at mbox-transaction.c:56
#12 0x0808f913 in mailbox_transaction_commit (t=0x0, flags=0)
     at mail-storage.c:421
#13 0x0805f090 in imap_sync_deinit (ctx=0x80c79b0) at imap-sync.c:70
#14 0x0805f14c in cmd_sync_continue (cmd=0x80bfbf8) at imap-sync.c:184
#15 0x080567d0 in cmd_fetch_finish (ctx=Variable "ctx" is not available.
) at cmd-fetch.c:106
#16 0x08056a1b in cmd_fetch (cmd=0x80bfbf8) at cmd-fetch.c:176
#17 0x08059a5b in _client_input (context=0x80bfbb8) at client.c:338
#18 0x080a0a7a in io_loop_handler_run (ioloop=0x80be9b0) at ioloop-poll.c:190
#19 0x0809fff9 in io_loop_run (ioloop=0x80be9b0) at ioloop.c:230
#20 0x08060996 in main (argc=1, argv=0xbffffa54, envp=0xbffffa5c) at main.c:232

-------------------------------------

dovecot: Oct 17 14:16:00 Error:  29119 imap(username): Corrupted index
file /mailhome/new/k/t/username/.imap/INBOX/dovecot.index: File too small

dovecot: Oct 17 14:16:03 Error:  29119 imap(username): Corrupted index
file /mailhome/new/k/t/username/mail/.imap/sent-mail/dovecot.index:
File too small

dovecot: Oct 17 14:16:03 Error:  29119
imap(username): Corrupted transaction log file
/mailhome/new/k/t/username/mail/.imap/sent-mail/dovecot.index.log:
hdr.size too large (2104)

dovecot: Oct 17 14:16:05 Error: child 29119 (imap) killed with signal 11



More information about the dovecot mailing list