Bug 48984 - kdeinit child processes don't die / kdeinit keeps running after logout / phantom zombie kdeinit process
Summary: kdeinit child processes don't die / kdeinit keeps running after logout / phan...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeinit (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-10 20:19 UTC by Glen Barney
Modified: 2003-03-24 15:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glen Barney 2002-10-10 20:19:47 UTC
Version:            (using KDE KDE 3.0.3)
Installed from:    SuSE RPMs
OS:          Linux

On a fresh load of Suse 8.1 using KDE 3.0.3, I'm noticing problems with kdeinit's process management.

kdeinit child processes - especially smtp, pop3, and http processes, seem to stay in the process table even after konqueror or kmail are completely exited/killed.

The kdeinit parent process - and sometimes one or more children - stay running even after I log out.  They stay running even if I kill the X server manually, or shut the X server down completely, having already logged out.

During the logout process, kdeinit can take a long time (10 seconds or more) to terminate the X server and shut itself down even partially.

This problem did not exist under Suse 8.0/KDE 3.0.1.

I saw another bug similar to this about KDE 2.2.1, but this appears to be a new problem in 3.0.3
Comment 1 michael 2002-10-21 23:24:58 UTC
We are using debian/kde on one of our thin client servers, and we are having 
runaways on kdeinit as well.  Doesn't seem to be application dependant, as even 
a kdeinit which was related to a console running less ran away to full cpu 
usage.  Required a kill ..  kwin --version reports Qt: 3.0.5, KDE 3.0.8 (KDE 
3.1 beta2), Kwin 0.95.. Next time it occurs will run a strace on the process to 
see what it is doing, we get this every couple days occuring.
Comment 2 michael 2002-10-25 13:58:47 UTC
I have the same bug on two of my computers. On my laptop it has happend with 
SuSE-8.1-KDE.3.0.3. But it definitely was not there at the first instance, 
instead it emerges after a while. The same is true for my Desktop, but in this 
case I have an KDE-3.0.4 update from SuSE-8.1. But also in this case the 
problem  was not there initially. On my laptop it vanished, but I do not know 
how. I have removed all instances in /tmp and all socket-links in .kde/. But 
the same procedure dosen't work on my Desktop. After a while I have over 250 
kdeinit processes. So I have  started a cron job which kill's those process 
periodically. 
 
Michael 
 
    
Comment 3 Howard Coles Jr. 2002-11-07 05:54:06 UTC
I am running SuSE 8.0 with the 3.0.4 updates from the mirror
ftp://mirror.mcs.anl.gov.  I can have my wife login, do what she needs, then log
out.  Then login to the console as root, leaving kde alone, and do a ps -ef |
grep kdeinit and I get a process with her userid and kdeinit:  kdesktop running.
 If I login to KDE and start ksysguard or something similar I see that process
using up 100% of my processor!
Is this a SuSE bug, or a KDE bug?
Comment 4 Waldo Bastian 2002-11-08 11:17:34 UTC
Can everyone who notices this send the output of "ps -aux | grep kdeinit" from a text console once you are logged out?
Comment 5 Laurent Mathieu 2002-11-09 21:12:41 UTC
Hi,  I've got the same problem.  Here's the output from "ps -aux | grep kdeinit":

