[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100609205350.GA28383@srcf.ucam.org>
Date: Wed, 9 Jun 2010 21:53:50 +0100
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Ortwin Glück <odi@....ch>,
linux-kernel@...r.kernel.org
Subject: Re: freeze when strace X
On Wed, Jun 09, 2010 at 10:47:23PM +0200, Thomas Gleixner wrote:
> On Wed, 9 Jun 2010, Matthew Garrett wrote:
> > 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.
>
> Nothing to do with kernel locks. strace hooks into the syscall and
> intercepts the data, so X is stopped at that point. Now try to send
> output to a program which you stopped yourself :)
Oh, yeah, and ctrl+alt+fwhatever is handled by X.
--
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