[Dovecot] Crash on force-resync if / is given as mailbox name

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Sat May 26 16:30:48 EEST 2012


Hi,

when I specify a slash a mailbox name on the command line
of doveadm force-resync, it throws a panic. I'm not sure
this is considered a bug.

mail01:~# doveadm force-resync -u user1 at example.org /
doveadm(user1 at example.org): Panic: file mailbox-list-fs.c: line 150 (fs_list_get_path): assertion failed: (mailbox_list_is_valid_pattern(_list, name))
doveadm(user1 at example.org): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x3a7ca) [0x7f1250b797ca] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7f1250b798b2] -> /usr/lib/dovecot/libdovecot.so.0(+0x13e4a) [0x7f1250b52e4a] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x364a7) [0x7f12512384a7] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_mailbox_alloc+0x13c) [0x7f125124a89c] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_mailbox_alloc+0x9a) [0x7f1251258eaa] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_alloc+0x5d) [0x7f125122c8bd] -> doveadm() [0x40a1fb] -> doveadm() [0x40a2c2] -> doveadm() [0x40a753] -> doveadm(doveadm_mail_single_user+0x61) [0x40a811] -> doveadm() [0x40ac4d] -> doveadm(doveadm_mail_try_run+0x141) [0x40b081] -> doveadm(main+0x3b1) [0x410b11] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f12503cec4d] -> doveadm() [0x40a009]
Aborted

mail01:~# echo $?
134

# 2.0.20: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-40-server x86_64 Ubuntu 10.04.4 LTS

Regards
Daniel



More information about the dovecot mailing list