From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E65643858D39; Fri, 1 Jul 2022 08:08:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E65643858D39 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29311] New: [gdb] ThreadSanitizer: data race (/lib64/libtsan.so.2+0x4c5e2) in free^M Date: Fri, 01 Jul 2022 08:08:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: 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 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: Fri, 01 Jul 2022 08:08:21 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29311 Bug ID: 29311 Summary: [gdb] ThreadSanitizer: data race (/lib64/libtsan.so.2+0x4c5e2) in free^M Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I build gdb with gcc 12.1.0 (system gcc) and -fsanitize=3Dthread on openSUSE (with system glibc 2.35) Tumbleweed, and ran the testsuite, and ran into is= sues 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 You are receiving this mail because: You are on the CC list for the bug.=