From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 17E093858412 for ; Mon, 11 Jul 2022 10:08:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 17E093858412 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3BF4522827 for ; Mon, 11 Jul 2022 10:08:28 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2899813524 for ; Mon, 11 Jul 2022 10:08:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id zETBCJz2y2KbUQAAMHmgww (envelope-from ) for ; Mon, 11 Jul 2022 10:08:28 +0000 Date: Mon, 11 Jul 2022 12:08:26 +0200 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH][gdb] Add tsan-suppressions.txt Message-ID: <20220711100825.GA15997@delia.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 10:08:31 -0000 Hi, Add a new file tsan-suppressions.txt, to suppress the "unlock unlocked mutex" problem in ncurses, filed in PR29328. For now, one needs to specify it manually using something like: ... $ export TSAN_OPTIONS=suppressions=$(pwd -P)/src/gdb/tsan-suppressions.txt ... Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29328 Any comments? Thanks, - Tom [gdb] Add tsan-suppressions.txt --- gdb/tsan-suppressions.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gdb/tsan-suppressions.txt b/gdb/tsan-suppressions.txt new file mode 100644 index 00000000000..5f1e5dc7ea7 --- /dev/null +++ b/gdb/tsan-suppressions.txt @@ -0,0 +1,18 @@ +# Copyright (C) 2022 Free Software Foundation, Inc. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Problem in ncurses, see: +# - https://sourceware.org/bugzilla/show_bug.cgi?id=29328. +# - https://lists.gnu.org/archive/html/bug-ncurses/2022-07/msg00002.html +mutex:newterm