cyrus imapd segfaults during mailbox transfer (XFER)
Closed, ResolvedPublic


Using latest cyrus-imapd package: cyrus-imapd-2.5.7-24.1
Trying to transfer mailbox from backend server A to backend server B in murder setup, with kolab transfer command. Here is what debug level 9 gives me on server A:

2016-04-24 11:23:46,492 pykolab.imap DEBUG [26577]: Continuing with separator: '/'
2016-04-24 11:23:46,493 pykolab.imap DEBUG [26577]: Detected we are running in a Murder topology
  23:46.49 > FCLF4 XFER "user/user@kvm.tinklas" backendb.kvm.tinklas
  23:48.19 < FCLF4 NO Server(s) unavailable to complete operation
  23:48.19      matched r'(?P<tag>FCLF\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('FCLF4', 'NO', 'Server(s) unavailable to complete operation')
  23:48.19 NO response: Server(s) unavailable to complete operation

And here is what I see on server B:

Apr 24 11:23:47 backendb kernel: imapd[3700]: segfault at 30 ip 00007fb37447a5e3 sp 00007ffdfbee48e0 error 4 in[7fb374464000+6f000]

After that mailboxes on backendb is created, but no mails are transferred. Mailbox now exist on both backends, although on backendb ctl_mboxlist -m -w reports that a force removal of mailbox is pending. After running ctl_mboxlist -m , mailbox on backendb is deleted and we are in the initial state, where mailbox resides on backenda.


Ticket Type

Event Timeline

adomaitis assigned this task to vanmeeuwen.
adomaitis added a project: Cyrus IMAP.
vanmeeuwen closed this task as Resolved.Jun 1 2016, 6:30 PM