[Dovecot] rc25: need_space assert, core

Dan Price dp at eng.sun.com
Fri Mar 2 18:51:48 EET 2007


On Fri 02 Mar 2007 at 08:30AM, Jeff A. Earickson wrote:
> 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

Me too.  I deployed rc25 last night, and this morning we've got 100
core files.  They look similar:

core 'core.imap.595749.10785' of 595749:        imap
 ff1c4310 _lwp_kill (6, 0, 5, 6, ffffffff, 6) + 8
 ff151288 abort    (a1f10, 1, 6, ff215c80, c1b2c, 0) + 108
 00080bc4 i_internal_panic_handler (982a0, ffbfed88, 0, a, 0, 80b88) + 3c
 00080670 i_panic  (982a0, 982d0, 198, 98530, 985c8, 0) + 24
 0004952c mbox_sync_rewrite (ffbff4f8, e1, 0, 1974534, 0, 0) + 7e4
 00044118 mbox_sync_do (ffbff4f8, 688, 0, 1975bff, 78d, ffbff3a0) + 93c
 00045ed0 mbox_sync (1, 18, 3, c94c0, 0, ca8f1) + 36c
 000462f4 mbox_storage_sync_init (c94c0, 3, 0, 0, 0, b595c) + 54
 000723dc mailbox_sync_init (c94c0, 3, 0, 65642e00, 0, 8855c) + c
 00030368 imap_sync_init (ca8b8, c94c0, 0, 3, 0, 8855c) + 34
 00030904 cmd_sync (c35b4, 3, 0, 91b68, 80808080, 1010101) + 64
 000259bc cmd_check (1, c2c68, 0, 8, 2a404, c2c68) + 2c
 00029dd4 client_handle_input (c35b4, c38a0, b6180, be198, 7f00, 6000000) + 138
 00029d4c client_handle_input (0, 45e85361, b6180, be198, 45e85361, 4000000) + b0
 00029f48 _client_input (c3570, c3570, 2c4, 0, 1, 0) + 84
 000869a8 io_loop_handler_run (c0d68, 0, 0, ffbffa3c, 4c, 80000000) + 140
 0008625c io_loop_run (c0d68, ff212cb0, 1, b615c, bae80, ff215dbc) + 1c
 00032334 main     (ffbffc3d, b4c00, b61ec, b615c, c1314, ff3a0180) + 3f8
 00024d20 _start   (0, 0, 0, 0, 0, 0) + 5c

dovecot: Mar 02 10:51:20 Error: IMAP(brittle): file mbox-sync-rewrite.c: line 40
8 (mbox_sync_read_and_move): assertion failed: (need_space == (uoff_t)-mails[idx
].space)
dovecot: Mar 02 10:51:20 Error: IMAP(brittle): Raw backtrace: 0x80670 -> 0x4952c
 -> 0x44118 -> 0x45ed0 -> 0x462f4 -> 0x723dc -> 0x30368 -> 0x30904 -> 0x259bc ->
 0x29dd4 -> 0x29d4c -> 0x29f48 -> 0x869a8 -> 0x8625c -> 0x32334 -> 0x24d20
dovecot: Mar 02 10:51:21 Error: child 621975 (imap) killed with signal 6

BTW, Timo, we should try to get symbolic backtraces working in Solaris.
I'll try to find a few minutes to figure that out.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - dp at eng.sun.com - blogs.sun.com/dp


More information about the dovecot mailing list