From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 21 21:00:47 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72D0B16A4CF for ; Thu, 21 Oct 2004 21:00:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 572B843D54 for ; Thu, 21 Oct 2004 21:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9LL0lVm096754 for ; Thu, 21 Oct 2004 21:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9LL0liY096753; Thu, 21 Oct 2004 21:00:47 GMT (envelope-from gnats) Resent-Date: Thu, 21 Oct 2004 21:00:47 GMT Resent-Message-Id: <200410212100.i9LL0liY096753@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mikhail Teterin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 737A616A4CE for ; Thu, 21 Oct 2004 20:51:13 +0000 (GMT) Received: from corbulon.video-collage.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D36D243D4C for ; Thu, 21 Oct 2004 20:51:12 +0000 (GMT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i9LKpAIw029900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Oct 2004 16:51:11 -0400 (EDT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: from 250-217.customer.cloud9.net (mteterin@localhost [127.0.0.1]) i9LKp4hn058118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Oct 2004 16:51:04 -0400 (EDT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: (from mteterin@localhost)i9LKp4vF058117; Thu, 21 Oct 2004 16:51:04 -0400 (EDT) (envelope-from mteterin) Message-Id: <200410212051.i9LKp4vF058117@250-217.customer.cloud9.net> Date: Thu, 21 Oct 2004 16:51:04 -0400 (EDT) From: Mikhail Teterin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/72979: unkillable process(es) stuck in `STOP' state X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 21:00:47 -0000 >Number: 72979 >Category: kern >Synopsis: unkillable process(es) stuck in `STOP' state >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 21 21:00:44 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 6.0-CURRENT i386 >Organization: Virtual Estates, Inc. >Environment: System: FreeBSD mi 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Oct 20 12:08:24 EDT 2004 mteterin@mi:/meow/obj/misha/src/sys/Gigabyte i386 debug.mpsafenet and safevm both set to 0 >Description: Somehow, it is possible to get a process into a state, where it can not be killed. The state is reported as `T' by ps and as `STOP' by top. There seems to be a zomie-child of the process, when this happens: UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 1042 1096 1 57 8 0 68044 50228 - T ?? 0:27,88 kontact 1042 4903 1096 0 -84 0 0 0 - Z ?? 0:03,07 But neither -CONT nor -KILL can get rid of the process. Attempts to ktrace it result in empty ktrace.out. >How-To-Repeat: It is unclear, what exactly is causing this. So far, I have seen it twice -- both time with KDE-programs (KMail and Kontact), which attach a debugger to themselves, when crashing (a frequent occurence). Whatever mistake KDE may be making in their error-handling, it does not explain an unkillable process. May be, this has something to do with the threading library (libpthread)? >Fix: Don't know... >Release-Note: >Audit-Trail: >Unformatted: