summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/other/2822
blob: ec93c982df1eb17d6fe8918046aabf071af02f01 (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.858
performance: 0.799
device: 0.793
debug: 0.562
files: 0.551
vnc: 0.511
boot: 0.434
semantic: 0.428
permissions: 0.385
PID: 0.319
socket: 0.127
network: 0.073
other: 0.059
KVM: 0.020

Data race with state field of ThreadPoolElement
Description of problem:
A data race in the access of `ThreadPoolElement` state field in `util/thread-pool.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/test-thread-pool
MALLOC_PERTURB_=111 G_TEST_SRCDIR=$QEMU_BUILD_DIR/tests/unit G_TEST_BUILDDIR=$QEMU_BUILD_DIR/tests/unit $QEMU_BUILD_DIR/tests/unit/test-thread-pool --tap -k
```