From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2D873858C74; Wed, 26 Apr 2023 17:34:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2D873858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682530486; bh=So3z7qwYXwhEszr+ZkhPw7WEBqattNxabYhOcP5CLJI=; h=From:To:Subject:Date:From; b=pBf0ruF98oEJJOrQdB5IJLDKlV+7x3DcN8rQ1ilNScZRXBG0FeMRq/Pvcv5Ef+FJu 6IRHmdJMJOl5h+kOh+ySBF2f5eI95ssx3Jn8y7DkYb6N0iM+HWM5lWT5ntcKZXKOck hBYMDLO6Mn6FoEq2lkR5+YvcaSz1csK6J4XtB+kU= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30392] New: [gdb/symtab] thread sanitizer data race in gdb.base/index-cache.exp Date: Wed, 26 Apr 2023 17:34:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30392 Bug ID: 30392 Summary: [gdb/symtab] thread sanitizer data race in gdb.base/index-cache.exp Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- When building gdb with thread sanitizer, I get in test-case gdb.base/index-cache.exp: ... (gdb) PASS: gdb.base/index-cache.exp: test_basic_stuff: index-cache is disa= bled by default set index-cache enabled on^M =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D^M ^[[1m^[[31mWARNING: ThreadSanitizer: data race (pid=3D6153)^M ^[[1m^[[0m^[[1m^[[34m Write of size 1 at 0x000003197b80 by main thread:^M ^[[1m^[[0m #0 index_cache::enable() /data/vries/gdb/src/gdb/dwarf2/index-cache.c:76 (gdb+0x8247db)^M ... --=20 You are receiving this mail because: You are on the CC list for the bug.=