element-hq / element-hq/element-web

Firefox occasionally deadlocks loading sync data from IndexedDB

Open
#17,891 6 comments 0 reactions 0 assignees View on GitHub
A-Storage O-Uncommon S-Critical T-Defect Z-Platform-Specific
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

From time to time, loading Element Web can cause Firefox to seemingly deadlock in the IndexedDB loading path of the app.

When this happens, the last lines in the console will look something like:

```
LocalIndexedDBStoreBackend.connect: connecting...
LocalIndexedDBStoreBackend.connect: awaiting connection...
LocalIndexedDBStoreBackend.connect: connected
LocalIndexedDBStoreBackend: loading account data...
LocalIndexedDBStoreBackend: loading sync data...
```

...and then it will just stop there forever.

Even reloading the app will have no effect... the only workaround I know of is to restart the entire browser.

This affects not just myself, but at least several other Firefox users as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.