[Dovecot] 1.0-test17

Tomi Hakala tomi.hakala at clinet.fi
Fri Jun 18 10:58:59 EEST 2004


Timo Sirainen wrote:
> Just mbox fixes since 1.0-test16. The logic is simpler and more correct
> now. Can anyone break it anymore?

_o/, I can.

Every time when indexes are rebuilt, new mail etc, Dovecot segfaults with
this error in logs:

Info: pop3-login: Login: joe [127.0.0.1]
Error: POP3(joe): file mbox-sync.c: line 745 (mbox_sync_handle_eof_updates): assertion failed: (sync_ctx->expunged_space == 0)
Error: child 21489 (pop3) killed with signal 6

Here's a backtrace of it.

(gdb) bt
#0  0x45dc0721 in kill () from /lib/libc.so.6
#1  0x45dc04c5 in raise () from /lib/libc.so.6
#2  0x45dc19e8 in abort () from /lib/libc.so.6
#3  0x0807de25 in i_internal_panic_handler (fmt=0x0, args=0x0) at failures.c:369
#4  0x0807d8f9 in i_panic (format=0x0) at failures.c:173
#5  0x0805f154 in mbox_sync_handle_eof_updates (sync_ctx=0x2e9, mail_ctx=0xba6eed80) at mbox-sync.c:813
#6  0x0805f8e1 in mbox_sync_update_imap_base (sync_ctx=0xba6eee50) at mbox-sync.c:952
#7  0x0805fc54 in mbox_sync (ibox=0x80a7eb8, last_commit=-1, lock=0) at mbox-sync.c:1053
#8  0x0805fdfb in mbox_storage_sync (box=0x80a7eb8, flags=0) at mbox-sync.c:1087
#9  0x08072746 in mailbox_sync (box=0x0, flags=1173120272) at mail-storage.c:372
#10 0x080674af in index_storage_get_status (box=0x80a7eb8, items=9, status=0xba6eefb0) at index-status.c:35
#11 0x0807271d in mailbox_get_status (box=0x45ec6510, items=0, status=0x0) at mail-storage.c:367
#12 0x08051d85 in init_mailbox (client=0x80a7a20) at client.c:54
#13 0x0805207c in client_create (hin=134780866, hout=0, storage=0x80a7930) at client.c:149
#14 0x08053723 in main_init () at main.c:119
#15 0x0805384c in main (argc=1, argv=0x0, envp=0x0) at main.c:152
(gdb) 

This system is a Debian GNU/Linux testing/unstable with kernel 2.4.26-grsec.

-- 
Tomi Hakala


More information about the dovecot mailing list