-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
SIGSEGV #2027
Comments
Hi @Kistamushken |
@nhachicha I will send debug version of our apk to help@realm.io and provide you with a scenario to reproduce shortly. |
@nhachicha sent you the apk. |
We have just released 0.87.4 with a potential fix for this. We still haven't been able to reproduce the exact error you are reporting here, but upon investigation found something that appeared to be the root cause. So if you can test with 0.87.4 that would be much appreciated. |
@cmelchior been testing my app with the new realm version(0.87.4) for the last day. Seems like you are right and the bug you've fixed in the core actually fixed this issue and #2021 all together. Thanks a lot guys. You are awesome :) |
Thank you for reporting back @Kistamushken. Sounds great. I'll close this issue then. Feel free to reopen if it re-appears. |
Hey, guys. I'm getting loads of SIGSEGVs right now (Realm 0.87.1). Our app performs a lot of async queries and writes(we have a ViewPager with 10 elements, where each element is a RecyclerView). Basically, these elements are feeds where the same or different posts are sorted in different ways. Sometimes crash occurs when user just swings the ViewPager, sometimes it occurs when user restarts this fragment.
RealmChangeListener is usually set in the onStart() method and removed in the onStop() method of a fragment. Btw, I tried commenting out removeChangeListeners, but it didn't really help.
Looking forward to your response, sadly right now this issue totally bricks our app :(
Here is the log:
RealmLog.txt
By the way, I've noticed that D/REALM: REALM_CHANGED realm:io.realm.HandlerController@537635c8 updating async queries, total: NUMBER goes higher and higher over time.
Small update: I am using Realm as a Singleton, but I when I encountered this problem I've tried switching to the opening Realm in onStart() and closing it in onStop(), but it also didn't help.
Btw, this scenario is much easier to reproduce on older devices and/or api versions (API 4.1.1)
The text was updated successfully, but these errors were encountered: