Bug #627

Disconnect when trying to expand list of sub-mailboxes

Added by Guido Berhoerster over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:2013-05-09
Priority:NormalDue date:
Assignee:Jan Kundrát% Done:

0%

Category:IMAP
Target version:0.6

Description

When trying to expand the list of sub-mailboxes Trojita disconnects with an "Unknown error", so it is basically not possible to select anything but top-level mailboxes. Here is the log when selecting the top-level "Lists" which contains a number of sub-mailboxes:

09:45:46.128 Imap::Mailbox::ListChildMailboxesTask Listing stuff below mailbox Lists Activated
09:45:46.128 >>> y5 LIST "" "Lists/%" RETURN (SUBSCRIBED CHILDREN STATUS (MESSAGES UNSEEN RECENT))␍␊
09:45:46.274 *** Socket disconnected: Socket is disconnected: Unknown error
09:45:46.274  Socket is disconnected: Unknown error
09:45:46.274 Imap::Mailbox::ListChildMailboxesTask Listing stuff below mailbox Lists Failed: Asked to die
09:45:46.274 *** Connection closed.

History

#1 Updated by Jan Kundrát over 6 years ago

  • Status changed from New to Feedback

Is this reproducible, i.e. does it happen all the time? What IMAP server is it? Do you have access to the server side to see whether there are any errors in the server's log (like the IMAP daemon crashing)?

#2 Updated by Guido Berhoerster over 6 years ago

Yes, it happens every time. This is dovecot 2.0.9 and yes, the imap process is crashing on a failed assertion. Sorry for the noise, I wasn't even considering this to be a possible cause, it doesn't happen with other MUAs (mutt, Thunderbird, Evolution) that use this server. Feel free to close.

#3 Updated by Jan Kundrát over 6 years ago

  • Category set to IMAP
  • Status changed from Feedback to Closed
  • Assignee set to Jan Kundrát
  • Target version set to 0.6

No problem -- please make sure you report this to Timo, the Dovecot author -- and, preferrably, upgrade Dovecot if there's a new release in the 2.0 branch.

As a very blind guess, you might want to add LIST-STATUS and LIST-EXTENDED to the IMAP > Settings -> IMAP -> Extension blacklist if upgrading Dovecot is not possible for some reason - I'd be curious to hear whether this helps.

#4 Updated by Guido Berhoerster over 6 years ago

Sending a plain LIST "" "Lists/%" also doesn't make it crash, so disabling LIST-STATUS does indeed work around the issue. I'm using the RHEL6 package of dovecot so once I've looked into this a bit more I'll file a bug in RH bugzilla.

#5 Updated by Jan Kundrát over 6 years ago

Thanks. I'd appreciate if you could Cc me ( on RH's bugzilla) when you file that bug.

#6 Updated by Guido Berhoerster over 6 years ago

See https://bugzilla.redhat.com/show_bug.cgi?id=961466 I've added you to the CC list.

Also available in: Atom PDF