From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25666 invoked by alias); 20 Jan 2008 15:08:26 -0000 Received: (qmail 25633 invoked by uid 22791); 20 Jan 2008 15:08:22 -0000 X-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,DATE_IN_PAST_24_48 X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 20 Jan 2008 15:08:00 +0000 Received: from wildebeest.demon.nl ([83.160.170.119] helo=[127.0.0.1]) by gnu.wildebeest.org with esmtp (Exim 4.63) (envelope-from ) id 1JGbm9-00028e-JU for frysk@sourceware.org; Sun, 20 Jan 2008 16:07:58 +0100 Subject: Surprise: debug (utrace/ptrace attach) -> no suspend From: Mark Wielaard To: frysk Content-Type: text/plain Date: Sun, 20 Jan 2008 15:08:00 -0000 Message-Id: <1200740314.12412.15.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-3.fc8) Content-Transfer-Encoding: 7bit X-Spam-Score: -3.3 (---) X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00035.txt.bz2 Hi, As a good hacker I was using frysk while traveling with my laptop to debug some program. Imagine my surprise that when I had to switch trains my laptop didn't want to suspend. The cause was frysk (!). Only when I quit my frysk debugging session could I suspend and change trains. Meanwhile I noticed the same thing with gdb. When you are attached to a process the kernel refuses to suspend. This is primarily a note to myself to not forget about this incident, investigate a bit more when I am back, and file a proper bug report against the kernel/utrace. Cheers, Mark