public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug dap/31263] [gdb] ThreadSanitizer: data race extension.c:755 in set_active_ext_lang(extension_language_defn const*)
Date: Fri, 23 Feb 2024 15:22:51 +0000	[thread overview]
Message-ID: <bug-31263-4717-P6vDBAc8Td@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31263-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31263

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
This one is kind of ugly because we basically need a mutex
so that set_quit_flag can safely be called off the main thread.
I must have thought this was an atomic operation when I wrote
this patch :(
Anyway the issue is that some hosts don't have threading
support in the c++ compiler, so making a mutex is difficult.

Not sure what to do there.  I'm leaning toward just allowing
the race in this situation, but disabling DAP would be
a possibility as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2024-02-23 15:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18  9:37 [Bug gdb/31263] New: " vries at gcc dot gnu.org
2024-01-18  9:41 ` [Bug gdb/31263] " vries at gcc dot gnu.org
2024-01-22 14:52 ` [Bug dap/31263] " vries at gcc dot gnu.org
2024-01-22 20:32 ` tromey at sourceware dot org
2024-02-12 18:58 ` tromey at sourceware dot org
2024-02-23 15:22 ` tromey at sourceware dot org [this message]
2024-02-23 16:21 ` tromey at sourceware dot org
2024-02-28 16:13 ` cvs-commit at gcc dot gnu.org
2024-02-28 16:14 ` 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-31263-4717-P6vDBAc8Td@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: link
Be 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).