Ok, thanks. I applied the patch and removed the index-Files. The error is gone and another occured. This time: Signal 8, "Arithmetic exception".
The logfile says:
dovecot: Jan 23 11:32:49 Info: IMAP(kric0999): mbox: data=/home/kric0999/mail/:INBOX=/var/mail/kric0999 dovecot: Jan 23 11:32:49 Info: IMAP(kric0999): mbox: root=/home/kric0999/mail, index=/home/kric0999/mail, inbox=/var/mail/kric0999 dovecot: Jan 23 11:32:49 Error: child 18342 (imap) killed with signal 8
Here my bt:
# gdb /opt/dovecot-1.0.rc17/libexec/dovecot/imap /home/kric0999/core GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.10"... Core was generated by `imap'. Program terminated with signal 8, Arithmetic exception. Reading symbols from /usr/lib/libiconv.so.2...done. Loaded symbols for /usr/lib//libiconv.so.2 [...] Reading symbols from /lib/libmd5.so.1...done. Loaded symbols for /lib/libmd5.so.1 #0 0x080a3621 in mail_index_read_map () (gdb) bt full #0 0x080a3621 in mail_index_read_map () No symbol table info available. #1 0x080a3d97 in mail_index_read_map_with_retry () No symbol table info available. #2 0x080a41fe in mail_index_map () No symbol table info available. #3 0x080a4e64 in mail_index_create () No symbol table info available. #4 0x080a5198 in mail_index_open_files () No symbol table info available. #5 0x080a5424 in mail_index_open () No symbol table info available. #6 0x0809b7c2 in index_storage_mailbox_init () No symbol table info available. #7 0x0807aabe in mbox_alloc () No symbol table info available. #8 0x0807acab in mbox_open () No symbol table info available. #9 0x0807af83 in mbox_mailbox_open () No symbol table info available. #10 0x080b95b1 in mailbox_open () No symbol table info available. #11 0x08061dda in _cmd_select_full () No symbol table info available. #12 0x08061fc4 in cmd_select () No symbol table info available. #13 0x08063e33 in client_handle_input () No symbol table info available. #14 0x08064028 in client_handle_input () No symbol table info available. #15 0x0806410b in _client_input () No symbol table info available. #16 0x080d002a in io_loop_handler_run () No symbol table info available. #17 0x080cf665 in io_loop_run () No symbol table info available. #18 0x0806dd17 in main () No symbol table info available.
Timo Sirainen schrieb:
On Tue, 2007-01-23 at 10:46 +0100, Kevin Richter wrote:
#6 0x080cff5c in nearest_power () No symbol table info available. #7 0x080d1677 in pool_get_exp_grown_size () No symbol table info available. #8 0x080c7e20 in buffer_check_limits () No symbol table info available. #9 0x080c8128 in buffer_get_space_unsafe () No symbol table info available. #10 0x080c8150 in buffer_append_space_unsafe () No symbol table info available. #11 0x080a3516 in mail_index_read_map ()
I think this means your index file was corrupted. This patch should fix it by logging an error instead of crashing: http://dovecot.org/list/dovecot-cvs/2007-January/007496.html
You could also just try deleting dovecot.index* files.