[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100609200610.GA27536@srcf.ucam.org>
Date: Wed, 9 Jun 2010 21:06:10 +0100
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Ortwin Glück <odi@....ch>
Cc: linux-kernel@...r.kernel.org
Subject: Re: freeze when strace X
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@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists