Closed pavlos256 closed 3 years ago
Can you provide a minimal project with the crash? Does it crash if you don't turn on Hermes? If it doesn't crash on JSC, then I would suggest you open an issue at https://github.com/facebook/hermes instead. Judging from the stack trace alone, it doesn't look like AsyncStorage is the cause here.
You're right, it doesn't crash on JSC and I confirmed it's a Hermes issue by removing code until I was left with a minimal test case.
Turns out it's a known issue related to this one (https://github.com/facebook/hermes/issues/95) and it seems to be fixed on 0.64 (I can't make it crash).
Current behavior
When Hermes is enabled, multiGet behaves like it's hanged for about 10 seconds and then the app crashes. It doesn't happen all the time but the more the keys, the easier it is to reproduce. Possibly related to #445.
Expected behavior
multiGet should be fast and not crash.
Repro steps
Environment