Possible Safari browser bug breaks asynchronous WebAssembly build #243
rhashimoto
announced in
Announcements
Replies: 1 comment 1 reply
-
Might be related: #87 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using an asynchronous wa-sqlite build has been observed to cause a "Maximum call stack size exceeded" error on Safari 18.2. I believe this is caused by this WebKit bug.
There is a test page that demonstrates the bug here.
The problem seems to occur with an Emscripten Asyncify build with higher compiler optimization levels. One possible workaround is to build wa-sqlite with -O0 or -O1 (instead of -Oz) but that produces a 3x larger .wasm file that runs noticeably slower.
The test page also fails on the Safari 18.3 beta but not on Safari Technology Preview.
Beta Was this translation helpful? Give feedback.
All reactions