[Dovecot] Two new Assert Failures

Todd Burroughs todd at hostopia.com
Fri Nov 18 02:27:22 EET 2005


These two are from CVS version as of 2005-11-03.

There have only been these two asserts and we've had over 45000 logins.

----------------------------------------------------------------------
dovecot: Nov 16 13:35:34 Error:  18439
imap(username): Corrupted transaction log file
/mailhome/new/c/h/username/.imap/INBOX/dovecot.index.log: Append with
UID 53103, but next_uid = 53104

dovecot: Nov 16 13:35:34 Error:  18439 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: Nov 16 13:35:34 Error: child 18439 (imap) killed with signal 6

(gdb) bt full
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbffff108 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x00004807 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  0x0809b52a in i_internal_panic_handler (
     fmt=0x6 <Address 0x6 out of bounds>,
     args=0x4807 <Address 0x4807 out of bounds>) at failures.c:375
No locals.
#7  0x0809b954 in i_panic (
     format=0x80a8acc "file %s: line %d (%s): assertion failed: (%s)")
     at failures.c:173
No locals.
#8  0x0807fffd in mail_index_map (index=0x80c7000, force=135095976)
     at mail-index.c:837
         map = (struct mail_index_map *) 0x80d1968
         ret = Variable "ret" is not available.

(gdb) p (*map)->hdr.log_file_int_offset
$1 = 103944
(gdb) p hdr
No symbol "hdr" in current context.

------------------------------------------------------------------
dovecot: Nov 17 11:38:40 Error:  5202 imap(username): file mbox-lock.c:
line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK ||
mbox->mbox_lock_type != F_RDLCK)

dovecot: Nov 17 11:38:40 Error: child 5202 (imap) killed with signal 6

(gdb) bt full
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbffff4f8 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0x00001452 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  0x0809b52a in i_internal_panic_handler (
     fmt=0x6 <Address 0x6 out of bounds>,
     args=0x1452 <Address 0x1452 out of bounds>) at failures.c:375
No locals.
#7  0x0809b954 in i_panic (
     format=0x80a8acc "file %s: line %d (%s): assertion failed: (%s)")
     at failures.c:173
No locals.
#8  0x0806c0e3 in mbox_lock (mbox=0x80c7c18, lock_type=1, lock_id_r=0xbffff71c)
     at mbox-lock.c:528
         ret = 0
#9  0x08070a6c in mbox_sync (mbox=0x80c7c18, flags=MBOX_SYNC_REWRITE)
     at mbox-sync.c:1590
         lock_type = Variable "lock_type" is not available.

(at frame 8)
(gdb) p lock_type
$1 = 1
(gdb) p mbox->mbox_lock_type
$2 = 0

F_RDLCK == 0



More information about the dovecot mailing list