500       1946  0.0  0.0 30740   60 ?        S    Nov07   0:31 kdeinit: kdesktop        
root      3399  0.0  0.0 22592   60 ?        S    Nov07   0:07 kdeinit: kio_file file /tmp/ksocket-root/klauncherFM5Oua.slave-socket /tmp/ksocket-root/konquerori7B7za.slave-socket
500       5293  0.0  4.1 30512 13452 ?       S    Nov08   0:02 kdeinit: kdesktop        
500       6939  0.0  4.1 30504 13392 ?       S    Nov08   0:05 kdeinit: kdesktop        
500       8979  0.0  1.8 23096 6048 ?        S    Nov08   0:00 kdeinit: kio_file file /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/konquerorRerlFb.slave-socket
500       8980  0.0  2.0 23268 6532 ?        S    Nov08   0:00 kdeinit: kio_http http /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/konquerorzK3Flc.slave-socket
500       8986  0.0  2.0 23264 6504 ?        S    Nov08   0:00 kdeinit: kio_http http /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/kdedU0a2Jb.slave-socket
500       8987  0.0  2.0 23268 6508 ?        S    Nov08   0:00 kdeinit: kio_http http /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/konqueror3Zs55b.slave-socket
500       8988  0.0  2.0 23268 6508 ?        S    Nov08   0:00 kdeinit: kio_http http /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/konquerorUTmTmc.slave-socket
500       8989  0.0  2.0 23268 6508 ?        S    Nov08   0:00 kdeinit: kio_http http /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/konquerorJECStc.slave-socket
500       8990  0.0  2.0 23268 6508 ?        S    Nov08   0:00 kdeinit: kio_http http /tmp/ksocket-themonkeyz/klaunchercC0K5b.slave-socket /tmp/ksocket-themonkeyz/konquerorlOFjrb.slave-socket
500       9176  0.0  5.7 31016 18412 ?       S    Nov08   0:05 kdeinit: kdesktop        
Comment 6 Waldo Bastian 2002-11-12 16:33:55 UTC
Laurent: Does your logfile (e.g. ~/.xsession-errors or ~/.X.err) contain any
line with "got signal" ? Do the "kdeinit: kdesktop" processes go away when you
send them a SIGHUP? 
Comment 7 Thomas Sillard 2002-11-12 22:00:32 UTC
Same problem with RedHat 7.2 and kde 3.0.4 installed from RedHat 7.3 RPMS 
(downloaded from kde.org) with XFree 4.2.1. Here is my .xsession-errors :  
 
XIM DEBUG: rm: Ne peut enlever `.' or `..' 
rm: Ne peut enlever `.' or `..' 
DCOPServer up and running. 
Mutex destroy failure: P
Comment 8 Laurent Mathieu 2002-11-12 23:30:19 UTC
Hi,

Here's my ~/.xsession-errors file:


DCOPServer up and running.
Mutex destroy failure: Périphérique ou ressource occupé
10
20
25
30
36
41
47
52
58
63
69
75
80
85
90
Mutex destroy failure: Périphérique ou ressource occupé
mcop warning: user defined signal handler found for SIG_PIPE, overriding
QObject::connect: No such slot KWrited::block_in(const char*,int)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'unnamed')
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/DigitalClock) Negative sizes (2,-4) are not
possible
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/QLabel) Negative sizes (61,-4) are not possible
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/DigitalClock) Negative sizes (2,-4) are not
possible
themonkeyz@themonkeyz:~> cat .xsession-errors
DCOPServer up and running.
Mutex destroy failure: Périphérique ou ressource occupé
10
20
25
30
36
41
47
52
58
63
69
75
80
85
90
Mutex destroy failure: Périphérique ou ressource occupé
mcop warning: user defined signal handler found for SIG_PIPE, overriding
QObject::connect: No such slot KWrited::block_in(const char*,int)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'unnamed')
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/DigitalClock) Negative sizes (2,-4) are not
possible
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/QLabel) Negative sizes (61,-4) are not possible
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/DigitalClock) Negative sizes (2,-4) are not
possible
QWidget::setMinimumSize: The smallest allowed size is (0,0)
QWidget::setMaximumSize: (unnamed/QLabel) Negative sizes (61,-4) are not possible
getTypeString::Unknown type 35
getTypeString::Unknown type 2
kioslave : ###############SEG FAULT#############
error stat'ing fd 3: Bad file descriptor
QMenuData::removeItem: Index -1 out of range
error stat'ing fd 3: Bad file descriptor
font /usr/X11R6/lib/X11/fonts/truetype/fonts.scale   FreeType failed to open,
error=2
error stat'ing fd 3: Bad file descriptor
LoadPlugin: failed to initialize shared library
/usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
[/usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: undefined
symbol: __vt_17nsGetServiceByCID]
Mutex destroy failure: Périphérique ou ressource occupé
kioslave : ###############SEG FAULT#############
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 5326
kioslave : ###############SEG FAULT#############
kioslave : ###############SEG FAULT#############
kioslave : ###############SEG FAULT#############
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
font /usr/X11R6/lib/X11/fonts/truetype/fonts.scale   FreeType failed to open,
error=2
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
error stat'ing fd 3: Bad file descriptor
/usr/bin/zip
/usr/bin/unzip
Size: 999
Size: 6720
zone still contained 2 blocks
kioslave : ###############SEG FAULT#############
QFont::setPointSize: Point size <= 0 (-2)
error stat'ing fd 3: Bad file descriptor
kioslave : ###############SEG FAULT#############
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
QMenuData::removeItem: Index -1 out of range
font /usr/X11R6/lib/X11/fonts/truetype/fonts.scale   FreeType failed to open,
error=2
QFont::setPointSize: Point size <= 0 (-2)



