Re: [kde-freebsd] unkillable multithreaded processes stuck in `STOP' state

From: Oleg V. Nauman <oleg_at_reis.zp.ua>
Date: Fri, 22 Oct 2004 00:21:05 +0300
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_at_freebsd.org
>  (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
>    \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

-- 
NO37-RIPE
Received on Thu Oct 21 2004 - 19:21:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC