NetBSD Problem Report #55770

From  Sat Oct 31 12:41:53 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 6882E1A923D
	for <>; Sat, 31 Oct 2020 12:41:53 +0000 (UTC)
Message-Id: <>
Date: Sat, 31 Oct 2020 14:41:47 +0200 (EET)
From: (Andreas Gustafsson)
Reply-To: (Andreas Gustafsson)
Subject: Some tsan tests fail randomly on real hardware
X-Send-Pr-Version: 3.95

>Number:         55770
>Category:       toolchain
>Synopsis:       Some tsan tests fail randomly on real hardware
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 12:45:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
System: NetBSD
Architecture: x86_64
Machine: amd64

In addition to the tsan test cases failing in every run on real amd64
hardware as reported in PR 55760, others are failing randomly.

The following have failed in the last 40 runs on my bare metal testbed:

X--XX-XXXX--X----X-XX--X-XX---X-----XX-X   usr.bin/c++/t_tsan_data_race:data_race
---X-X-XX-X---X--XX-X----XX---X-XX--X---   usr.bin/c++/t_tsan_data_race:data_race_pic
XXXXX-XX-XX-X-X-X---------------------X-   usr.bin/c++/t_tsan_data_race:data_race_pie
-----X----------------------------------   usr.bin/c++/t_tsan_vptr_race:vptr_race
-------------------------------------X-X   usr.bin/c++/t_tsan_vptr_race:vptr_race_pie
-----------------X----X------X------X---   usr.bin/cc/t_tsan_data_race:data_race
------------X---X-X---------------------   usr.bin/cc/t_tsan_data_race:data_race_pic
--X-------------------------------------   usr.bin/cc/t_tsan_data_race:data_race_pie

In the table to the left, each successful run is represented by "-",
and each failure by "X", with CVS time increasing towards the right.
Logs from the most recent run can be found at:



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.