-
Notifications
You must be signed in to change notification settings - Fork 46
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
Relations of has many causes panic in armv7 device #52
Comments
I have identified the triggering cause. objectbox/[email protected]/objectbox/objectbox.go : 91
x86 windows the so, in the method of But I am not sure about the meaning of |
Thanks for reporting and investigating. First, this is a legit check:
For 32 bit, it has to function differently as the underlying mmap works "simpler" on 64-bit. |
I am now forcing the supportsRultArray to be set to true. My device (armv7 linux) is working now. I hope this issue can be resolved as soon as possible. |
This is risky. It may seem fine for a while but yield garbage data at any point. |
Thank you for your reply again. |
Can you provide some info on your setup (e.g. hardware, OS, or whatever could be special on your side)? |
Hardware
OSOpenwrt 18.06 |
Thanks for the info. Please have some patience... One thing that could be helpful would be to add armv7 to GitHub actions (e.g. via https://github.com/marketplace/actions/run-on-architecture). A pull requests would be welcome. |
Thank you! I am not familiar with GitHub actions at all. If it is necessary, please let me know and I will study how to use it. |
Update from our side: we can now reproduce a similar issue, so we have something to look into. We'll keep you updated... |
Thank you! |
Fixed internally, will be part of the next release (we do not have a date yet). |
I am in a hurry to test and hope to update the version as soon as possible. Thank you! |
Here you go: https://github.com/objectbox/objectbox-go/releases/tag/v1.8.1 Let us know if it works for you now. |
Tested successfully! |
The same code can run normally on my computer (x86 windows) and device (armv7 Linux) without using a one to many relationship. Once a one to many relationship is used, it can run normally on my computer (x86 Windows). But when my device (armv7 Linux ) is running, it will cause a panic.
Basic info
Code
Windows Log
&{6 Buy milk 0 0 0 [0xc000086020 0xc000086040]}
Linux (ARMV7) Log
The text was updated successfully, but these errors were encountered: