[Bug 153582] kde processes do not exit after application termination

kavol kavol at seznam.cz
Mon May 11 12:40:59 BST 2009


https://bugs.kde.org/show_bug.cgi?id=153582





--- Comment #6 from kavol <kavol seznam cz>  2009-05-11 13:40:55 ---
(In reply to comment #5)
> Any news on this ?
> Thanks

I tried to ssh into a system with KDE 4.3 Beta1 (4.2.85) and run kmail, see
below:

pes at jarmilka ~ $ date
Po kvě 11 13:18:38 CEST 2009
pes at jarmilka ~ $ ps -ef | grep pes
root     19465  3465  0 13:18 ?        00:00:00 sshd: pes [priv]
pes      19470 19465  0 13:18 ?        00:00:00 sshd: pes at pts/5
pes      19472 19470  0 13:18 pts/5    00:00:00 -bash
pes      19480 19472  0 13:18 pts/5    00:00:00 ps -ef
pes      19481 19472  0 13:18 pts/5    00:00:00 grep --colour=auto pes
pes at jarmilka ~ $ kmail

[lots of messagess cut out]

kmail(19489) KMMainWin::~KMMainWin: Closing last KMMainWin: stopping mail check
kmail(19489) KMail::PopAccount::slotAbortRequested:
kmail(19489) KMail::PopAccount::slotAbortRequested:
kmail(19489)/kmail (storage internals) KMFolderMaildir::reallyDoClose:
fclose(mIndexStream =  0x25188a0 )
kmail(19489) KMail::Vacation::~Vacation: ~Vacation()
kmail(19489)/kmail (storage internals) KMFolderMaildir::reallyDoClose:
fclose(mIndexStream =  0x1ef8710 )
kmail(19489)/kmail (storage internals) KMFolderMaildir::reallyDoClose:
fclose(mIndexStream =  0x1ef3100 )
kmail(19489)/kmail (storage internals) KMFolderMaildir::reallyDoClose:
fclose(mIndexStream =  0x1eb4370 )
kmail(19489) KMKernel::~KMKernel:
kmail(19489) Sonnet::Loader::~Loader: Removing loader : 
Sonnet::Loader(0x1e92830)

pes at jarmilka ~ $ date
Po kvě 11 13:22:19 CEST 2009
pes at jarmilka ~ $ ps -ef | grep pes
root     19465  3465  0 13:18 ?        00:00:00 sshd: pes [priv]
pes      19470 19465  0 13:18 ?        00:00:00 sshd: pes at pts/5
pes      19472 19470  0 13:18 pts/5    00:00:00 -bash
pes      19487     1  0 13:19 pts/5    00:00:00 dbus-launch --autolaunch
d8dfff42a56f1dc69676540045b69301 --binary-syntax --close-stderr
pes      19488     1  0 13:19 ?        00:00:00 /usr/bin/dbus-daemon --fork
--print-pid 5 --print-address 7 --session
pes      19494     1  0 13:19 ?        00:00:00 kdeinit4: kdeinit4 Running...
pes      19495 19494  0 13:19 ?        00:00:00 klauncher --fd=8
pes      19498     1  0 13:19 ?        00:00:00 kded4
pes      19506 19494  0 13:19 ?        00:00:00 kdeinit4: kio_pop3 [kdeinit]
pop3 local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailV19489.slave-socket
pes      19507 19494  0 13:19 ?        00:00:00 kdeinit4: kio_pop3 [kdeinit]
pop3s local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailA19489.slave-socket
pes      19508 19494  0 13:19 ?        00:00:00 kdeinit4: kio_file [kdeinit]
file local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailI19489.slave-socket
pes      19509 19494  0 13:19 ?        00:00:00 kdeinit4: kio_file [kdeinit]
file local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailR19489.slave-socket
pes      19514 19494  0 13:19 ?        00:00:00 kdeinit4: kio_file [kdeinit]
file local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmaili19489.slave-socket
pes      19515 19494  0 13:19 ?        00:00:00 kdeinit4: kio_file [kdeinit]
file local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailN19489.slave-socket
pes      19532 19472  0 13:22 pts/5    00:00:00 ps -ef
pes      19533 19472  0 13:22 pts/5    00:00:00 grep --colour=auto pes

pes at jarmilka ~ $ date
Po kvě 11 13:31:01 CEST 2009
pes at jarmilka ~ $ ps -ef | grep pes
root     19465  3465  0 13:18 ?        00:00:00 sshd: pes [priv]
pes      19470 19465  0 13:18 ?        00:00:00 sshd: pes at pts/5
pes      19472 19470  0 13:18 pts/5    00:00:00 -bash
pes      19487     1  0 13:19 pts/5    00:00:00 dbus-launch --autolaunch
d8dfff42a56f1dc69676540045b69301 --binary-syntax --close-stderr
pes      19488     1  0 13:19 ?        00:00:00 /usr/bin/dbus-daemon --fork
--print-pid 5 --print-address 7 --session
pes      19494     1  0 13:19 ?        00:00:00 kdeinit4: kdeinit4 Running...
pes      19495 19494  0 13:19 ?        00:00:00 klauncher --fd=8
pes      19498     1  0 13:19 ?        00:00:00 kded4
pes      19515 19494  0 13:19 ?        00:00:00 kdeinit4: kio_file [kdeinit]
file local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailN19489.slave-socket
pes      19579 19472  0 13:31 pts/5    00:00:00 ps -ef
pes      19580 19472  0 13:31 pts/5    00:00:00 grep --colour=auto pes



after trying to log out, the ssh session hangs, and from another terminal I can
see processes still running:
jarmilka ~ # ps -ef | grep pes
root     19465  3465  0 13:18 ?        00:00:00 sshd: pes [priv]
pes      19470 19465  0 13:18 ?        00:00:00 sshd: pes at notty
pes      19487     1  0 13:19 ?        00:00:00 dbus-launch --autolaunch
d8dfff42a56f1dc69676540045b69301 --binary-syntax --close-stderr
pes      19488     1  0 13:19 ?        00:00:00 /usr/bin/dbus-daemon --fork
--print-pid 5 --print-address 7 --session
pes      19494     1  0 13:19 ?        00:00:00 kdeinit4: kdeinit4 Running...
pes      19495 19494  0 13:19 ?        00:00:00 klauncher --fd=8
pes      19498     1  0 13:19 ?        00:00:00 kded4
pes      19515 19494  0 13:19 ?        00:00:00 kdeinit4: kio_file [kdeinit]
file local:/tmp/ksocket-pes/klauncherT19495.slave-socket
local:/tmp/ksocket-pes/kmailN19489.slave-socket
root     19588 15695  0 13:34 pts/0    00:00:00 grep --colour=auto pes

after killing the ssh session with Ctrl+C, the rest of processes belonging to
that user disappears ... not nice if I'd like to use it in a script (not to
talk about the wasted resources while no KDE application is running ...)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list