-
-
Notifications
You must be signed in to change notification settings - Fork 565
Closed
Description
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Describe the bug
We're trying to migrate the Waku website to Shiki (v1.0.0-beta.0) and encountering the same RuntimeError: memory access out of bounds issue that others have reported. It's affecting both local builds and Vercel deployments.
RuntimeError: memory access out of bounds
at wasm://wasm/001c7aca:wasm-function[198]:0x24ff1
at OnigScanner._findNextMatchSync (file:///vercel/path0/packages/website/dist/entries.js:39458:32)
at OnigScanner.findNextMatchSync (file:///vercel/path0/packages/website/dist/entries.js:39450:17)
at CompiledRule.findNextMatchSync (file:///vercel/path0/packages/website/dist/entries.js:34607:33)
at matchRule (file:///vercel/path0/packages/website/dist/entries.js:35304:25)
at matchRuleOrInjections (file:///vercel/path0/packages/website/dist/entries.js:35282:23)
at scanNext (file:///vercel/path0/packages/website/dist/entries.js:35159:15)
at _tokenizeString (file:///vercel/path0/packages/website/dist/entries.js:35155:5)
at Grammar._tokenize (file:///vercel/path0/packages/website/dist/entries.js:35643:15)
at Grammar.tokenizeLine2 (file:///vercel/path0/packages/website/dist/entries.js:35609:20)
Reproduction
Contributes
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests
Metadata
Metadata
Assignees
Labels
No labels