-
Notifications
You must be signed in to change notification settings - Fork 165
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
SIGBUS crash with encrypted Realm #2396
Comments
I'm probably facing the same issue. |
Thank you @malinajirka for that useful information! Please let us know what else you find out in your tests. To me it sounds strikingly similar to the symptoms of #2383. |
I've tested it with disabled encryption again and the app didn't crash. I increased the number of parallel threads and it crashes more often. As a temporary workaround I set observeOn and subscribeOn to a singleThread Executor. |
The first stacktrace seem different from the later. The first one is an alignment error, while the latter seem to arise from dereferencing a nullptr. |
Crash from samsung S7 with a bit more detailed msg - the log is from version 2.1.1
|
@malinajirka it should be fixed by #2465, feel free to reopen if you still have problems after testing with the new version using core 2.3.2 - Java version 2.3.2 (2017-02-27). |
@ironage It runs without a crash sofar. Great job! :) |
@ironage Unfortunately, it crashed again:(.
|
@malinajirka thank you for the information! You might want to follow #2537. Does it always crash in this place or does it crash elsewhere too? If it only crashes in this one place it is likely a different issue. By reversing the addresses in the stack trace using arm64-v8a/librealm-jni.so of realm-java 2.3.2 I find:
Furthermore, the disassembly shows:
To match the method:
I think the linked table could be invalid. I will make a test to check it. |
I haven't been able to reproduce the error. I'l give it a try next week. |
Reported from realm-java realm/realm-java#4023
backtrace:
Reproduce steps: unknown
Does it crash with encryption disabled: unknown
core version:
v2.3.0
The text was updated successfully, but these errors were encountered: