Bug 207124 - Kontact process hangs after quitting
Summary: Kontact process hangs after quitting
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 208510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-11 22:59 UTC by Thomas Zell
Modified: 2011-01-12 11:33 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Zell 2009-09-11 22:59:54 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

Since KDE 4.3.0 very often after using Kontact for a while and then quitting it, the process remains active (without using CPU time, however). I then have to kill it manually. Otherwise it refuses to start again and will also be considered "running" by the KDE session manager, which will start it automatically at the next login.
Comment 1 François L. 2009-09-12 22:27:35 UTC
I can observe the same behavior with Kdemod 4.3.1 on archlinux.
Comment 2 Thomas Zell 2009-09-12 23:06:05 UTC
I can reliably trigger this bug by doing the following:
1) start Kontact
2) click on 'Feeds'
3) click on 'Complete Story' in any feed
4) close the newly opened tab
5) quit Kontact
Comment 3 Thomas Zell 2009-10-09 12:46:43 UTC
still present in KDE 4.3.2
Comment 4 Greg Bouzakis 2009-10-26 18:17:04 UTC
It happens here too with Slackware and KDE 4.3.2.
I think https://bugs.kde.org/show_bug.cgi?id=208510 is a duplicate of this report.
Comment 5 Christophe Marin 2009-10-29 14:00:34 UTC
*** Bug 208510 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Zell 2009-11-07 09:27:18 UTC
still present in KDE 4.3.3
Comment 7 Roberto 2009-11-13 09:49:14 UTC
confirmed for kde 4.3.3 on debian-sid-64 and on kubuntu-64
Comment 8 Médéric Boquien 2009-11-21 16:14:10 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Thomas Tanghus 2009-12-01 11:36:56 UTC
This thread:

http://lists.kde.org/?t=125960344900003&r=1&w=2

suggests that it may have something to do with having month view selected in KOrganizer when shutting down Kontact.
I tried Anne's suggestion and could confirm it. Others couldn't confirm it though.
Comment 10 Dennis Koch 2009-12-06 02:50:06 UTC
I can confirm this bug for KDE 4.3.4 on openSUSE 11.2 x86_64 too, but only if I mark news as read (doesn't matter if it is done automatic or manual). If I don't, Kontact closes without problems.
Akregator without Kontact doesn't seem to have this problem. It closes completely although I mark new news as read.
Any changes in KOrganizer doesn't work for me.
Comment 11 Łukasz Ligowski 2009-12-19 05:01:11 UTC
same here on Gentoo (kde 4.3.4) x86_64
Comment 12 Robert Smits 2009-12-20 21:31:30 UTC
(In reply to comment #10)
> I can confirm this bug for KDE 4.3.4 on openSUSE 11.2 x86_64 too, but only if I
> mark news as read (doesn't matter if it is done automatic or manual). If I
> don't, Kontact closes without problems.
> Akregator without Kontact doesn't seem to have this problem. It closes
> completely although I mark new news as read.
> Any changes in KOrganizer doesn't work for me.

The above report may be somewhat misleading. There is no affect when marking a news post in knode - the usual context of "news". If however you mark an article in Kaggregator from an RSS Feed, the problem definitely occurs then. I, too, am using OpenSuse 11.2 64 bit version with KDE 4.3.4.
Comment 13 Thomas Zell 2010-01-03 19:19:53 UTC
In the following case the bug does not occur:

1) Enable the tray icon for Akregator
2) Follow procedure from comment #2 except for last step
3) Quit Kontact through the context menu of the Akregator tray icon

In this case I get an additional dialog
 "Do you really want to quit Kontact?"
and no hanging process remains after pressing "Ok".
Comment 14 Thomas Zell 2010-02-12 00:39:44 UTC
After upgrading to KDE 4.4, I no longer see this behavior.
Comment 15 Robert Smits 2010-03-04 21:46:25 UTC
Is this going to be fixed in 4.3.5? I'm reluctant to move to 4.4 until the distro adds it. (Opensuse)
Comment 16 Christiaan ter Veen 2010-12-06 21:44:57 UTC
This problem regarding "Mark (all) feeds as read" still exists using Kubuntu 11.04 (Natty) alpha 1 AMD64 (Kontact 4.4.7, KDE 4.5.80 (4.6 Beta1), Akregator 1.6.5)

I had no problems with month view or opening feeds in tabs as described before.

Closing Kontact via the Akregator tray icon works well as a workaround.
Comment 17 Christophe Marin 2011-01-12 11:07:26 UTC
(In reply to comment #14)
> After upgrading to KDE 4.4, I no longer see this behavior.

Thanks for the feedback. Closing.
Comment 18 Thomas Tanghus 2011-01-12 11:33:54 UTC
Whoa! Maybe not so fast ;-)

I've been wanting to update this bug report for a while but kept procrastinating ;-)

If you have your calendar or contacts on a remote server (I use http://www.memotoo.com ) Kontact syncs on close spawning off a KIO process which can take up to a couple of minutes to complete. Until the KIO process has finished the Kontact process is still alive, although idle. If you quit Kontact and then log out before the syncing is complete it will be started by the SM on next login but fail with an error saying something like "Kontact seems to be running in another process."

This is Kontact 4.4.9 on KDE SC 4.6 RC2 on Kubuntu 10.10.