-
Notifications
You must be signed in to change notification settings - Fork 61
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
SIGENV when reading a database and using asFlow() #1620
Comments
Hi @Burtan It looks like it is crashing when doing a write. If it always crashes, it is something you can reproduce in a sample project you can share with us, or otherwise show the exact code that makes it crash. |
Thanks for the fast response, I tried to get some further information, but it seems hard :O. I'm experiencing realm crashes on both my developer devices (laptop and desktop), however it only crashes when running the application. All tests work fine. I now configured my CI with docker runners to run the application by using a headless x mode. And the application does not crash on Ubuntu 22.04, Debian trixie and Debian unstable. Windows works on my machines as well. This is a log when it crashes just on opening realm.
I'm trying to cut down my application to get some shareable example. |
➤ cmelchior commented: Hmm, that is indeed weird. Have you tried to run the application using a different JDK like the official Oracle one: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html or Azul: https://www.azul.com/downloads/?version=java-17-lts&package=jdk#zulu ... just to rule out any problems with the JDK |
I managed to make a minimal example for reproduction, which also includes one crash log. I hope this helps! Trying different jdks (versions and vendors) didn't change anything for me. |
Do you need anything more? |
Hello, I'm getting almost this exact same behavior. Any advice? Thank you! My JVM info: JRE version: OpenJDK Runtime Environment Corretto-17.0.12.7.1 (17.0.12+7) (build 17.0.12+7-LTS) |
In case it helps, the same thing happens with Coretto 21:
|
I updated to the latest dependencies, especially: Kotlin 2.0.20 The crash is gone, although I don't know which change fixed it. |
How frequently does the bug occur?
Always
Description
Hey,
I upgraded from realm 1.10.0 to 1.13.0 and now I'm getting the following error:
It is thrown when a dbQuery is transformed asFlow.
Stacktrace & log output
Can you reproduce the bug?
Always
Version
1.11.0 - 1.13.0
Are you using encryption?
No
Platform OS and version(s)
Debian testing (trixie)
Build environment
Android Studio version: Hedgehog/IntelliJ IDEA 2023.3.2
Android Build Tools version: 34.0.0
Gradle version: 8.5
The text was updated successfully, but these errors were encountered: