Hello List,
I am having the same problem with dovecot 2.2.1 on RHEL and dovecot 2.2.2 on FreeBSD and the imapc proxy. moving eMail from one folder to another folder. the error is reproducible.
Logfile RHEL/Dovecot 2.2.1: May 31 19:57:45 imap(mail@--------.com): Panic: file mail-storage.c: line 2100 (mailbox_copy): assertion failed: (!ctx->unfinished) May 31 19:57:45 imap(mail@--------.com): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x5f68a) [0x7fd60b76a68a] -> /usr/lib64/dovecot/libdovecot.so.0(+0x5f6d6) [0x7fd60b76a6d6] -> /usr/lib64/dovecot/libdovecot.so.0(+0x1fffa) [0x7fd60b72affa] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x792f2) [0x7fd60ba402f2] -> dovecot/imap() [0x40bebb] -> dovecot/imap(command_exec+0x3d) [0x41502d] -> dovecot/imap() [0x414190] -> dovecot/imap() [0x41427d] -> dovecot/imap(client_handle_input+0x11d) [0x4144fd] -> dovecot/imap(client_input+0x6f) [0x41486f] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7fd60b7799d6] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xa7) [0x7fd60b77aa87] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7fd60b779978] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd60b72fa63] -> dovecot/imap(main+0x2a9) [0x41dcf9] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fd60b396cdd] -> dovecot/imap() [0x40a579] May 31 19:57:45 imap(mail@--------.com): Fatal: master: service(imap): child 27742 killed with signal 6 (core dumped)
Logfile FreeBSD / Dovecot 2.2.2: May 31 19:53:41 imap(mail@--------.com): Panic: file mail-storage.c: line 2105 (mailbox_copy): assertion failed: (!ctx->unfinished) May 31 19:53:41 imap(mail@--------.com): Fatal: master: service(imap): child 2077 killed with signal 6 (core not dumped)
the configuration is more or less the same on both: # 2.2.1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-358.6.2.el6.x86_64 x86_64 CentOS release 6.4 (Final) auth_mechanisms = plain login first_valid_uid = 97 imapc_host = imap.upstreamserver.com log_path = /var/log/dovecot.log mail_gid = dovecot mail_home = /clusterdata2/imapcache/%u mail_location = imapc:~/imapc mail_uid = dovecot passdb { args = host=imap.upstreamserver.com default_fields = userdb_imapc_user=%u userdb_imapc_password=%w driver = imap } protocols = imap service auth { unix_listener auth-client { mode = 0666 user = dovecot } } service imap { drop_priv_before_exec = yes } ssl_cert =
and finally the coredump from RHEL/Dovecot 2.2.1: # gdb /usr/libexec/dovecot/imap core GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/libexec/dovecot/imap...(no debugging symbols found)...done. [New Thread 27742] Reading symbols from /usr/lib64/dovecot/libdovecot-storage.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/dovecot/libdovecot-storage.so.0 Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/librt.so.1 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libnss_files.so.2 Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libgcc_s.so.1 Core was generated by `dovecot/imap'. Program terminated with signal 6, Aborted. #0 0x00007fd60b3aa8a5 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install dovecot-2.2.1-0_134.el6.x86_64 (gdb) bt full #0 0x00007fd60b3aa8a5 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00007fd60b3ac085 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00007fd60b76a698 in ?? () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007fd60b76a6d6 in ?? () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #4 0x00007fd60b72affa in i_panic () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #5 0x00007fd60ba402f2 in mailbox_copy () from /usr/lib64/dovecot/libdovecot-storage.so.0 No symbol table info available. #6 0x000000000040bebb in ?? () No symbol table info available. #7 0x000000000041502d in command_exec () No symbol table info available. #8 0x0000000000414190 in ?? () No symbol table info available. #9 0x000000000041427d in ?? () No symbol table info available. #10 0x00000000004144fd in client_handle_input () No symbol table info available. #11 0x000000000041486f in client_input () No symbol table info available. #12 0x00007fd60b7799d6 in io_loop_call_io () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #13 0x00007fd60b77aa87 in io_loop_handler_run () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #14 0x00007fd60b779978 in io_loop_run () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #15 0x00007fd60b72fa63 in master_service_run () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #16 0x000000000041dcf9 in main () No symbol table info available. (gdb)
any ideas ?