sql-js / sql-js/sql.js

Safari WASM Range Error

Open
#299 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Using worker.sql-wasm.js
Version 1.0.0
Error: Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded. (from inside worker.sql-wasm.js)

The same DB file works fine on Chrome and Firefox, and worked before switching to wasm.
Safari Version 13.0.2 (14608.2.40.1.2)

Any ideas?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in Safari 13.0.2 with the reported database and worker.sql-wasm.js, then compare the behavior with Chrome and Firefox. The issue is resolved when the same database works in Safari without the RangeError or unhandled promise rejection.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sqlite, wasm
Domain
database, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.