Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2004 00:21:05 +0300
From:      "Oleg V. Nauman" <oleg@reis.zp.ua>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        kde-freebsd@freebsd.kde.org
Subject:   Re: [kde-freebsd] unkillable multithreaded processes stuck in `STOP' state
Message-ID:  <20041021212105.GX12192@core.zp.ua>
In-Reply-To: <200410212227.02663.michaelnottebrock@gmx.net>
References:  <200410211523.52663@misha-mx.virtual-estates.net> <200410212227.02663.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 21, 2004 at 10:26:50PM +0200, Michael Nottebrock wrote:
> On Thursday, 21. October 2004 21:23, Mikhail Teterin wrote:
> > Hello!
> >
> > This happened twice already -- first with KMail and now with Kontact.
> > A process crashes as usual (KDE's 3.3.0 release was of unusually low
> > quality), and seems to go away, except it does not. It stays in the
> > `STOP' (according to top(1)) or in the `T' (as per ps(1)) state and
> > can not be killed -- neither with -CONT, nor with -KILL.
> 
> [...]
> 
> > This is all, probably, due to something in KDE's attempts to capture
> > crashes and collect backtraces for better bug reports. But whatever bugs
> > they may have there, having an unkillable process -- of any kind -- worries
> > me greatly. Is this a known issue, or is a PR warranted?
> 
> There have been no similar reports (to my knowledge) and I haven't seen 
> anything similar on either 4.x or 5.x (I don't run 6-CURRENT).

	This problem looks like not specific to KDE, but for OpenOffice and
clamav-milter at least.

Unkillable by -9 OpenOffice (5.3-BETA7,information from local mailing list):
ps -O flags,lim,lockname,mwchan,nwchan,sigcatch,sigignore,sigmask,state,wchan,xstat 2194
  PID       F   LIM LOCK   MWCHAN NWCHAN     CAUGHT  IGNORED  BLOCKED
  STAT WCHAN  XSTAT  TT  STAT      TIME COMMAND
   2194   8c081     - -      -      -        1b80eeb7   781000 fffefeff
	TL   -      0     ??  TL     0:05,47 /usr/local/OpenO
	
clamav-milter (doesn't respond to SIGCONT), but killable by -9 only,
without any library mappings (5.3-STABLE):

#ps -O flags,lim,lockname,mwchan,nwchan,sig,sigcatch,sigignore,sigmask,state,wchan,xstat 418
  PID       F   LIM LOCK   MWCHAN NWCHAN    PENDING   CAUGHT  IGNORED  BLOCKED
  STAT WCHAN  XSTAT  TT  STAT      TIME COMMAND
    418   88180     - -      -      -               0 10040000  87a9001 fffefeff
	 TLs  -          0  ??  TLs    0:02.78 /usr/local/sbin/
# kill -CONT 418
#ps -O flags,lim,lockname,mwchan,nwchan,sig,sigcatch,sigignore,sigmask,state,wchan,xstat 418
  PID       F   LIM LOCK   MWCHAN NWCHAN    PENDING   CAUGHT  IGNORED  BLOCKED
  STAT WCHAN  XSTAT  TT  STAT      TIME COMMAND
	418  288180     - -      -      -           40000 10040000  87a9001 fffefeff 
	TLs  -          0  ??  TLs    0:02.78 /usr/local/sbin/
	
> 
> -- 
>    ,_,   | Michael Nottebrock               | lofi@freebsd.org
>  (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
>    \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

-- 
NO37-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041021212105.GX12192>