From owner-freebsd-threads@FreeBSD.ORG Tue Sep 14 14:10:19 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 055B316A4CF; Tue, 14 Sep 2004 14:10:19 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 972FA43D2F; Tue, 14 Sep 2004 14:10:18 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i8EEAFJt014562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Sep 2004 10:10:15 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i8EEA8cS068710; Tue, 14 Sep 2004 10:10:08 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16710.64448.640458.282221@grasshopper.cs.duke.edu> Date: Tue, 14 Sep 2004 10:10:08 -0400 (EDT) To: Julian Elischer In-Reply-To: <4146A263.2020603@elischer.org> References: <16703.11479.679335.588170@grasshopper.cs.duke.edu> <16703.12410.319869.29996@grasshopper.cs.duke.edu> <413F55B8.50003@elischer.org> <16703.28031.454342.774229@grasshopper.cs.duke.edu> <413F8DBB.5040502@elischer.org> <16704.40876.708925.425911@grasshopper.cs.duke.edu> <4140AA2A.90605@elischer.org> <16704.45327.42494.922427@grasshopper.cs.duke.edu> <4140C04D.1060906@elischer.org> <16704.52569.375858.857614@grasshopper.cs.duke.edu> <4146A263.2020603@elischer.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: John Baldwin cc: freebsd-threads@freebsd.org Subject: Re: Unkillable KSE threaded proc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 14:10:19 -0000 Julian Elischer writes: > Andrew Gallatin wrote: > > Julian Elischer writes: > > > I think that this would possibly GO AWAY of you disab;ed preemption. > > > which would make it very hard to debug :-) > > > > Nope, still happens w/o preempt.. And its the "worse" problem of deadlocking > > the system rather than just having the process fail to exit. > > > > db> ps > > pid proc uarea uid ppid pgrp flag stat wmesg wchan cmd > > 579 c37e41c0 e8855000 1387 578 579 0004002 [SLPQ ttyin 0xc17df810][SLP] csh > > 578 c1817540 e671a000 1387 576 576 0000100 [SLPQ select 0xc06cb704][SLP] sshd > > 576 c37e4540 e8857000 0 451 576 0000100 [SLPQ sbwait 0xc1983e84][SLP] sshd > > 566 c1a1fc40 e67ba000 1387 1 564 000c482 (threaded) mx_pingpong > > thread 0xc37944b0 ksegrp 0xc1a20460 [CPU 0] > > thread 0xc3794640 ksegrp 0xc1a20460 [SUSP] > > thread 0xc187e320 ksegrp 0xc1a20460 [RUNQ] > > thread 0xc187e4b0 ksegrp 0xc187fee0 [CPU 1] > > > > [...] > > can you reconfirm that this probelm exists without preemption with today's -current? > Yes, it seems to behave exactly the same way for a -current cvsupped one hour ago. Drew