Writing a file encoded with tableToIPC() can get corrupted such that passing it to tableFromIPC() causes the thread to hang
- Dominant language
- TypeScript
- Stars
- 112
- Forks
- 23
- Avg merge
- 21h 18m
- Merged PRs (30d)
- 8
Description
### Describe the bug, including details regarding any error messages, version, and platform.
I have a browser-based app that writes files to the OPFS encoded with tableToIPC() and then decode them with tableFromIPC(). This works correctly most of the time. Occasionally the write can get corrupted. Most of the time when this happens, tableFromIPC() will throw an error which I can handle. But occasionally, whatever I'm getting back causes tableFromIPC() to hang indefinitely. There is no error and the worker thread hangs.
I have seen this in v19.0.1 and after updating to v21.1.0
The file can be found here: https://drive.google.com/file/d/146CYIjRvoEPeMRJ_ghZFP6_WUlpmGlXP/view
Contributor guide
Assessment
This issue has not been assessed yet.