Bug#923291: kmail: syncing inbox(es) never finishes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#923291: kmail: syncing inbox(es) never finishes

Juha Jäykkä
Package: kmail
Version: 4:18.08.3-1
Severity: normal

Dear Maintainer,

Very often, almost as often as not, syncing an imap inbox never finishes. It will
get stuck at any progress level, from 0% to 100% (yes, it even gets stuck at
100%). This happens with at least google's imap servers as well as three different
dovecot servers.

Steps to reprocude: start kmail, let it run for a while, checking inboxes either
manually or letting the automatic interval check do it for you. In less than 15
minutes at least one of the inboxes gets stuck.

Sometimes normal operation can only be recovered by manually restarting the stuck
agent, but sometimes only restarting the whole akonadi sorts it out.

This makes kmail unusable for me due to the frequency of restarts: often I need to
restart aknoadi between each two emails I read. Assuming this is not widespread,
because if this is, the bug should be RC.

Cheers,
Juha

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kmail depends on:
ii  akonadi-server               4:18.08.3-4
ii  kdepim-runtime               4:18.08.3-1
ii  kio                          5.54.1-1
ii  libc6                        2.28-7
ii  libgcc1                      1:8.2.0-21
ii  libgpgmepp6                  1.12.0-6
ii  libkf5akonadiagentbase5      4:18.08.3-4
ii  libkf5akonadicontact5        4:18.08.3-1
ii  libkf5akonadicore5abi2       4:18.08.3-4
ii  libkf5akonadimime5           4:18.08.3-1
ii  libkf5akonadisearch-bin      4:18.08.3-1
ii  libkf5akonadisearch-plugins  4:18.08.3-1
ii  libkf5akonadisearchdebug5    4:18.08.3-1
ii  libkf5akonadisearchpim5      4:18.08.3-1
ii  libkf5akonadiwidgets5abi1    4:18.08.3-4
ii  libkf5bookmarks5             5.54.0-1
ii  libkf5calendarcore5abi2      4:18.08.3-1
ii  libkf5calendarutils5         4:18.08.3-2
ii  libkf5codecs5                5.54.0-1
ii  libkf5completion5            5.54.0-1
ii  libkf5configcore5            5.54.0-1
ii  libkf5configgui5             5.54.0-1
ii  libkf5configwidgets5         5.54.0-1
ii  libkf5contacts5              4:18.08.3-1
ii  libkf5coreaddons5            5.54.0-1
ii  libkf5crash5                 5.54.0-1
ii  libkf5dbusaddons5            5.54.0-1
ii  libkf5followupreminder5      4:18.08.3-2
ii  libkf5grantleetheme-plugins  18.08.3-1
ii  libkf5gravatar5abi2          4:18.08.3-1
ii  libkf5guiaddons5             5.54.0-1
ii  libkf5i18n5                  5.54.0-1
ii  libkf5iconthemes5            5.54.0-1
ii  libkf5identitymanagement5    18.08.3-2
ii  libkf5itemmodels5            5.54.0-1
ii  libkf5itemviews5             5.54.0-1
ii  libkf5jobwidgets5            5.54.0-1
ii  libkf5kcmutils5              5.54.0-1
ii  libkf5kiocore5               5.54.1-1
ii  libkf5kiofilewidgets5        5.54.1-1
ii  libkf5kiowidgets5            5.54.1-1
ii  libkf5kontactinterface5      18.08.3-1
ii  libkf5ksieveui5              4:18.08.3-2
ii  libkf5libkdepim-plugins      4:18.08.3-2
ii  libkf5libkdepim5             4:18.08.3-2
ii  libkf5libkdepimakonadi5      4:18.08.3-2
ii  libkf5libkleo5               4:18.08.3-2
ii  libkf5mailcommon5abi2        4:18.08.3-2
ii  libkf5mailtransport5         18.08.3-2
ii  libkf5mailtransportakonadi5  18.08.3-2
ii  libkf5messagecomposer5abi1   4:18.08.3-1
ii  libkf5messagecore5abi1       4:18.08.3-1
ii  libkf5messagelist5abi1       4:18.08.3-1
ii  libkf5messageviewer5abi1     4:18.08.3-1
ii  libkf5mime5abi1              18.08.3-1
ii  libkf5mimetreeparser5abi1    4:18.08.3-1
ii  libkf5notifications5         5.54.0-1
ii  libkf5notifyconfig5          5.54.0-1
ii  libkf5parts5                 5.54.0-1
ii  libkf5pimcommon5abi2         4:18.08.3-2
ii  libkf5pimcommonakonadi5abi1  4:18.08.3-2
ii  libkf5pimtextedit5abi2       18.08.3-1
ii  libkf5sendlater5             4:18.08.3-2
ii  libkf5service-bin            5.54.0-1
ii  libkf5service5               5.54.0-1
ii  libkf5sonnetui5              5.54.0-1
ii  libkf5templateparser5        4:18.08.3-1
ii  libkf5textwidgets5           5.54.0-1
ii  libkf5tnef5                  4:18.08.3-1
ii  libkf5wallet-bin             5.54.0-1
ii  libkf5wallet5                5.54.0-1
ii  libkf5webengineviewer5abi1   4:18.08.3-1
ii  libkf5widgetsaddons5         5.54.0-1
ii  libkf5windowsystem5          5.54.0-1
ii  libkf5xmlgui5                5.54.0-1
ii  libqgpgme7                   1.12.0-6
ii  libqt5core5a                 5.11.3+dfsg-5
ii  libqt5dbus5                  5.11.3+dfsg-5
ii  libqt5gui5                   5.11.3+dfsg-5
ii  libqt5network5               5.11.3+dfsg-5
ii  libqt5widgets5               5.11.3+dfsg-5
ii  libqt5xml5                   5.11.3+dfsg-5
ii  libstdc++6                   8.2.0-21

