Hi Joel,

Try adding -D flag to doveadm, this is the debug flag.

Cheers

Dan

On 10/4/25 00:32, Joel Mawhorter via dovecot wrote:
Hello all,

I'm trying to use deoveadm to sync from a dovecot server running version 2.3.21.1 to a 
version running 2.4.1. On the side initiating the "doveadm sync", I get the 
following error:

dsync-remote([email protected])<NRNIIBS132iEKgAAoT89Zw>: Panic: file 
dsync-mailbox-import.c: line 2188 (dsync_mailbox_import_handle_mail): assertion failed: 
(array_count(&wanted_uids) > 0)
dsync-remote([email protected])<NRNIIBS132iEKgAAoT89Zw>: Error: Raw backtrace: #1 [unw_get_proc_name() failed: -10] -> #2 
default_fatal_handler[0xffffac4800a0] -> #3 i_panic[0xffffac3a3700] -> #4 [unw_get_proc_name() failed: -10] -> #5 
dsync_mailbox_import_changes_finish[0xaaaadf53e804] -> #6 dsync_brain_sync_mails[0xaaaadf53ef4c] -> #7 [unw_get_proc_name() failed: -10] 
-> #8 [unw_get_proc_name() failed: -10] -> #9 [unw_get_proc_name() failed: -10] -> #10 io_loop_call_io[0xffffac4a1e30] -> #11 
io_loop_handler_run_internal[0xffffac4a4420] -> #12 io_loop_handler_run[0xffffac4a4650] -> #13 io_loop_run[0xffffac4a4920] -> #14 
[unw_get_proc_name() failed: -10] -> #15 [unw_get_proc_name() failed: -10] -> #16 doveadm_cmd_ver2_to_mail_cmd_wrapper[0xaaaadf518e90] 
-> #17 doveadm_cmdline_run[0xaaaadf52e824] -> #18 doveadm_cmdline_try_run[0xaaaadf52ef40] -> #19 main[0xaaaadf5051e0] -> #20 
[unw_get_proc_name() failed: -10] -> #21 __libc_start_main[0xffffac0a22e0]
dsync-local([email protected])<RbkUCxO132hp0QAAVDKehA>: Error: 
read(mail2.zzzzz.org) failed: EOF (last sent=mail_request (EOL), last 
recv=mail_change (EOL))
dsync-local([email protected])<RbkUCxO132hp0QAAVDKehA>: Error: Remote command 
returned error 255: ssh zz.zz.zz.zz doveadm dsync-server [email protected]

Neither server has errors in the log corresponding to this error. Both servers 
are still running after this error. I'm looking for some help in how to debug 
this. The above error is entire and only changed to obfuscate domain names and 
IP addresses.

Joel
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to