[Bug 309015] New: Kontact stops working on internet connection loss, KDE logout needed for recovery
gustavo at angulosolido.pt
gustavo at angulosolido.pt
Thu Oct 25 23:36:00 BST 2012
https://bugs.kde.org/show_bug.cgi?id=309015
Bug ID: 309015
Severity: normal
Version: 4.8.x
Priority: NOR
Assignee: kdepim-bugs at kde.org
Summary: Kontact stops working on internet connection loss, KDE
logout needed for recovery
Classification: Unclassified
OS: Linux
Reporter: gustavo at angulosolido.pt
Hardware: Ubuntu Packages
Status: UNCONFIRMED
Component: mail
Product: kontact
Kontact stops fetching emails upon internet connection loss and doesn't
recover. The account type is IMAP with SSL. Kontact version is 4.8.5 (not
available in the version list in the bugtracker).
Closing Kontact and opening again doesn't help. It still doesn't fetch emails
and the progress
indicator (progress bar at the right bottom corner) doesn't show up.
It be seen that an akonadi_imap processe is left ofer:
user 22261 9154 1 Oct24 ? 00:19:25 /usr/bin/akonadi_imap_resource
--identifier akonadi_imap_resource_0
Stracing the process we can see it is in a cycle of
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN},
{fd=6, events=POLLIN}, {fd=12, events=POLLIN}], 5, -1) = 1 ([{fd=6,
revents=POLLIN}])
read(3, 0xbf812c6c, 16) = -1 EAGAIN (Resource temporarily
unavailable)
recv(6,
"j\0\3\1C\0\0\0\1\0\200\2\1\0\0\0\251\255\7\232\251\255\7\232\10\200\273\277z\32\6\10",
4096, 0) = 32
recv(6, 0x9276f90, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recv(6, 0x9276f90, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recv(6, 0x9276f90, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recv(6, 0x9276f90, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
clock_gettime(CLOCK_MONOTONIC, {3043019, 547303416}) = 0
recv(6, 0x9276f90, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN},
{fd=6, events=POLLIN}, {fd=12, events=POLLIN}], 5, -1) = 1 ([{fd=6,
revents=POLLIN}])
We can also see with netstat that a connection is still in state ESTABLISHED
tcp 0 0 192.168.1.10:51614 X.Y.W.Z:993 ESTABLISHED
22261/akonadi_imap
Killing the akonadi_imap processes doesn't help: kontact starts up with all the
email folders in red characters (see atachment).
Killing ALL akonadi processes solves the problem as Kontact restarts akonadi.
An end user would have to logout / login again to restart receiving emails.
Conclusion: the akonadi backend does not deal with connections interruptions
and Kontact does not deal with akonadi's misbehaviour.
Reproducible: Always
Steps to Reproduce:
1. open Kontact and fetch mails
2. loose internet connection
3. observe that Kontact is not fetching emails anymore
Actual Results:
Kontact stopped fetching emails.
Expected Results:
Kontact should realize the internet connection is available already and restar
working properly.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list