id = 2750 title = "Data race in the goflag global variable in the rcutorture test." state = "opened" created_at = "2024-12-27T12:50:18.037Z" closed_at = "n/a" labels = ["Tests"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2750" host-os = "Ubuntu Linux" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """A data race involving the `goflag` global variable in `tests/unit/rcutorture.c` was identified using TSAN.""" reproduce = """```sh QEMU_BUILD_DIR= QEMU_DIR= 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 ```""" additional = "n/a"