public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/31751] New: re-enable background DWARF reading
@ 2024-05-17 14:13 tromey at sourceware dot org
  2024-05-17 14:14 ` [Bug gdb/31751] " tromey at sourceware dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:13 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31751
           Summary: re-enable background DWARF reading
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

Background DWARF reading (see bug #29942) caused a number
of races.  (I'll change the known ones to block this bug.)

I think we should disable background reading for gdb 15,
then fix the bugs and try to re-enable it for a later release.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
@ 2024-05-17 14:14 ` tromey at sourceware dot org
  2024-05-17 14:14 ` tromey at sourceware dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:14 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31715


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31715
[Bug 31715] race condition in cooked_index_shard::finalize
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
  2024-05-17 14:14 ` [Bug gdb/31751] " tromey at sourceware dot org
@ 2024-05-17 14:14 ` tromey at sourceware dot org
  2024-05-17 14:14 ` tromey at sourceware dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:14 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31713


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31713
[Bug 31713] race conditions in target simulation
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
  2024-05-17 14:14 ` [Bug gdb/31751] " tromey at sourceware dot org
  2024-05-17 14:14 ` tromey at sourceware dot org
@ 2024-05-17 14:14 ` tromey at sourceware dot org
  2024-05-17 14:15 ` tromey at sourceware dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:14 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |29286


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=29286
[Bug 29286] SUMMARY: ThreadSanitizer: data race gdb/dwarf2/read.c:4100 in
dw_expand_symtabs_matching_file_matcher
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (2 preceding siblings ...)
  2024-05-17 14:14 ` tromey at sourceware dot org
@ 2024-05-17 14:15 ` tromey at sourceware dot org
  2024-05-17 14:16 ` tromey at sourceware dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:15 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |29366


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=29366
[Bug 29366] [meta] New DWARF indexer meta bug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (3 preceding siblings ...)
  2024-05-17 14:15 ` tromey at sourceware dot org
@ 2024-05-17 14:16 ` tromey at sourceware dot org
  2024-05-17 14:17 ` tromey at sourceware dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:16 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31626


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31626
[Bug 31626] [gdb/symtab] data races in gdb.rust/dwindex.exp
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (4 preceding siblings ...)
  2024-05-17 14:16 ` tromey at sourceware dot org
@ 2024-05-17 14:17 ` tromey at sourceware dot org
  2024-05-17 14:17 ` tromey at sourceware dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:17 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31264


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31264
[Bug 31264] [gdb] ThreadSanitizer: data race format.c:132 in bfd_preserve_save
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (5 preceding siblings ...)
  2024-05-17 14:17 ` tromey at sourceware dot org
@ 2024-05-17 14:17 ` tromey at sourceware dot org
  2024-05-17 14:17 ` tromey at sourceware dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:17 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |30837


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=30837
[Bug 30837] [gdb/symtab, index-cache] data race on current_inferior_
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (6 preceding siblings ...)
  2024-05-17 14:17 ` tromey at sourceware dot org
@ 2024-05-17 14:17 ` tromey at sourceware dot org
  2024-05-17 14:18 ` tromey at sourceware dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:17 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31262


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31262
[Bug 31262] [gdb] ThreadSanitizer: data raceindex-cache.c:76 in
index_cache::enable()
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (7 preceding siblings ...)
  2024-05-17 14:17 ` tromey at sourceware dot org
@ 2024-05-17 14:18 ` tromey at sourceware dot org
  2024-05-17 15:20 ` tromey at sourceware dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 14:18 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31260


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31260
[Bug 31260] [gdb] ThreadSanitizer: data race /usr/include/c++/13/optional:286
in std::_Optional_payload_base<std::unique_ptr<dwz_file,
std::default_delete<dwz_file> > >::_M_destroy()
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (8 preceding siblings ...)
  2024-05-17 14:18 ` tromey at sourceware dot org
@ 2024-05-17 15:20 ` tromey at sourceware dot org
  2024-05-17 16:23 ` tromey at sourceware dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 15:20 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2024-May/209267.html

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (9 preceding siblings ...)
  2024-05-17 15:20 ` tromey at sourceware dot org
@ 2024-05-17 16:23 ` tromey at sourceware dot org
  2024-05-22 16:16 ` cvs-commit at gcc dot gnu.org
  2024-05-22 16:20 ` tromey at sourceware dot org
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-17 16:23 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |31716


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=31716
[Bug 31716] race condition in libiberty/concat.c
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (10 preceding siblings ...)
  2024-05-17 16:23 ` tromey at sourceware dot org
@ 2024-05-22 16:16 ` cvs-commit at gcc dot gnu.org
  2024-05-22 16:20 ` tromey at sourceware dot org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-22 16:16 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Sourceware Commits <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=b013bd16630fb243d6fa0ee5d4c4eae77f6e5176

commit b013bd16630fb243d6fa0ee5d4c4eae77f6e5176
Author: Tom Tromey <tromey@adacore.com>
Date:   Fri May 17 08:55:46 2024 -0600

    Default dwarf_synchronous to true

    Unfortunately the background DWARF reading series introduced a number
    of races, as repored by thread sanitizer.  This patch changes gdb to
    disable this feature for the time being -- in particular for the gdb
    15 release.

    I've filed a bug and linked all the known races to it.  Once those are
    fixed we can re-enable this feature by default.

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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug gdb/31751] re-enable background DWARF reading
  2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
                   ` (11 preceding siblings ...)
  2024-05-22 16:16 ` cvs-commit at gcc dot gnu.org
@ 2024-05-22 16:20 ` tromey at sourceware dot org
  12 siblings, 0 replies; 14+ messages in thread
From: tromey at sourceware dot org @ 2024-05-22 16:20 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
That patch disabled the feature, but we should leave
this bug open for re-enabling the feature and eventually
backing out that patch.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-05-22 16:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17 14:13 [Bug gdb/31751] New: re-enable background DWARF reading tromey at sourceware dot org
2024-05-17 14:14 ` [Bug gdb/31751] " tromey at sourceware dot org
2024-05-17 14:14 ` tromey at sourceware dot org
2024-05-17 14:14 ` tromey at sourceware dot org
2024-05-17 14:15 ` tromey at sourceware dot org
2024-05-17 14:16 ` tromey at sourceware dot org
2024-05-17 14:17 ` tromey at sourceware dot org
2024-05-17 14:17 ` tromey at sourceware dot org
2024-05-17 14:17 ` tromey at sourceware dot org
2024-05-17 14:18 ` tromey at sourceware dot org
2024-05-17 15:20 ` tromey at sourceware dot org
2024-05-17 16:23 ` tromey at sourceware dot org
2024-05-22 16:16 ` cvs-commit at gcc dot gnu.org
2024-05-22 16:20 ` tromey at sourceware dot org

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).