public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug dap/30680] [gdb/dap] ThreadSanitizer: data race gdbsupport/event-pipe.h:44 in event_pipe::is_open() const Date: Mon, 31 Jul 2023 12:37:03 +0000 [thread overview] Message-ID: <bug-30680-4717-rpIZvWpUY1@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-30680-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=30680 --- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=30c01bb104e4dfc50e8cf3d0312bbf7d22f73d10 commit 30c01bb104e4dfc50e8cf3d0312bbf7d22f73d10 Author: Tom Tromey <tromey@adacore.com> Date: Fri Jul 28 12:02:38 2023 -0600 Restore previous sigmask in gdb.block_signals Tom de Vries found a bug where, sometimes, a SIGCHLD would be delivered to a non-main thread, wreaking havoc. The problem is that gdb.block_signals after first blocking a set of signals, then unblocked the same set rather than restoring the initial situation. This function being called from the DAP thread lead to SIGCHLD being unblocked there. This patch fixes the problem by restoring the previous set of signals instead. Tested-by: Tom de Vries <tdevries@suse.de> Reviewed-By: Tom de Vries <tdevries@suse.de> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30680 -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-07-31 12:37 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-07-25 10:33 [Bug dap/30680] New: " vries at gcc dot gnu.org 2023-07-25 10:46 ` [Bug dap/30680] " vries at gcc dot gnu.org 2023-07-25 11:10 ` vries at gcc dot gnu.org 2023-07-25 11:51 ` vries at gcc dot gnu.org 2023-07-25 12:36 ` tromey at sourceware dot org 2023-07-26 12:12 ` vries at gcc dot gnu.org 2023-07-26 16:23 ` vries at gcc dot gnu.org 2023-07-26 16:57 ` vries at gcc dot gnu.org 2023-07-26 16:59 ` vries at gcc dot gnu.org 2023-07-28 11:01 ` vries at gcc dot gnu.org 2023-07-28 16:04 ` tromey at sourceware dot org 2023-07-28 16:20 ` vries at gcc dot gnu.org 2023-07-28 17:58 ` tromey at sourceware dot org 2023-07-28 18:10 ` tromey at sourceware dot org 2023-07-31 12:37 ` cvs-commit at gcc dot gnu.org [this message] 2023-07-31 12:38 ` tromey at sourceware dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30680-4717-rpIZvWpUY1@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).