From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0DB133858D37; Thu, 14 Jul 2022 18:49:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DB133858D37 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29311] [gdb] ThreadSanitizer: data race (/lib64/libtsan.so.2+0x4c5e2) in free Date: Thu, 14 Jul 2022 18:49: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: vries at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status target_milestone resolution 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2022 18:49:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29311 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Target Milestone|--- |13.1 Resolution|--- |FIXED --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #7) > (In reply to Tom de Vries from comment #0) > > I build gdb with gcc 12.1.0 (system gcc) and -fsanitize=3Dthread on ope= nSUSE > > (with system glibc 2.35) Tumbleweed, and ran the testsuite, and ran into > > issues with gdb.ada/char_enum_unicode.exp: > > ... > > WARNING: ThreadSanitizer: data race (pid=3D21301)^M > > Write of size 8 at 0x7b2000008080 by main thread:^M > > #0 free (libtsan.so.2+0x4c5e2)^M > > #1 _dl_close_worker (ld-linux-x86-64.so.2+0x4b7b)^M > > #2 convert_between_encodings(char const*, char const*, unsigned char > > const*, unsigned int, int, obstack*, transliterations) > > /data/vries/gdb_versions/devel/src/gdb/charset.c:584 (gdb+0x64fc37)^M > > ... > > ^M > > Previous write of size 8 at 0x7b2000008080 by thread T1:^M > > [failed to restore the stack]^M > > ... >=20 > https://sourceware.org/pipermail/gdb-patches/2022-July/190743.html https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3D7d1a572d6b5= 194d36a96f36b3d28ce591341deb6 --=20 You are receiving this mail because: You are on the CC list for the bug.=