Hi!
Using HEAD, and after the 7193:e5af14239137 changeset (Store physical message sizes also to dovecot-uidlist if needed.) I'm getting this:
(gdb) bt full #0 0x0a0a80dd in kill () from /usr/lib/libc.so.41.0 No symbol table info available. #1 0x0a0e04a7 in abort () at /usr/src/lib/libc/stdlib/abort.c:65 p = (struct atexit *) 0x84992000 cleanup_called = 0 mask = 4294967263 #2 0x1c0746cd in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x3c000100 "file %s: line %d (%s): assertion failed: (%s)", args=0xcfbee4a4 "ĐA") at failures.c:423 backtrace = 0x1c0739f1 ";\003u\vÇ\003" #3 0x1c0741cb in i_panic (format=0x3c000100 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:195 No locals. #4 0x1c029a89 in maildir_mail_get_physical_size (_mail=0x7ee27428, size_r=0xcfbee598) at maildir-mail.c:361 mbox = (struct maildir_mailbox *) 0x7ee22028 data = (struct index_mail_data *) 0x7ee2749c st = {st_dev = -809573008, st_ino = 671359322, st_mode = 3485394200, st_nlink = 134504406, st_uid = 2264813824, st_gid = 671359313, st_rdev = -809573016, st_lspare0 = -809573008, st_atimespec = {tv_sec = 671359322, tv_nsec = 3690}, st_mtimespec = {tv_sec = 0, tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 2883503177569592696, st_blocks = 19440464480, st_blksize = 3485394312, st_flags = 134504965, st_gen = 2264813824, st_lspare1 = 2128748960, __st_birthtimespec = {tv_sec = 671359313, tv_nsec = -809573016}, st_qspare = {20665263472, 3485394280}} path = 0x0 #5 0x1c04a120 in mail_get_physical_size (mail=0x0, size_r=0xcfbee598) at mail.c:100 No locals. #6 0x0804672b in quota_alloc (ctx=0x7d5ec5c0, mail=0x7ee27428) at quota.c:777 size = 3842 #7 0x080465cb in quota_try_alloc (ctx=0x7d5ec5c0, mail=0x7ee27428, too_large_r=0xcfbee5fb) at quota.c:725 size = 3842 ret = 0 #8 0x08049d2e in quota_check (t=0x876b3300, mail=0x7ee27428) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x7d5ec5c0 ret = 0 too_large = false #9 0x1c04c30b in mailbox_copy (t=0x0, mail=0x7ee27028, flags=0, keywords=0x0, dest_mail=0x0) at mail-storage.c:741 No locals. #10 0x1c0116e6 in fetch_and_copy (client=0x86fe3180, destbox=0x7ee22028, t=0x876b3300, search_args=0x84d55068, src_uidset_r=0x52fe, copy_count_r=0x0) at cmd-copy.c:66 ---Type <return> to continue, or q <return> to quit--- search_ctx = (struct mail_search_context *) 0x876b3700 src_trans = (struct mailbox_transaction_context *) 0x876b3500 keywords = (struct mail_keywords *) 0x0 keywords_list = (const char * const *) 0x87c890e8 mail = (struct mail *) 0x7ee27028 copy_count = 1 srcset_ctx = {str = 0x83e872f0, first_uid = 0, last_uid = 4294967295} src_uidset = (string_t *) 0x83e872f0 ret = 1 #11 0x1c011899 in cmd_copy (cmd=0x84d55028) at cmd-copy.c:136 client = (struct client *) 0x86fe3180 storage = (struct mail_storage *) 0x890a9c28 destbox = (struct mailbox *) 0x7ee22028 t = (struct mailbox_transaction_context *) 0x876b3300 search_arg = (struct mail_search_arg *) 0x84d55068 messageset = 0x876d90d0 "3691:3693,3690" mailbox = 0x876d90e0 "Trash" src_uidset = 0xc "ČÎ\a*,äžĎXäžĎ" msg = 0x0 sync_flags = 0 imap_flags = 0 copy_count = 469853808 uid_validity = 469853899 uid1 = 2213048760 uid2 = 2299171840 ret = 9 #12 0x1c015192 in cmd_uid (cmd=0x84d55028) at cmd-uid.c:26 command = (struct command *) 0x52fe cmd_name = 0x876d90c8 "COPY" #13 0x1c0160f2 in client_command_input (cmd=0x84d55028) at client.c:536 client = (struct client *) 0x86fe3180 command = (struct command *) 0x52fe #14 0x1c015fc9 in client_command_input (cmd=0x84d55028) at client.c:585 client = (struct client *) 0x86fe3180 command = (struct command *) 0x52fe ---Type <return> to continue, or q <return> to quit--- #15 0x1c01614f in client_handle_next_command (client=0x86fe3180, remove_io_r=0xcfbee7db) at client.c:601 size = 36 #16 0x1c0161f5 in client_handle_input (client=0x86fe3180) at client.c:636 _data_stack_cur_id = 3 remove_io = false handled_commands = false #17 0x1c0162b6 in client_input (client=0x86fe3180) at client.c:674 cmd = (struct client_command_context *) 0x24 bytes = 36 #18 0x1c07adb4 in io_loop_handler_run (ioloop=0x86bdf0e0) at ioloop-kqueue.c:149 ctx = (struct ioloop_handler_context *) 0x89236030 events = (struct kevent *) 0x86bdf360 tv = {tv_sec = 3, tv_usec = 424767} ts = {tv_sec = 3, tv_nsec = 424767000} io = (struct io_file *) 0x86bdf360 t_id = 2 ret = 1 i = 0 #19 0x1c07a3c9 in io_loop_run (ioloop=0x86bdf0e0) at ioloop.c:301 No locals. #20 0x1c01ccd4 in main (argc=1, argv=0xcfbee900, envp=0xcfbee908) at main.c:293 No locals.
Thanks!
Daniel