Closed qwtel closed 3 years ago
I'm getting this with other wasm modules as well, so I now assume this is a bug in either deno or v8...
Question out of curiosity: Are you running this on the new apple M1
chipset?
Yes, I was using the ARM version on a M1 mac. I've switched to the x86 version shortly after I wrote this, and it fixed the problem in both wasm modules I've tried. Hopefully something that get's ironed out over time... Seems to be fixed in Deno 1.8
I'm sometimes getting the following error:
I've compiled a minimal example here: https://gist.github.com/qwtel/d2728ea41a48f7168bc68cd4785de574
It seems to be related to the use of
async
and has some race condition-like properties: The queries succeed a random number of times, but usually not more than ~10sqlite@v2.3.2 deno 1.7.2 (release, aarch64-apple-darwin) v8 8.9.255.3 typescript 4.1.3