***  End of file ***

"Périphérique ou ressource occupée" could translate to "Peripheral or ressource
busy"


When it says:

kioslave : ###############SEG FAULT#############
error stat'ing fd 3: Bad file descriptor

It may be bescause there's no floppy disk in my computer. Am I right when I say
that kioslave is used for input/output on the floppy disk ans that "error
stat'ing fd 3:"  means it can't 'speak' with my floppy drive?

And when I switch to runlevel 3, it kill almost all the kdeinit processes but it
doesn't kill the "kdeinit: kdedesktop" one..  and I can't kill it using "kill
[pid]".


Oh and it may be related to the problem, when I start konqueror from xterm and
then close it using "Documents/Quit", here's the console's output:

themonkeyz@themonkeyz:~> konqueror
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 10615
Minuterie d'alerte
themonkeyz@themonkeyz:~>


("Minuterie d'alerte" mean "Alarm timer" or "Alarm clock",  but minuterie means
timer and horloge means clock but their uses are closely related.)


Hope this will help!
Comment 9 Waldo Bastian 2002-11-12 23:33:46 UTC
Subject: Re:  kdeinit child processes don't die / kdeinit keeps
 running after logout / phantom zombie kdeinit process

Yes, this is the same problem as BR49935. Can you try to make a 
backtrace with gdb of the hanging kdesktop process? E.g. with
	gdb kdeinit 5197
where 5197 is the PID of the hanging process and then after pressing 
return a few times:
	bt

(Note that BR49935 does not seem to have the actual backtrace 
included, not a complete one at least.)

Comment 10 Waldo Bastian 2002-11-12 23:44:48 UTC
Subject: Re:  kdeinit child processes don't die / kdeinit keeps
 running after logout / phantom zombie kdeinit process

fd 3 means filedescriptor 3 and can point to anything, not 
necessarily a floppy drive.
kioslave is used for anything including the local file system, http 
but also floppies. What did you use konqueror for in  this particular 
case, file browsing or webbrowsing?

Comment 11 Thomas Sillard 2002-11-12 23:48:22 UTC
The GDB output :  
 
GNU gdb Red Hat Linux (5.2-2) 
Copyright 2002 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "i386-redhat-linux"... 
(no debugging symbols found)... 
Attaching to program: /usr/bin/kdeinit, process 7295 
Reading symbols from /usr/lib/libDCOP-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libDCOP-gcc2.96.so.4 
Reading symbols from /usr/lib/libkparts-gcc2.96.so.2... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkparts-gcc2.96.so.2 
Reading symbols from /usr/lib/libkio-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkio-gcc2.96.so.4 
Reading symbols from /usr/lib/libkdeui-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdeui-gcc2.96.so.4 
Reading symbols from /usr/lib/libkdefx-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdefx-gcc2.96.so.4 
Reading symbols from /usr/X11R6/lib/libXrender.so.1... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/X11R6/lib/libXrender.so.1 
Reading symbols from /usr/lib/libkdesu-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdesu-gcc2.96.so.4 
Reading symbols from /usr/lib/libkdecore-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdecore-gcc2.96.so.4 
Reading symbols from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3...done. 
Loaded symbols for /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3 
Reading symbols from /usr/lib/libpng.so.2...done. 
Loaded symbols for /usr/lib/libpng.so.2 
Reading symbols from /usr/lib/libz.so.1...done. 
Loaded symbols for /usr/lib/libz.so.1 
Reading symbols from /usr/X11R6/lib/libX11.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libX11.so.6 
Reading symbols from /usr/X11R6/lib/libSM.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libSM.so.6 
Reading symbols from /usr/X11R6/lib/libICE.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libICE.so.6 
Reading symbols from /lib/libpthread.so.0...done. 
[New Thread 1024 (LWP 7295)] 
Loaded symbols for /lib/libpthread.so.0 
Reading symbols from /lib/libdl.so.2...done. 
Loaded symbols for /lib/libdl.so.2 
Reading symbols from /usr/X11R6/lib/libXext.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libXext.so.6 
Reading symbols from /lib/libresolv.so.2...done. 
Loaded symbols for /lib/libresolv.so.2 
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done. 
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3 
Reading symbols from /lib/libutil.so.1...done. 
Loaded symbols for /lib/libutil.so.1 
Reading symbols from /lib/libm.so.6...done. 
Loaded symbols for /lib/libm.so.6 
Reading symbols from /lib/libc.so.6...done. 
Loaded symbols for /lib/libc.so.6 
Reading symbols from /usr/lib/libcups.so.2...done. 
Loaded symbols for /usr/lib/libcups.so.2 
Reading symbols from /usr/lib/libmng.so.1...done. 
Loaded symbols for /usr/lib/libmng.so.1 
Reading symbols from /usr/lib/libjpeg.so.62...done. 
Loaded symbols for /usr/lib/libjpeg.so.62 
Reading symbols from /usr/X11R6/lib/libGL.so.1...done. 
Loaded symbols for /usr/X11R6/lib/libGL.so.1 
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libXmu.so.6 
Reading symbols from /usr/X11R6/lib/libXft.so.1...done. 
Loaded symbols for /usr/X11R6/lib/libXft.so.1 
Reading symbols from /usr/lib/libfreetype.so.6...done. 
Loaded symbols for /usr/lib/libfreetype.so.6 
Reading symbols from /lib/ld-linux.so.2...done. 
Loaded symbols for /lib/ld-linux.so.2 
Reading symbols from /lib/libssl.so.2...done. 
Loaded symbols for /lib/libssl.so.2 
Reading symbols from /lib/libcrypto.so.2...done. 
Loaded symbols for /lib/libcrypto.so.2 
Reading symbols from /usr/X11R6/lib/libXt.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libXt.so.6 
Reading symbols from /usr/lib/libfontconfig.so.1...done. 
Loaded symbols for /usr/lib/libfontconfig.so.1 
Reading symbols from /usr/lib/libexpat.so.0...done. 
Loaded symbols for /usr/lib/libexpat.so.0 
Reading symbols from /usr/lib/libkonq-gcc2.96.so.4...done. 
Loaded symbols for /usr/lib/libkonq-gcc2.96.so.4 
Reading symbols from /usr/lib/kdesktop-gcc2.96.so...done. 
Loaded symbols for /usr/lib/kdesktop-gcc2.96.so 
Reading symbols from /usr/X11R6/lib/modules/dri/mga_dri.so...done. 
Loaded symbols for /usr/X11R6/lib/modules/dri/mga_dri.so 
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done. 
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2 
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done. 
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2 
Reading symbols from /usr/lib/gconv/ISO8859-15.so...done. 
Loaded symbols for /usr/lib/gconv/ISO8859-15.so 
Reading symbols from /usr/lib/kde3/plugins//styles/highcolor.so...done. 
Loaded symbols for /usr/lib/kde3/plugins//styles/highcolor.so 
0x405c7695 in malloc () from /usr/lib/libkdecore-gcc2.96.so.4 
(gdb) 
 
 
Comment 12 Thomas Sillard 2002-11-12 23:56:54 UTC
A more complete trace ... and go to bed ! 
 
