From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0010238460B4; Mon, 13 May 2024 17:38:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0010238460B4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1715621927; bh=XkMn6Hk9Yd7TdAl+/DxBnlYLnNbjmM4J9WUIDSe+o4Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jyFBES//Q8Ne2UcsTMzJFiGjVAYIC+wqaeNcZ7Tob6CZ16WTbyLVvgeY9QcYLqQPZ DKws7AZky+6s3SfCevjCMsq/A7Um/xryPgqHkrL/HxSAj9gAC/WC4nFy1DEZIWRi7J 4rnXpWud0IvI81f7L3kcwW4WXR1XbQ/1/C+pIMOk= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31716] race condition in libiberty/concat.c Date: Mon, 13 May 2024 17:38:46 +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: UNCONFIRMED 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: cc 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=3D31716 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #2 from Tom Tromey --- The problem code is: search_path_holder.reset (concat (".", dirname_separator_string, debug_file_directory.c_str (), (char *) NULL)); debug_file_directory is a global that can be modified using "set debug-file-directory". Probably the DWARF reader can capture this global early and use the captured value in try_open_dwop_file. This would give the same semantics as today. --=20 You are receiving this mail because: You are on the CC list for the bug.=