Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758225Ab0FIUGP (ORCPT ); Wed, 9 Jun 2010 16:06:15 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:52551 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757220Ab0FIUGN (ORCPT ); Wed, 9 Jun 2010 16:06:13 -0400 Date: Wed, 9 Jun 2010 21:06:10 +0100 From: Matthew Garrett To: Ortwin =?iso-8859-1?Q?Gl=FCck?= Cc: linux-kernel@vger.kernel.org Subject: Re: freeze when strace X Message-ID: <20100609200610.GA27536@srcf.ucam.org> References: <4C0FDF9F.9070000@odi.ch> <20100609195228.GA27088@srcf.ucam.org> <4C0FF34D.6090800@odi.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C0FF34D.6090800@odi.ch> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 938 Lines: 22 On Wed, Jun 09, 2010 at 10:02:21PM +0200, Ortwin Gl?ck wrote: > On 09.06.2010 21:52, Matthew Garrett wrote: > > Just to make sure, you're not trying to strace X from within X, are you? > > Oh... now that you mention it... Is that a silly thing to do? > strace X from a different terminal works fine :-) > > But freezing the system because of that? I mean an error message, log, anything > would be "nice". strace needs to output text via X, which generates output which needs to be output via X... and you'll tend to deadlock. If X is holding any interesting kernel locks at that point then it wouldn't surprise me if the machine ends up dead. -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/