On Wed, Feb 27, 2013 at 14:27:49 +0100, Walter Steiner wrote:
- and without the acl plugin .. Core was generated by `/m/sw/dc/a/bin/doveadm -Dv backup -R -u cyrtest1@iai.uni-bonn.de -m INBOX imapc'. Program terminated with signal 11, Segmentation fault. [New process 94912 ] #0 0x00000000004578cc in dsync_ibc_send_mail_request (ibc=0x4a9f20, request=0x5441c0) at dsync-ibc.c:38 38 return ibc->v.is_send_queue_full(ibc) ? (gdb) bt full #0 0x00000000004578cc in dsync_ibc_send_mail_request (ibc=0x4a9f20, request=0x5441c0) at dsync-ibc.c:38 __FUNCTION__ = "dsync_ibc_send_mail_request" #1 0x000000000044a6b1 in dsync_brain_send_mail_request (brain=0x4aa5e0) at dsync-brain-mails.c:25 request = (const struct dsync_mail_request *) 0x5441c0 __FUNCTION__ = "dsync_brain_send_mail_request"
Now this is a strange one. Can you reproduce itIn gdb show also the result of:
p *ibc
(gdb) p *ibc $1 = {v = {deinit = 0x45c5eb
, send_handshake = 0x45c753 , recv_handshake = 0x45c804 , send_end_of_list = 0x45c8b6 , send_mailbox_state = 0x45c8e4 , recv_mailbox_state = 0x45c951 , send_mailbox_tree_node = 0x45c9e1 , recv_mailbox_tree_node = 0x45ca54 , send_mailbox_deletes = 0x45cade , recv_mailbox_deletes = 0x45cb3d , send_mailbox = 0x45cbc8 , recv_mailbox = 0x45cd11 , send_change = 0x45cd79 , recv_change = 0x45cdce , send_mail_request = 0x45ce36 , recv_mail_request = 0x45ce9f , send_mail = 0x45cf07 , recv_mail = 0x45cfff , close_mail_streams = 0x45d0ce , is_send_queue_full = 0x45c855 , has_pending_data = 0x45c889 }, io_callback = 0x445827 , io_context = 0x4a9fd0, failed = 0}
Hello Timo et al,
is there a chance that the crash I have reported two weeks ago can be fixed? Or any thoughts about what triggers it / what I better try to avoid / I do wrong? Any help is appreciated!
I'm afraid that our window of time for switching IMAP server software will shut this month and we are forced to stay with cyrus for another dozen of years.
I've compiled each nightly but a segmentation fault remains.
Is there anything I can do to avoid it or give helpful information?
Short reminder: with 2.1.15 mailboxes are being transferred from the cyrus box. With 2.2(-20130314) not even a single mail in a single mailbox made it to the dovecot side. The plan is to use doveadm backup to transfer and adapt the content of the cyrus server to the new dovecot server while the cyrus server remains in use. After running some iter- ations (each will take less time) we switch the service from cyrus to dovecot. We think it is better to not start with 2.1.x as we want to benefit from the new 2.2 dsync protocol to keep two dovecot servers in sync.
I have tried to simplify the configuration which is following:
# 20130314: /m/sw/dc/2.2-20130314/etc/dovecot/dovecot.conf # OS: SunOS 5.11 i86pc zfs auth_debug = yes auth_debug_passwords = yes auth_default_realm = iai.uni-bonn.de auth_master_user_separator = * auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = sha1 base_dir = /var/run/dovecot/ debug_log_path = /tmp/dcd imapc_features = rfc822.size imapc_host = mailbox.iai.uni-bonn.de imapc_list_prefix = INBOX imapc_master_user = *removed* imapc_password = *removed* imapc_port = 993 imapc_ssl = imaps imapc_ssl_verify = no imapc_user = %n log_path = /tmp/dce mail_debug = yes mail_gid = dovemail mail_location = sdbox:/m/d/imap/mbox/m/%n mail_plugins = notify mail_log mail_uid = dovemail namespace inbox { hidden = no inbox = yes list = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = separator = / subscriptions = yes type = private } namespace user { hidden = no list = children location = sdbox:/m/d/imap/mbox/m/%%n prefix = user/%%u/ separator = / type = shared } passdb { args = scheme=CRYPT username_format=%u /m/d/etc/user/pw driver = passwd-file } passdb { args = username_format=%n /m/d/etc/user/global/pw-master-giat driver = passwd-file master = yes pass = yes } passdb { args = username_format=%n /m/d/etc/user/global/pw-master-top driver = passwd-file master = yes pass = yes } passdb { args = username_format=%n /m/d/etc/user/global/pw-master-top driver = passwd-file } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change append mailbox_create save flag_change mail_log_fields = uid box msgid size } protocols = imap pop3 service auth-worker { user = doveauth } service auth { user = doveauth } service imap-login { process_min_avail = 4 service_count = 1 } service imap { executable = imap process_limit = 1024 } service pop3 { executable = pop3 process_limit = 64 } ssl_cert =
Thanks in advance, Walter Steiner