-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db_stress hangs/segfaults for a small test case #9482
Comments
Thanks for reporting @yhr ! I've run your repro under TSAN and indeed there are some races, for instance this one which I believe is the immediate cause of the crash:
|
ltamasi
added a commit
to ltamasi/rocksdb
that referenced
this issue
Feb 1, 2022
Summary: Fixes a typo introduced in facebook#9466. Fixes facebook#9482 Test Plan: ``` COMPILE_WITH_TSAN=1 make db_stress -j24 ./db_stress --ops_per_thread=1000 --reopen=5 ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
That db_stress exist gracefully for the command line
Actual behavior
A deadlock(?) at the test completion (after "Verification successful") for debug builds
..and with a segfault for non-debug builds:
Reverting commit f07c569 fixes the issue.
Steps to reproduce the behavior
./db_stress --ops_per_thread=1000 --reopen=5
The text was updated successfully, but these errors were encountered: