[Dovecot] 1.0-test17

Tomi Hakala tomi.hakala at clinet.fi
Fri Jun 18 11:28:14 EEST 2004


Tomi Hakala wrote:
> _o/, I can.

Nevermind that last backtrace, I had a sligth typo on a configure --prefix
path and new binaries got installed somewhere else :-/

But I can get some segfaults with actual test17.

This happens when more than one message is delivered to an empty box with
no indexes present.

Info: Dovecot v1.0-test17 starting up
Info: pop3-login: Login: joe [127.0.0.1]
Error: POP3(joe): file mbox-sync-rewrite.c: line 341 (mbox_sync_fill_leftover):
assertion failed: (start_offset < end_offset)
Error: child 13957 (pop3) killed with signal 6

(gdb) bt
#0  0x46e45721 in kill () from /lib/libc.so.6
#1  0x46e454c5 in raise () from /lib/libc.so.6
#2  0x46e469e8 in abort () from /lib/libc.so.6
#3  0x0807e6d5 in i_internal_panic_handler (fmt=0x0, args=0x0) at failures.c:369
#4  0x0807e1a9 in i_panic (format=0x0) at failures.c:173
#5  0x08063118 in mbox_sync_fill_leftover (sync_ctx=0xb1f8d640, mails=0x80a67c8,
seq=1, idx=0, start_offset=55, end_offset=43)
    at mbox-sync-rewrite.c:341
#6  0x080634f0 in mbox_sync_rewrite (sync_ctx=0xb1f8d640, first_seq=1,
last_seq=134899656, extra_space=2985875008)
    at mbox-sync-rewrite.c:471
#7  0x0805f8c6 in mbox_sync_handle_eof_updates (sync_ctx=0xb1f8d640,
mail_ctx=0xb1f8d560) at mbox-sync.c:819
#8  0x0805fd50 in mbox_sync_do (sync_ctx=0xb1f8d640) at mbox-sync.c:954
#9  0x080601e7 in mbox_sync (ibox=0x80a4348, last_commit=0, lock=0) at
mbox-sync.c:1077
#10 0x080604eb in mbox_storage_sync (box=0x80a4348, flags=0) at mbox-sync.c:1141
#11 0x08072fb6 in mailbox_sync (box=0x0, flags=1190442256) at mail-storage.c:372
#12 0x08067d0f in index_storage_get_status (box=0x80a4348, items=9,
status=0xb1f8d7a0) at index-status.c:35
#13 0x08072f8d in mailbox_get_status (box=0x46f4b510, items=0, status=0x0) at
mail-storage.c:367
#14 0x08051e35 in init_mailbox (client=0x80a3eb0) at client.c:54
#15 0x0805212c in client_create (hin=134783714, hout=0, storage=0x80a3dc0) at
client.c:149
#16 0x080537d3 in main_init () at main.c:119
#17 0x080538fc in main (argc=1, argv=0x0, envp=0x0) at main.c:152
(gdb) quit

Now mailbox is corrupted, first and second message changed their place and
first line of a mailbox contains "From" and "Return-Path" lines.

-- 
Tomi Hakala



More information about the dovecot mailing list