Versions of packages kmail recommends:
ii  accountwizard                   4:18.08.3-1
ii  gnupg                           2.2.12-1
ii  kdepim-addons                   18.08.3-1
ii  kdepim-themeeditors             4:18.08.3-1
ii  mbox-importer                   4:18.08.3-1
ii  pim-data-exporter               4:18.08.3-1
ii  pim-sieve-editor                4:18.08.3-1
ii  pinentry-gnome3 [pinentry-x11]  1.1.0-1+b1
ii  pinentry-qt [pinentry-x11]      1.1.0-1+b1

Versions of packages kmail suggests:
pn  clamav                                                     <none>
ii  kaddressbook                                               4:18.08.3-1
ii  kleopatra                                                  4:18.08.3-1
pn  procmail                                                   <none>
pn  spamassassin | bogofilter | spambayes | bsfilter | crm114  <none>

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#923291: kmail: syncing inbox(es) never finishes

Sandro Knauß-5
Control: tags -1 +moreinfo
Control: reassign -1 akonadi-server 4:18.08.3-4
Control: affects -1 kmail

Hey Juha,

thanks for giving input about the current state of kmail. Unfortunately these
are not enough information to tackle down the issue.

Your issue sounds that  a Akonadi Resource is stuck. Please use akonadiconsole
for debugging. At frist enable logging at the logging tab.

go to the Agent tab select the resource that got stuck and select "Show task
list" and print the output. The queues should all be empty if the sync was
successful.

We may properly to distinguish the issue for google, as goolge's imap
implementation is wired, so let's focus on opensource mailserver dovecot first.

> Steps to reprocude: start kmail, let it run for a while, checking inboxes
> either manually or letting the automatic interval check do it for you. In
> less than 15 minutes at least one of the inboxes gets stuck.

I can't reproduce it on my setup. And I use 5 different accounts dovecot and
kolab.

Do you have stable inet for your tests? If inet went away while syncing, than
sometime Akonadi don't recover. Also putting my laptop to sleep while
currently if syncing breaks Akonadi sometimes.

But in the end of this, it will not be a Debian issue, so you need to to
report the bug upstream: https://bugs.kde.org. Please leave a note about the
concrete link to the upstream bugreport, so we can track the state inhere.

hefee

signature.asc (849 bytes) Download Attachment