Bug 259052 - Akonadi IMAP stalls when server subscription includes non-existent folders
Summary: Akonadi IMAP stalls when server subscription includes non-existent folders
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 1.4.80
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 21:47 UTC by Thiago Macieira
Modified: 2010-12-24 12:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Macieira 2010-12-06 21:47:15 UTC
Version:           1.4.80 (using Devel) 
OS:                Linux

When I have some folders in my server-side subscription list that don't exist (because they were deleted but not unsubscribed), Akonadi often stalls and doesn't finish the process.

If this happens, the entire resource process becomes unresponsive. It's impossible to trigger a new synchronisation or cancel the current running one. It's also impossible to configure it.

gdb shows that the process is idling in the event loop.

Reproducible: Sometimes

Steps to Reproduce:
1. Start synchronisation in kmail or in akonadiconsole

Actual Results:  
Synchronisation stalls somewhere

Expected Results:  
Synchronisation should finish

$ akonadiserver --version
Akonadi 1.4.80 (revision: d0502b1)

Account: IMAP, disconnect mode enabled, server-side subscriptions enabled
Server: Microsoft Exchange 2010
Transport: SSL

Example of traffic:
C: A001036 SELECT "INBOX/dev/ci errors"
S: A001036 NO INBOX/dev/ci errors doesn't exist.
Comment 1 Volker Krause 2010-12-24 12:57:23 UTC
Revision 1208436 fixes handling of not available subscribed folders. I couldn't get the IMAP resource to hang in this case here though, it just created phantom folders that triggered errors on access, but that might vary depending on the server.