blob: bc72aef9a660368c3271e6d71aa473a6a4afa126 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
graphic: 0.881
device: 0.854
performance: 0.777
files: 0.652
PID: 0.611
debug: 0.597
permissions: 0.597
vnc: 0.576
boot: 0.488
semantic: 0.465
network: 0.368
socket: 0.348
other: 0.080
KVM: 0.022
Data race in the goflag global variable in the rcutorture test.
Description of problem:
A data race involving the `goflag` global variable in `tests/unit/rcutorture.c` was identified using TSAN.
Steps to reproduce:
```sh
QEMU_BUILD_DIR=<path to the QEMU build directory>
QEMU_DIR=<path to the QEMU repository directory>
configure --enable-tsan --cc=clang --cxx=clang++ --enable-trace-backends=ust --enable-fdt=system --disable-slirp
make tests/unit/rcutorture
MALLOC_PERTURB_=194 G_TEST_BUILDDIR=$QEMU_BUILD_DIR/tests/unit G_TEST_SRCDIR=$QEMU_DIR/tests/unit $QEMU_BUILD_DIR/tests/unit/rcutorture --tap -k
```
|