From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 23 23:00:30 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 760EF106564A for ; Fri, 23 Mar 2012 23:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 605238FC14 for ; Fri, 23 Mar 2012 23:00:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2NN0UnJ046576 for ; Fri, 23 Mar 2012 23:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2NN0U7k046575; Fri, 23 Mar 2012 23:00:30 GMT (envelope-from gnats) Date: Fri, 23 Mar 2012 23:00:30 GMT Message-Id: <201203232300.q2NN0U7k046575@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kostik Belousov Cc: Subject: Re: misc/166340: Process under FreeBSD 9.0 hangs in uninterruptable sleep with apparently no syscall (empty wchan) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kostik Belousov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2012 23:00:30 -0000 The following reply was made to PR misc/166340; it has been noted by GNATS. From: Kostik Belousov To: bug-followup@FreeBSD.org, christian.esken@trivago.com, avg@freebsd.org Cc: Subject: Re: misc/166340: Process under FreeBSD 9.0 hangs in uninterruptable sleep with apparently no syscall (empty wchan) Date: Sat, 24 Mar 2012 00:54:03 +0200 Please, attach the kgdb to the running system when the process hang with the '-' wchan. Use the command like "kgdb /boot/kernel/kernel.symbols /dev/mem". Then, run the shell command ps -o pid,paddr | grep where pid is the pid of the hung process. Take the printed address A and, from kgdb, do: p *(struct proc *)A p/x *(((struct proc *)A)->p_threads.tqh_first) and show us the output.