GNU gdb Red Hat Linux (5.2-2) 
Copyright 2002 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "i386-redhat-linux"... 
(no debugging symbols found)... 
Attaching to program: /usr/bin/kdeinit, process 7295 
Reading symbols from /usr/lib/libDCOP-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libDCOP-gcc2.96.so.4 
Reading symbols from /usr/lib/libkparts-gcc2.96.so.2... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkparts-gcc2.96.so.2 
Reading symbols from /usr/lib/libkio-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkio-gcc2.96.so.4 
Reading symbols from /usr/lib/libkdeui-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdeui-gcc2.96.so.4 
Reading symbols from /usr/lib/libkdefx-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdefx-gcc2.96.so.4 
Reading symbols from /usr/X11R6/lib/libXrender.so.1... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/X11R6/lib/libXrender.so.1 
Reading symbols from /usr/lib/libkdesu-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdesu-gcc2.96.so.4 
Reading symbols from /usr/lib/libkdecore-gcc2.96.so.4... 
(no debugging symbols found)...done. 
Loaded symbols for /usr/lib/libkdecore-gcc2.96.so.4 
Reading symbols from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3...done. 
Loaded symbols for /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3 
Reading symbols from /usr/lib/libpng.so.2...done. 
Loaded symbols for /usr/lib/libpng.so.2 
Reading symbols from /usr/lib/libz.so.1...done. 
Loaded symbols for /usr/lib/libz.so.1 
Reading symbols from /usr/X11R6/lib/libX11.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libX11.so.6 
Reading symbols from /usr/X11R6/lib/libSM.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libSM.so.6 
Reading symbols from /usr/X11R6/lib/libICE.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libICE.so.6 
Reading symbols from /lib/libpthread.so.0...done. 
[New Thread 1024 (LWP 7295)] 
Loaded symbols for /lib/libpthread.so.0 
Reading symbols from /lib/libdl.so.2...done. 
Loaded symbols for /lib/libdl.so.2 
Reading symbols from /usr/X11R6/lib/libXext.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libXext.so.6 
Reading symbols from /lib/libresolv.so.2...done. 
Loaded symbols for /lib/libresolv.so.2 
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done. 
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3 
Reading symbols from /lib/libutil.so.1...done. 
Loaded symbols for /lib/libutil.so.1 
Reading symbols from /lib/libm.so.6...done. 
Loaded symbols for /lib/libm.so.6 
Reading symbols from /lib/libc.so.6...done. 
Loaded symbols for /lib/libc.so.6 
Reading symbols from /usr/lib/libcups.so.2...done. 
Loaded symbols for /usr/lib/libcups.so.2 
Reading symbols from /usr/lib/libmng.so.1...done. 
Loaded symbols for /usr/lib/libmng.so.1 
Reading symbols from /usr/lib/libjpeg.so.62...done. 
Loaded symbols for /usr/lib/libjpeg.so.62 
Reading symbols from /usr/X11R6/lib/libGL.so.1...done. 
Loaded symbols for /usr/X11R6/lib/libGL.so.1 
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libXmu.so.6 
Reading symbols from /usr/X11R6/lib/libXft.so.1...done. 
Loaded symbols for /usr/X11R6/lib/libXft.so.1 
Reading symbols from /usr/lib/libfreetype.so.6...done. 
Loaded symbols for /usr/lib/libfreetype.so.6 
Reading symbols from /lib/ld-linux.so.2...done. 
Loaded symbols for /lib/ld-linux.so.2 
Reading symbols from /lib/libssl.so.2...done. 
Loaded symbols for /lib/libssl.so.2 
Reading symbols from /lib/libcrypto.so.2...done. 
Loaded symbols for /lib/libcrypto.so.2 
Reading symbols from /usr/X11R6/lib/libXt.so.6...done. 
Loaded symbols for /usr/X11R6/lib/libXt.so.6 
Reading symbols from /usr/lib/libfontconfig.so.1...done. 
Loaded symbols for /usr/lib/libfontconfig.so.1 
Reading symbols from /usr/lib/libexpat.so.0...done. 
Loaded symbols for /usr/lib/libexpat.so.0 
Reading symbols from /usr/lib/libkonq-gcc2.96.so.4...done. 
Loaded symbols for /usr/lib/libkonq-gcc2.96.so.4 
Reading symbols from /usr/lib/kdesktop-gcc2.96.so...done. 
Loaded symbols for /usr/lib/kdesktop-gcc2.96.so 
Reading symbols from /usr/X11R6/lib/modules/dri/mga_dri.so...done. 
Loaded symbols for /usr/X11R6/lib/modules/dri/mga_dri.so 
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done. 
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2 
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done. 
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2 
Reading symbols from /usr/lib/gconv/ISO8859-15.so...done. 
Loaded symbols for /usr/lib/gconv/ISO8859-15.so 
Reading symbols from /usr/lib/kde3/plugins//styles/highcolor.so...done. 
Loaded symbols for /usr/lib/kde3/plugins//styles/highcolor.so 
0x405c7770 in malloc () from /usr/lib/libkdecore-gcc2.96.so.4 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) bt 
#0  0x405c7770 in malloc () from /usr/lib/libkdecore-gcc2.96.so.4 
#1  0x4123791c in drmMalloc () from /usr/X11R6/lib/modules/dri/mga_dri.so 
#2  0x41239d90 in drmHashCreate () from /usr/X11R6/lib/modules/dri/mga_dri.so 
#3  0x41237a06 in drmGetEntry () from /usr/X11R6/lib/modules/dri/mga_dri.so 
#4  0x4123869c in drmClose () from /usr/X11R6/lib/modules/dri/mga_dri.so 
#5  0x41236c92 in driMesaDestroyScreen () 
   from /usr/X11R6/lib/modules/dri/mga_dri.so 
