-
Notifications
You must be signed in to change notification settings - Fork 302
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
Why some user always crash in Java_io_objectbox_query_Query_nativeRemove #1194
Comments
Thanks for reporting! It would really help if you can provide the info requested in the bug report template, most importantly which version of ObjectBox is used by your project? Anyhow, the most common cause for this, that we are aware of, is that the Store is closed in a different thread while the remove query is still running. Note: I labeled this issue with "more info required" so it will auto-close in a few days if there are no follow-up comments. |
objectboxVersion = '3.8.0'
|
Based on the symbolized crash dump ending in LMDB code, this likely is as I suspected because the Store gets closed while a query is running. The latest release has improvements for that case. My recommendation is to update to the latest version (4.0.3 as of 2024-11-04). Note: I labeled this issue with "more info required" so it will auto-close in a few days if there are no follow-up comments. |
Thanks, I will try it in next version of our app. |
the main thread stack:
What dost code in "Java_io_objectbox_query_Query_nativeRemove+68" do?
Once crash happen, the same user will crash many times.
my code:
It's crash when 'remove' invoke
The text was updated successfully, but these errors were encountered: