From owner-freebsd-current@FreeBSD.ORG Thu Feb 19 12:16:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97DEC16A4CE for ; Thu, 19 Feb 2004 12:16:01 -0800 (PST) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6D343D2F for ; Thu, 19 Feb 2004 12:16:01 -0800 (PST) (envelope-from ghelmer@palisadesys.com) Received: from mira (mira.palisadesys.com [192.188.162.116]) (authenticated bits=0)i1JKG0Kw035005 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 19 Feb 2004 14:16:00 -0600 (CST) (envelope-from ghelmer@palisadesys.com) From: "Guy Helmer" To: Date: Thu, 19 Feb 2004 14:15:59 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Sending -ABRT signal to multi-threaded process X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 20:16:01 -0000 I'm having trouble sending signals to a multi-threaded process on FreeBSD 5-current (cvsup'ed today Feb 18 2004) using -pthread (libpthread.so.1). The process seems to lock up, possibly due to a mutex problem (the lockup also occurs when built with LinuxThreads), but when I try to "kill -ABRT" the process to kill it and obtain a core dump, nothing happens. Then I try to "kill -9" the process: under SCHED_4BSD, none of the threads were terminated; under SCHED_ULE, three of the five threads seemed to have terminated. I have to shutdown the machine to get rid of the process. Any hints on debugging threaded processes on FreeBSD 5? Guy Helmer, Ph.D., Principal System Architect, Palisade Systems, Inc. http://www.palisadesys.com/~ghelmer/