Uwe (ObjectBox)

Results 599 comments of Uwe (ObjectBox)
trafficstars

The `4.3.1` release shipped with database libraries that have improved code to wait on database operations like queries before closing a Store. This should avoid the crash observed in this...

Thanks! We are also aware. But we likely won't work on this in the near future as the ObjectBox Swift (which the Dart library uses internally to support Apple devices)...

Thank you for reporting! I also have not found a workaround for this when this is one of many query conditions. However, if the only query condition is an isEqual...

@chrisrohrer Thanks for reporting. Maybe the Swift compiler got smarter? Will have to verify.

Thanks for reporting! It would really help if you can provide the info requested in [the bug report template](https://github.com/objectbox/objectbox-java/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), most importantly which version of ObjectBox is used by your project?...

Based on the [symbolized crash dump](https://github.com/user-attachments/files/17615805/gh-1194-crash-nativeRemove-symbolized.txt) ending in LMDB code, this likely is as I suspected because the Store gets closed while a query is running. [The latest release has...

Thanks for reporting! See https://github.com/objectbox/objectbox-java/issues/1190#issuecomment-2382501514. 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.

@avarughese-tripactions Thank you very much for the analysis and details! From what I remember it sounds plausible and we will have a look! Edit: for our reference, the internal issue...

@RobbWatershed Not yet. As [previously explained](https://github.com/objectbox/objectbox-java/issues/1201#issuecomment-2599813895), a workaround to avoid the assumed deadlock might be to make sure that if your app creates a new BoxStore instance that any previous...

@RobbWatershed This affects all instances as the issue is about obtaining a lock on a static member: https://github.com/objectbox/objectbox-java/blob/c84c0822c6d8e50ad9008794a3aa5e9913bc4a83/objectbox-java/src/main/java/io/objectbox/BoxStore.java#L87