#6  0x40f5419d in __glXCloseDisplay () from /usr/X11R6/lib/libGL.so.1 
#7  0x40f541e3 in __glXCloseDisplay () from /usr/X11R6/lib/libGL.so.1 
#8  0x40bd985d in _XFreeExtData () from /usr/X11R6/lib/libX11.so.6 
#9  0x40be39ad in _XFreeDisplayStructure () from /usr/X11R6/lib/libX11.so.6 
#10 0x40bd3317 in XCloseDisplay () from /usr/X11R6/lib/libX11.so.6 
#11 0x40756b9c in qt_cleanup () from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3 
#12 0x407ac0a0 in QApplication::~QApplication () 
   from /usr/lib/qt3-gcc2.96/lib/libqt-mt.so.3 
#13 0x4050e64e in KApplication::~KApplication () 
   from /usr/lib/libkdecore-gcc2.96.so.4 
#14 0x4057b39f in KUniqueApplication::~KUniqueApplication () 
   from /usr/lib/libkdecore-gcc2.96.so.4 
#15 0x411f786b in main () from /usr/lib/kdesktop-gcc2.96.so 
#16 0x0804ca59 in launch () 
#17 0x0804d73c in handle_launcher_request () 
#18 0x0804db86 in handle_requests () 
#19 0x0804eb35 in main () 
#20 0x40d74336 in __libc_start_main (main=0x804e540 <main>, argc=3, 
    ubp_av=0xbffffc14, init=0x804a678 <_init>, fini=0x804f420 <_fini>, 
    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffc0c) 
    at ../sysdeps/generic/libc-start.c:129 
 
Comment 13 Paul Fraser 2002-12-11 12:33:04 UTC
I'm also experiencing this problem with KDE 3.0.5 installed on Debian 3.0r0
(Woody/Stable).

Whenever I log out of KDE, kdeinit will hang using up all my processor. If I log
on, then back off, there will be two instances of kdeinit, each using 50%
processor. And so on...

The only way to remove the processes is a kill -9 on each one.

I'm fairly new to Linux in general, but wherever I can help I will. If you need
extra output, just ask! :)
Comment 14 Waldo Bastian 2002-12-11 12:43:35 UTC
Paul Fraser: 
Please provide the output of 
	ps -aux | grep kdeinit 
when this happens 
 
Comment 15 Paul Fraser 2002-12-11 12:57:35 UTC
Sure thing. :)

longhorn  3093 70.2  2.8 24116 14356 ?       R    21:52   0:44 kdeinit: kdesktop
Comment 16 Paul Fraser 2002-12-12 03:02:13 UTC
Something extra that may help out.

I did a bit of fiddling around this morning, and discovered my user account is
the only one affected by this bug. Eventually I worked out the only time
kdesktop doesn't exit when I have the external taskbar extension on.

I've worked around this by removing the external taskbar, and creating a
childbar with the taskbar applet on it. They both do the same anyway!

So touch wood, the problem won't come back. (It hasn't with the last 10 logins!)
Comment 17 Paul Fraser 2002-12-12 08:28:08 UTC
I take that back. It's still doing the same thing!
Comment 18 Roger Larsson 2003-03-19 01:43:45 UTC
Can not this have something to do with KIO slaves that are saved for possible 
future reuse? And then forget to terminate them? 
 
I changed the setting "Konqueror -> Minimize Memory Usage" to "Never" 
to provoke this while browsing locally... (more testing needed) 
Comment 19 Roger Larsson 2003-03-19 02:01:10 UTC
I could not reproduce this with a few days old CVS version (KDE 3.2) 
Reports are quite old - is this still a problem? 
Comment 20 Glen Barney 2003-03-19 03:04:33 UTC
Subject: Re:  kdeinit child processes don't die / kdeinit keeps running after logout / phantom zombie kdeinit process

On Tuesday 18 March 2003 17:01, you wrote:
        ------- Additional Comments From roger.larsson@norran.net  2003-03-19
	 02:01 ------- I could not reproduce this with a few days old CVS version
	 (KDE 3.2) Reports are quite old - is this still a problem?

It only seemed to be a problem under 3.0.x... I'm using 3.1 now (looking 
forward to 3.2) and it works perfectly.

Glen

Comment 21 Roger Larsson 2003-03-24 15:39:03 UTC
OK, since 3.0 is old. 
I mark this as resolved with WORKSFORME 
since I do not know exactly what fixed this (or if it ever were a generic problem).