Hello List,
We just migrated from a PPC Xserve to an Intel Xserve.
I used "rsync" to bring everyone's home directories over, and in the
back of my mind wondered about how it would handle the binary index
files... only one way to find out! :)
Once I tried to login to IMAP, I got the following results:
May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): Rebuilding index
file /Users/cabel/mail/.imap/INBOX/dovecot.index: CPU architecture
changed
May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): fscking index file /
Users/cabel/mail/.imap/INBOX/dovecot.index
May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): Fixed index file /
Users/cabel/mail/.imap/INBOX/dovecot.index: log_file_seq 1 -> 637534208
May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): /Users/cabel/
mail/.imap/INBOX/dovecot.index: log_file_head_offset too small
May 6 19:46:48 posh dovecot[1169]: Panic: IMAP(cabel): file mail-
transaction-log-view.c: line 215 (mail_transaction_log_view_set):
assertion failed: (min_file_offset >= view->tail->hdr.hdr_size)
May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): Raw backtrace: 2
imap0x000839d8 i_set_failure_file +
392 -> 3 imap0x00083283 i_panic + 51
-> 4 imap0x0006f512
mail_transaction_log_view_set + 1170 -> 5
imap0x000669c9 mail_index_sync_map +
297 -> 6 imap0x0005d35c
mail_index_map + 1580 -> 7 imap
0x00061f5e mail_index_transaction_open_updated_view + 958 -> 8
imap0x00062ba6
mail_index_sync_begin_to + 102 -> 9
imap0x0006352d mail_index_sync_begin +
77 -> 10 imap0x00030b50 mbox_sync +
1120 -> 11 imap0x0003203d
mbox_storage_sync_init + 77 -> 12 imap
0x0004f21f mailbox_sync + 31 -> 13
imap0x6167 cmd_select_full + 231 -
> 14 imap0x
May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): 6329 cmd_select + 25 -
> 15 imap0x8409
client_handle_unfinished_cmd + 201 -> 16
imap0x84ab
client_handle_unfinished_cmd + 363 -> 17
imap0x8705
client_handle_unfinished_cmd + 965 -> 18
imap0x8962 client_input + 114 ->
19 imap0x0008c2e9 io_loop_handler_run
+ 313 -> 20 imap0x0008b606
io_loop_run + 70 -> 21 imap0x000119f7
main + 1207 -> 22 imap0x16c6
start + 54
May 6 19:46:49 posh ReportCrash[1222]: Formulating crash report for
process imap[1202]
May 6 19:46:49 posh dovecot[1169]: child 1202 (imap) killed with
signal 6
May 6 19:46:49 posh ReportCrash[1222]: Saved crashreport to /Library/
Logs/CrashReporter/imap_2008-05-06-194648_posh.crash using uid: 0 gid:
0, euid: 0 egid: 0
Naturally, deleting everyone's ".imap" folders fixed the problem.
I'll attach the crash report to this e-mail. Hope this is useful to
someone on this list!
Best,
Cabel
Panic
Process: imap [1202]
Path:/usr/local/libexec/dovecot/imap
Identifier: imap
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: dovecot [1169]
Date/Time: 2008-05-06 19:46:48.366 -0700
OS Version: Mac OS X Server 10.5.2 (9C31)
Report Version: 6
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x96d540ea __kill + 10
1 libSystem.B.dylib 0x96dcb3f2 raise + 26
2 libSystem.B.dylib 0x96dda9af abort + 73
3 imap 0x00083a0a i_internal_fatal_handler
+ 106
4 imap0x00083283 i_panic + 51
5 imap 0x0006f512
mail_transaction_log_view_set + 1170 (mail-transaction-log-view.c:143)
6 imap 0x000669c9 mail_index_sync_map +
297 (mail-index-sync-update.c:753)
7 imap 0x0005d35c mail_index_map + 1580
(mail-index-map.c:926)
8 imap 0x00061f5e
mail_index_sync_begin_init + 78 (mail-index-sync.c:355)
9 imap 0x00062ba6 mail_index_sync_begin_to
+ 102 (mail-index-sync.c:418)
10 imap 0x0006352d mail_index_sync_begin +
77 (mail-index-sync.c:323)
11 imap 0x00030b50 mbox_sync + 1120 (mbox-
sync.c:1684)
12 imap 0x0003203d mbox_storage_sync_init +
77 (mbox-sync.c:1880)
13 imap 0x0004f21f mailbox_syn