From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81467 invoked by alias); 5 Oct 2018 10:55:50 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 81456 invoked by uid 89); 5 Oct 2018 10:55:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_20,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=sleep, Paulo, paulo, Hx-spam-relays-external:sk:authent X-HELO: box.linki.tools Received: from box.linki.tools (HELO box.linki.tools) (88.198.125.222) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Oct 2018 10:55:47 +0000 Received: from authenticated-user (box.linki.tools [88.198.125.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.linki.tools (Postfix) with ESMTPSA id F0B2040422 for ; Fri, 5 Oct 2018 12:55:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=linki.tools; s=mail; t=1538736945; bh=AlcdUgynhkkj+A4zJb3DiSVDh/Sb9KZFZFlhB2Cb1QU=; h=To:From:Subject:Date:From; b=EgubzTKtonMLAJNUCvcUsxgCZkmO/nFewKbX3z1vemjlMbQxYftUrV+NMJjnssmqz 4YueY5PyqutImuiKGCDHXsizl+LyZbzLM3HhoY2qQFaEdzMvnuxisepmnGZstqE3zW KRqtpTg5Ye91gIJUbghYEAHibfpjsNNOIvG+eyQqfBhgUnDh0somZd5KK5mSzf8zHP WuOVGlOrRM04SRufC9bieaRYY43LXYB7hhYbKXn0r+jY1keNihKPeX5HjxUg0ehvEn PnZ+z/hDDoIzxVBX+COXPvCaVlpHeze7muuoqqjUIjQrPzPkjg+JujzIjISCTkJpL5 4lrLQElIJfnrA== To: gdb@sourceware.org From: Paulo Matos Subject: Can we stop when process goes into uninterruptible sleep Openpgp: preference=signencrypt Message-ID: <20a7353a-ae37-f745-f863-cdea515bf588@linki.tools> Date: Fri, 05 Oct 2018 10:55:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00007.txt.bz2 Hi, I am having a problem with a set of processes (most likely a race condition) that causes them to often go into uninterruptible sleep. The 'D' status flag in htop. Is there a way to use gdb to understand why this is happening? Maybe some sort of break when the process changes state? Thanks, -- Paulo Matos