# logs ##### Sep 13 06:36:59 hostname dovecot: imap-login: Login: username [123.123.123.123] Sep 13 06:37:01 hostname dovecot: IMAP(username): mbox sync: UID inserted in the middle of mailbox /home/username/.mail/Trash (3 > 2) Sep 13 06:37:01 hostname dovecot: IMAP(username): file mail-index-transaction.c: line 103 (mail_index_buffer_convert_to_uids): assertion failed: (*seq != 0) Sep 13 06:37:02 hostname dovecot: child 1022 (imap) killed with signal 6 ...(retry)... Sep 13 06:49:22 hostname dovecot: imap-login: Login: username [123.123.123.123] Sep 13 06:49:36 hostname dovecot: IMAP(username): file mail-index-transaction.c: line 103 (mail_index_buffer_convert_to_uids): assertion failed: (*seq != 0) Sep 13 06:49:37 hostname dovecot: child 29907 (imap) killed with signal 6 # backtrace ##### This GDB was configured as "i386-unknown-openbsd2.9"... Core was generated by `imap'. Program terminated with signal 6, Abort trap. Reading symbols from /usr/libexec/ld.so...done. Reading symbols from /usr/lib/libc.so.26.2...done. #0 0x400b26ff in _thread_sys_kill () (gdb) bt #0 0x400b26ff in _thread_sys_kill () #1 0x400de680 in abort () #2 0x4194b in i_internal_panic_handler ( fmt=0x2b480 "file %s: line %d (%s): assertion failed: (%s)", args=0xdfbfd8bc "bī\002") at failures.c:374 #3 0x414e7 in i_panic ( format=0x2b480 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 #4 0x2b594 in mail_index_buffer_convert_to_uids (t=0x65c00, buf=0x5b4a0, record_size=8, range=1) at mail-index-transaction.c:103 #5 0x2b646 in mail_index_transaction_convert_to_uids (t=0x65c00) at mail-index-transaction.c:135 #6 0x2b6db in mail_index_transaction_commit (t=0x65c00, log_file_seq_r=0xdfbfd9a8, log_file_offset_r=0xdfbfd9ac) at mail-index-transaction.c:163 #7 0x1c0ad in mbox_sync (ibox=0x65800, flags=0) at mbox-sync.c:1232 #8 0x1c374 in mbox_storage_sync_init (box=0x65800, flags=0) at mbox-sync.c:1326 #9 0x3561d in mailbox_sync_init (box=0x65800, flags=0) at mail-storage.c:329 #10 0xba5b in imap_sync_nonselected (box=0x65800, flags=0) at imap-sync.c:153 #11 0x4c43 in get_mailbox_status (client=0x69100, storage=0x69080, mailbox=0x6b0c8 "Trash", items=31, status=0xdfbfdb6c) at cmd-status.c:68 #12 0x4da6 in cmd_status (client=0x69100) at cmd-status.c:110 #13 0x5f66 in client_handle_input (client=0x69100) at client.c:323 #14 0x6039 in _client_input (context=0x69100) at client.c:367 #15 0x45d8c in io_loop_handler_run (ioloop=0x66040) at ioloop-poll.c:184 #16 0x45605 in io_loop_run (ioloop=0x66040) at ioloop.c:218 #17 0xd668 in main (argc=1, argv=0xdfbfdcd4, envp=0xdfbfdcdc) at main.c:214