Bug 268247 - kdeinit4 hangs after logout
Summary: kdeinit4 hangs after logout
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeinit (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 19:37 UTC by Andreas Roth
Modified: 2012-01-02 15:36 UTC (History)
4 users (show)

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


Attachments
gdb backtrace of kdeinit4 (27.93 KB, application/octet-stream)
2011-03-11 19:37 UTC, Andreas Roth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Roth 2011-03-11 19:37:13 UTC
Created attachment 57879 [details]
gdb backtrace of kdeinit4

Version:           4.6 (using KDE 4.6.1) 
OS:                Linux

On my system I'm using a NFS mounted home directory. For quite some time i have problems that some programs do not save the last state correctly (e.g. konqueror failed to save the active session). 
I don't know exactly if this is directly related to the bug i experience, but it might be and i decided to let you know.

Reproducible: Always

Steps to Reproduce:
- Start KDE (home directory should be on a NFS4 server)
- Logout
- try to unmount the home directory
- fuser -m /home/user shows a stale NFS handle and a kdeinit4 hangs and blocks the unmount


Expected Results:  
after a complete logout no files should be open on the home directory.
Comment 1 Andreas Roth 2011-03-15 19:22:53 UTC
As a work-around i would like to kill all remaining instances of kdeinit4 after a successful logout. In which script do i have to put the line 'killall kdeinit4'?

What else could i do to find the cause of this issue? Do you require more information, more log files?
Comment 2 Sebastian H. 2011-04-16 01:05:21 UTC
Can confirm this problem here on my opensuse 11.4 notebook with kde 4.6.2
Comment 3 Jekyll Wu 2011-05-15 06:09:09 UTC
I am having the same issue with 4.6.3, on both gentoo and archlinux

My home dir is on local filesystem, so I think this issue is not specific 
to NFS home.
Comment 4 Alex 2011-07-09 23:41:36 UTC
Same here on Kubuntu 11.04 with KDE 4.6.5.

kdeinit4 is still running after logout and can only be killed by sending a KILL signal (kill -9).
Comment 5 Jekyll Wu 2011-12-11 18:02:24 UTC
(In reply to comment #3)
> I am having the same issue with 4.6.3, on both gentoo and archlinux
> 
> My home dir is on local filesystem, so I think this issue is not specific 
> to NFS home.

The problem seems gone for me when using KDE SC 4.8 beta2 (maybe already gone in 4.7.x ).
Comment 6 Jekyll Wu 2012-01-02 15:36:24 UTC
Can't reproduce any more. Mark it as FIXED.