From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76496 invoked by alias); 26 May 2015 08:56:20 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 76470 invoked by uid 48); 26 May 2015 08:56:20 -0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug python/14382] gdb hangs after plotting with matplotlib Date: Tue, 26 May 2015 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00320.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=14382 --- Comment #15 from Pedro Alves --- (In reply to Tom Tromey from comment #13) > I think if gdb uses signalfd to get SIGCHLD, and blocks it (what the > man page says to do) then the various sigaction calls that libraries > may do will just be ignored. Hmm, doesn't look like the sigactions are actually ignored, according to: http://stackoverflow.com/questions/20228092/can-there-be-a-race-between-signalfd-and-sigaction If both the handler setup by the library is called, and gdb's signalfd descriptor is waken, then it might be just what we need. -- You are receiving this mail because: You are on the CC list for the bug.