how do i get rid of wine-kthread <defunct> ?

cedric cedric.de.wijs at softhome.net
Fri Feb 6 13:08:09 CST 2004


On Friday 06 February 2004 19:10, Rein Klazes wrote:
> On Fri, 6 Feb 2004 13:56:25 +0100, you wrote:
> > Hi, after a while of playing around with winedbg i have a lot of these:
> >
> > bash-2.05b# ps -A
> > 559 pts/0    00:00:01 wine-kthread <defunct>
> > 558 pts/0    00:00:04 wine-kthread <defunct>
> > 607 pts/0    00:00:01 wine-kthread <defunct>
> > 606 pts/0    00:00:04 wine-kthread <defunct>
> >
> > i tried differend variations on kill, and killall, but they don't go
> > away.
> >
> > Any ideas?
>
> It is the parent process that has failed. Find out why, perhaps kill it
> and these will go away.
>
> Rein.

Here's what i did:
-start my box
-start starcraft from the wine debugger
-exited starcraft from within the game
-quitted the debugger
-did a ps , and a pstree:

Looks like i have to kill init. That's odd, because i would think that 
processes spawned by a console would become a child of that console.

Always when i start to compile something everything is attached under the 
calling script, but it seems wine isn't working like that. 

How does it work? How do i get rid of those without rebooting?

Regards, cedric

init-+-9*[agetty]
     |-ahc_dv_0
     |-aio/0
     |-bash
     |-bash---startx---xinit-+-X
     |                       `-startkde---kwrapper
     |-cupsd
     |-events/0
     |-gpm
     |-i2oblock
     |-i2oevtd
     |-kblockd/0
     |-kdeinit---2*[kdeinit]
     |-6*[kdeinit]
     |-kdeinit-+-konsole---bash---pstree
     |         |-konsole---bash---bash
     |         |-konsole---bash---sleep
     |         `-ksysguardd
     |-khubd
     |-kjournald
     |-klogd
     |-kmail
     |-kseriod
     |-ksoftirqd/0
     |-kswapd0
     |-2*[pdflush]
     |-scsi_eh_0
     |-syslogd
     `-4*[wine-kthread]

PID TTY          TIME CMD
    1 ?        00:00:04 init
    2 ?        00:00:00 ksoftirqd/0
    3 ?        00:00:00 events/0
    4 ?        00:00:00 kblockd/0
    5 ?        00:00:00 khubd
    6 ?        00:00:00 pdflush
    7 ?        00:00:00 pdflush
    8 ?        00:00:00 kswapd0
    9 ?        00:00:00 aio/0
   11 ?        00:00:00 scsi_eh_0
   12 ?        00:00:00 ahc_dv_0
   13 ?        00:00:00 kseriod
   14 ?        00:00:00 i2oevtd
   15 ?        00:00:00 i2oblock
   16 ?        00:00:00 kjournald
   79 ?        00:00:00 syslogd
   82 ?        00:00:00 klogd
  122 ?        00:00:00 gpm
  131 ?        00:00:00 cupsd
  140 tty1     00:00:00 bash
  141 tty2     00:00:00 agetty
  142 tty3     00:00:00 agetty
  143 tty4     00:00:00 agetty
  144 tty5     00:00:00 agetty
  145 tty6     00:00:00 agetty
  146 tty7     00:00:00 agetty
  147 tty8     00:00:00 agetty
  148 tty9     00:00:00 agetty
  149 tty10    00:00:00 agetty
  150 tty11    00:00:00 bash
  242 tty1     00:00:00 startx
  253 tty1     00:00:00 xinit
  254 ?        00:00:36 X
  257 tty1     00:00:00 startkde
  267 ?        00:00:00 kdeinit
  270 ?        00:00:00 kdeinit
  273 ?        00:00:00 kdeinit
  275 ?        00:00:07 kdeinit
  284 ?        00:00:00 kdeinit
  285 tty1     00:00:00 kwrapper
  287 ?        00:00:00 kdeinit
  288 ?        00:00:01 kdeinit
  290 ?        00:00:00 kdeinit
  292 ?        00:00:05 kdeinit
  293 ?        00:00:00 kdeinit
  295 ?        00:00:00 ksysguardd
  315 ?        00:00:17 kmail
  410 ?        00:00:01 konsole
  412 pts/0    00:00:00 bash
  421 ?        00:00:01 konsole
  423 pts/1    00:00:00 bash
  424 pts/1    00:00:00 bash
  487 pts/0    00:00:00 wine-kthread <defunct>
  448 pts/0    00:00:01 wine-kthread <defunct>
  447 pts/0    00:00:00 wine-kthread <defunct>
  420 pts/0    00:00:06 wine-kthread <defunct>
  489 ?        00:00:19 konsole
  491 pts/2    00:00:00 bash
 1310 pts/2    00:00:00 ps
Regards, cedric

-- 
No microsoft products were used for this e-mail




More information about the wine-users mailing list