id = 2900 title = "Data races in test-bdrv-drain test" state = "closed" created_at = "2025-04-01T14:12:12.898Z" closed_at = "2025-04-09T08:30:31.103Z" labels = ["Storage"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2900" host-os = "Ubuntu Linux" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """Data races in the access of `Job` fields in the `test-bdrv-drain` test were 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/test-bdrv-drain MALLOC_PERTURB_=186 G_TEST_SRCDIR=$QEMU_BUILD_DIR/tests/unit G_TEST_BUILDDIR=$QEMU_BUILD_DIR/tests/unit $QEMU_BUILD_DIR/tests/unit/test-bdrv-drain --tap -k ```""" additional = "n/a"