From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E2BE3858C5E; Tue, 23 Jan 2024 02:16:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E2BE3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705976164; bh=RmAeEPVSDnb/vIAGjAb9TcYJSxPW4XQSZ/ftsdUKvFw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fP7FHmt7It76DGnJg3HA3Owi4cLVVFfgRhK95Cp4KP48lYkXgXvddhxd7j3Mme4EC b8frNukFS0pCSactBbPsPjwROFd9lSPXC966hsJ5xJ9USNXOsTTVpvGLCtpJuNd+El 3FehIHngTqj3jBK+FXOKxRIrXG49tcZqH94+hh5A= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31260] [gdb] ThreadSanitizer: data race /usr/include/c++/13/optional:286 in std::_Optional_payload_base > >::_M_destroy() Date: Tue, 23 Jan 2024 02:16:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey 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: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31260 --- Comment #3 from Tom Tromey --- I guess a race could happen if we open the same ELF twice. Then the second call to dwarf2_initialize_objfile could race -- calling dwarf2_read_dwz_file while the reading of the first one is being done. --=20 You are receiving this mail because: You are on the CC list for the bug.=