[Dovecot] rc25: need_space assert, core

Jeff A. Earickson jaearick at colby.edu
Fri Mar 2 13:30:27 EET 2007


Timo,

I see where at least one other person reported this, but here goes.
I went from rc24 to rc25 this morning, and I got an assert and core
from my own mailbox withing five minutes:

Mar  2 06:52:26 karst dovecot: [ID 107833 mail.error] IMAP(jaearick): file mbox-sync-rewrite.c: line 408: assertion failed: (need_space == (uoff_t)-mails[idx].space)
Mar  2 06:52:26 karst dovecot: [ID 107833 mail.error] IMAP(jaearick): Raw backtrace: 0x89720 -> 0x46e50 -> 0x47410 -> 0x426d4 -> 0x42d60 -> 0x438b0 -> 0x43b38 -> 0x2a828 -> 0x2ada4 -> 0x231dc -> 0x23368 -> 0x23450 -> 0x8fe14 -> 0x8f638 -> 0x2cd64 -> 0x1dad8

Unfortunately, I switched compilers at rc24 and rc25.  Before
I used to compile with gcc -g -O so I could poke at cores.  Now
I use (Sun Studio 11) cc -O, so no useful information on a gdb
traceback:

(gdb) backtrace
#0  0xff1c16e0 in _lwp_kill () from /lib/libc.so.1
#1  0xff15ff38 in raise () from /lib/libc.so.1
#2  0xff140160 in abort () from /lib/libc.so.1
#3  0x00089cd4 in i_internal_panic_handler ()
#4  0x00089728 in i_panic ()
#5  0x00046e58 in mbox_sync_read_and_move ()
#6  0x00047418 in mbox_sync_rewrite ()
#7  0x000426dc in mbox_sync_handle_eof_updates ()
#8  0x00042d68 in mbox_sync_do ()
#9  0x000438b8 in mbox_sync ()
#10 0x00043b40 in mbox_storage_sync_init ()
#11 0x0002a830 in imap_sync_init ()
#12 0x0002adac in cmd_sync ()
#13 0x000231e4 in client_handle_input ()
#14 0x00023370 in client_handle_input ()
#15 0x00023458 in _client_input ()
#16 0x0008fe1c in io_loop_handler_run ()
#17 0x0008f640 in io_loop_run ()
#18 0x0002cd6c in main ()

My setup: Solaris 10, homedirs (imap cache files) on a local zfs filesystem,
mailboxes NFS mounted from another Sun system (NFS v4) which is also zfs
on the mail server.  Mbox format, no disk quotas anyplace, no plugins.

I have rolled back to rc24.

Jeff Earickson
Colby College


More information about the dovecot mailing list