-
Notifications
You must be signed in to change notification settings - Fork 734
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 in InMemoryNormalizedCache
's clear
#3489
Comments
@postmechanical - do you have any other detail about what was in progress at the time? Active queries, watchers, subscriptions, etc. Looks like the call to |
@calvincestari There were no active queries as the user was not actively using any features that hit our graph but I am not aware of what other watchers or subscriptions may have been active at the same time. The call to |
A watcher was my first guess but I have not been able to replicate the crash with a rudimentary test. If you're able to reproduce this crash in a sample app that we can debug it'll certainly help to narrow down the cause. |
@calvincestari That's unlikely to happen anytime soon from our end. |
OK. We're entering a quiet period here over the holiday season, so once we're all back at it I'll take a deeper look into the code and try figure out what could be holding onto the reference. |
Understood. Much appreciated, thanks. |
Summary
SIGABRT
crash due toObject 0x15ba38c80 of class _DictionaryStorage deallocated with non-zero retain count 2. This object's deinit, or something called from it, may have created a strong reference to self which outlived deinit, resulting in a dangling reference.
when callingInMemoryNormalizedCache
'sclear
methodVersion
1.13.0
Steps to reproduce the behavior
Populate cache with some objects. Attempt to clear cache.
Logs
Anything else?
No response
The text was updated successfully, but these errors were encountered: