[Dovecot] dsync crash

Василий Шоков v.shokov at rittal.ru
Wed Sep 15 17:34:17 EEST 2010


Hello,

 

When I run  

dsync -u v.shokov -Dv mirror sdbox:/dsync/v.shokov 

first time, process halting.

 

On second time I receive this error:

 

dsync(root): Debug: auth input: v.shokov system_groups_user=v.shokov uid=10000 gid=100 home=/home/v.shokov

dsync(root): Debug: Effective uid=10000, gid=100, home=/home/v.shokov

dsync(root): Debug: Namespace : type=private, prefix=, sep=., inbox=no, hidden=yes, list=yes, subscriptions=yes location=maildir:/home/v.shokov/mail:INDEX=/var/dovecot_index/v.shokov

dsync(root): Debug: maildir++: root=/home/v.shokov/mail, index=/var/dovecot_index/v.shokov, control=, inbox=

dsync(root): Debug: Namespace : type=private, prefix=.INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/mail/inbox/:INDEX=/var/dovecot_index/v.shokov/inbox

dsync(root): Debug: maildir++: root=/home/v.shokov/mail/inbox, index=/var/dovecot_index/v.shokov/inbox, control=, inbox=/home/v.shokov/mail/inbox

dsync(root): Debug: Effective uid=10000, gid=100, home=/home/v.shokov

dsync(root): Debug: Namespace : type=private, prefix=, sep=., inbox=no, hidden=yes, list=yes, subscriptions=yes location=sdbox:/dsync/v.shokov

dsync(root): Debug: fs: root=/dsync/v.shokov, index=, control=, inbox=

dsync(root): Debug: Namespace : type=private, prefix=.INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/mail/inbox/:INDEX=/var/dovecot_index/v.shokov/inbox

dsync(root): Debug: maildir++: root=/home/v.shokov/mail/inbox, index=/var/dovecot_index/v.shokov/inbox, control=, inbox=/home/v.shokov/mail/inbox

dsync(v.shokov): Debug: Namespace : Using permissions from /home/v.shokov/mail: mode=0700 gid=-1

dsync(v.shokov): Debug: Namespace : Using permissions from /dsync/v.shokov: mode=0777 gid=-1

dsync(v.shokov): Panic: file mailbox-list-fs.c: line 150 (fs_list_get_path): assertion failed: (mailbox_list_is_valid_pattern(_list, name))

dsync(v.shokov): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0 [0x224ae0] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x45) [0x224bd5] -> /usr/lib/dovecot/libdovecot.so.0 [0x224168] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0x181866] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_get_path+0x1d) [0x14d9bd] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0x182724] -> /usr/lib/dovecot/libdovecot-storage.so.0(fs_list_iter_next+0x42) [0x182262] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_next+0x12) [0x14da42] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0x14ec7f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_next+0x12) [0x14da42] -> dsync [0x80580a6] -> dsync [0x804ed08] -> dsync(dsync_brain_sync+0x447) [0x804e067] -> dsync [0x804ef29] -> dsync(dsync_brain_sync+0x3f6) [0x804e016] -> dsync(dsync_brain_sync_all+0x18) [0x804ec08] -> dsync(main+0x52b) [0x804d06b] -> /lib/libc.so.6(__libc_start_main+0xe0) [0x2e8f90] -> dsync [0x804c951]

 

My Dovecot version is 2.0.2.

 

My config file is:

# 2.0.2: /etc/dovecot/dovecot.conf

# OS: Linux 2.6.23.15-80.0.120asp i686 Fedora release 7 (Moonshine)

disable_plaintext_auth = no

dotlock_use_excl = yes

listen = 10.62.1.250

lock_method = dotlock

log_path = /var/log/dovecot.log

mail_fsync = never

mail_location = maildir:/home/%u/mail:INDEX=/var/dovecot_index/%u

mmap_disable = yes

namespace {

  hidden = yes

  location =

  prefix =

  separator = .

  type = private

}

namespace {

  hidden = no

  inbox = yes

  location = maildir:~/mail/inbox/:INDEX=/var/dovecot_index/%u/inbox

  prefix = .INBOX.

  separator = .

  type = private

}

passdb {

  driver = pam

}

plugin {

  acl = vfile:/etc/dovecot-acls

}

service auth {

  user = root

}

service imap-login {

  client_limit = 1000

  inet_listener imaps {

    address = *

  }

  process_limit = 256

  process_min_avail = 4

  service_count = 0

  user = dovecot

}

service pop3-login {

  client_limit = 3

  inet_listener pop3s {

    address = *

  }

  process_limit = 10

  process_min_avail = 1

  service_count = 1

  user = dovecot

}

ssl_cert = </etc/pki/dovecot/certs/dovecot.pem

ssl_key = </etc/pki/dovecot/private/dovecot.pem

userdb {

  driver = passwd

}

protocol imap {

  imap_client_workarounds = delay-newmail

  mail_plugin_dir = /usr/lib/dovecot

  mail_plugins = acl

}

protocol lda {

  postmaster_address = root at rittal.ru

}

 

 

Kind regards,

 

Vasiliy Shokov



More information about the dovecot mailing list