id = 2902 title = "Data Race with slh_first Field in test-aio-multithread" state = "opened" created_at = "2025-04-01T14:33:14.665Z" closed_at = "n/a" labels = ["Storage"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2902" host-os = "Ubuntu Linux" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """Potential data races in the `QSLIST_INSERT_HEAD_ATOMIC` macro 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_=102 G_TEST_SRCDIR=$QEMU_BUILD_DIR/tests/unit G_TEST_BUILDDIR=$QEMU_BUILD_DIR/tests/unit $QEMU_BUILD_DIR/tests/unit/test-aio-multithread --tap -k ```""" additional = "n/a"