-
Notifications
You must be signed in to change notification settings - Fork 704
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
TransactionDB open_default
panic
#881
Comments
I switch the rustc to stable, it will be ok. :( |
i have the same case, just call open_default, and then panic. std::ptr::copy_nonoverlapping(ptr, vec.as_mut_ptr(), cnt); the ptr parameter is NULL, so it will panic |
Same, but only during tests |
I Have the same issue
any idea why this happens? |
It only happens with
but not
Testing with :
let mut opts = Options::default();
opts.create_if_missing(true);
let txn_db_opts = TransactionDBOptions::default();
let db = TransactionDB::open(&opts, &txn_db_opts, db_path).unwrap();
|
Workaround:
The other commits between 0.22.0 and that one are very minor. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This demo in my laptop, it will panic.
output:
I'm confused about this.
The text was updated successfully, but these errors were encountered: