-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Crash with thread.cpp:186: [realm-core-5.23.5] pthread_mutex_destroy() failed #6333
Comments
I've tried to run your demo, but it appears to have some kind of private pod dependency. |
The private pods are present in the repro repo, so just skipping I can reproduce the crash running the app. It appears to be related to destroying notification tokens on a different thread than they were created on at the same time as the Realm they were obtained from is being closed. This is something that's supposed to work. |
I've made a PR which I think fixes this: realm/realm-core#3460. |
Not sure if related but I have a crash on Crashed thread:
Second not crashed thread:
|
Goals
query results from realm, add notifications, remove notifications simultaneously.
Expected Results
Crash free
Actual Results
Run the demo about some minutes(maybe one minute), realm Crashed.
Steps to Reproduce
Reproduce demo
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: