René's URL Explorer Experiment


Title: RuntimeError: unreachable with virtual functions · Issue #1635 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: RuntimeError: unreachable with virtual functions · Issue #1635 · AssemblyScript/assemblyscript

X Title: RuntimeError: unreachable with virtual functions · Issue #1635 · AssemblyScript/assemblyscript

Description: I've hit this issue, but am struggling to create a compact reproduction - here's a brief summary. See this PR ColinEberhardt/assemblyscript-regex#12 I'm hitting the following error at runtime: RuntimeError: unreachable at assembly/nfa/ma...

Open Graph Description: I've hit this issue, but am struggling to create a compact reproduction - here's a brief summary. See this PR ColinEberhardt/assemblyscript-regex#12 I'm hitting the following error at runtime: Runt...

X Description: I've hit this issue, but am struggling to create a compact reproduction - here's a brief summary. See this PR ColinEberhardt/assemblyscript-regex#12 I'm hitting the following error at r...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/issues/1635

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RuntimeError: unreachable with virtual functions","articleBody":"I've hit this issue, but am struggling to create a compact reproduction - here's a brief summary.\r\n\r\nSee this PR https://github.com/ColinEberhardt/assemblyscript-regex/pull/12\r\n\r\nI'm hitting the following error at runtime:\r\n\r\n~~~\r\n    RuntimeError: unreachable\r\n        at assembly/nfa/matcher/Matcher#matches@virtual (wasm-function[240]:1)\r\n        at assembly/nfa/matcher/CharacterSetMatcher#matches~anonymous|0 (wasm-function[241]:19)\r\n        at ~lib/array/Array\u003cassembly/nfa/matcher/Matcher>#some (wasm-function[242]:85)\r\n        at assembly/nfa/matcher/CharacterSetMatcher#matches (wasm-function[244]:21)\r\n        at assembly/nfa/nfa/MatcherState\u003cassembly/nfa/matcher/CharacterSetMatcher>#matches (wasm-function[245]:8)\r\n        at assembly/nfa/nfa/State#matches@virtual (wasm-function[250]:58)\r\n        at assembly/regexp/recursiveBacktrackingSearch (wasm-function[184]:121)\r\n        at assembly/regexp/recursiveBacktrackingSearch@varargs (wasm-function[185]:56)\r\n        at assembly/regexp/RegExp#exec (wasm-function[192]:307)\r\n~~~\r\n\r\nI've tried to recreate the issue, by creating a similar runtime state (replicating the various classes etc ...), but in doing so have stumbled on something odd. By adding the code outlined here:\r\n\r\nhttps://github.com/ColinEberhardt/assemblyscript-regex/pull/12/files#diff-f350832f4859b9724e3ef59f756d2d201226fd81fd797207367fc269581115adR170-R178\r\n\r\nWhich basically creates a similar runtime state, the error goes away!\r\n\r\nIn other words - if I create a `CharacterMatcher`, `CharacterSetMatcher`, etc ... - execute their `matches` function, then throw the result away, everything wrks just fine. If not - I see the above runtime error later on in the code.\r\n\r\n\r\n","author":{"url":"https://github.com/ColinEberhardt","@type":"Person","name":"ColinEberhardt"},"datePublished":"2021-01-25T09:41:33Z","url":"https://github.com/AssemblyScript/assemblyscript/issues/1635"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5c3fb160-ee3d-48a9-3ee6-a5749b9be0c8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD63A:208599:69024B:8C378B:6B00AC46
html-safe-nonce8aae329b2c54f4649f779e4535ad7f88cba10edec424b5bf715daf03aa71a7f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjNBOjIwODU5OTo2OTAyNEI6OEMzNzhCOjZCMDBBQzQ2IiwidmlzaXRvcl9pZCI6Ijc4ODA1NTUwOTE5OTA3MTk1NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4e6d52c78ae2a81762a09323f52f699b960e732a1040f1ce140fb90b4e207415
hovercard-subject-tagissue:793216762
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AssemblyScript/assemblyscript/1635/issue_layout
twitter:imagehttps://opengraph.githubassets.com/23ba074005aa5c37cceb41b3128203fc367e715d210af4c6349d70562e52c962/AssemblyScript/assemblyscript/issues/1635
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/23ba074005aa5c37cceb41b3128203fc367e715d210af4c6349d70562e52c962/AssemblyScript/assemblyscript/issues/1635
og:image:altI've hit this issue, but am struggling to create a compact reproduction - here's a brief summary. See this PR ColinEberhardt/assemblyscript-regex#12 I'm hitting the following error at runtime: Runt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameColinEberhardt
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
turbo-cache-controlno-preview
go-importgithub.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git
octolytics-dimension-user_id28916798
octolytics-dimension-user_loginAssemblyScript
octolytics-dimension-repository_id105138356
octolytics-dimension-repository_nwoAssemblyScript/assemblyscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105138356
octolytics-dimension-repository_network_root_nwoAssemblyScript/assemblyscript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/issues/1635#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fissues%2F1635
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fissues%2F1635
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript
Reloadhttps://github.com/AssemblyScript/assemblyscript/issues/1635
Reloadhttps://github.com/AssemblyScript/assemblyscript/issues/1635
Reloadhttps://github.com/AssemblyScript/assemblyscript/issues/1635
AssemblyScripthttps://github.com/AssemblyScript
assemblyscripthttps://github.com/AssemblyScript/assemblyscript
Codehttps://github.com/AssemblyScript/assemblyscript
Issues196 (196)https://github.com/AssemblyScript/assemblyscript/issues
Pull requests24 (24)https://github.com/AssemblyScript/assemblyscript/pulls
Actionshttps://github.com/AssemblyScript/assemblyscript/actions
Wikihttps://github.com/AssemblyScript/assemblyscript/wiki
Security and qualityhttps://github.com/AssemblyScript/assemblyscript/security
Insightshttps://github.com/AssemblyScript/assemblyscript/insights
https://github.com/AssemblyScript/assemblyscript
New issuehttps://github.com/login?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1635
New issuehttps://github.com/login?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1635
RuntimeError: unreachable with virtual functionshttps://github.com/AssemblyScript/assemblyscript/issues/1635#top
stalehttps://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/ColinEberhardt
ColinEberhardthttps://github.com/ColinEberhardt
on Jan 25, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issue-793216762
ColinEberhardt/assemblyscript-regex#12https://github.com/ColinEberhardt/assemblyscript-regex/pull/12
https://github.com/ColinEberhardt/assemblyscript-regex/pull/12/files#diff-f350832f4859b9724e3ef59f756d2d201226fd81fd797207367fc269581115adR170-R178https://github.com/ColinEberhardt/assemblyscript-regex/pull/12/files#diff-f350832f4859b9724e3ef59f756d2d201226fd81fd797207367fc269581115adR170-R178
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
on Jan 25, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-766715472
https://github.com/ColinEberhardt
ColinEberhardthttps://github.com/ColinEberhardt
on Jan 25, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-766739534
@dcodeIOhttps://github.com/dcodeIO
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
on Jan 25, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-766748543
https://github.com/ColinEberhardt
ColinEberhardthttps://github.com/ColinEberhardt
on Jan 28, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-768846191
@MaxGraeyhttps://github.com/MaxGraey
ColinEberhardt/assemblyscript-regex@6847db1#diff-ae0250a2ea4784a450d685e359e4bbcfa11bb51c71fac9b7f2d2a782773f624bR129-R149https://github.com/ColinEberhardt/assemblyscript-regex/commit/6847db1ce8524d8875a5364484c8c62f3a6c78bf#diff-ae0250a2ea4784a450d685e359e4bbcfa11bb51c71fac9b7f2d2a782773f624bR129-R149
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
on Jan 28, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-768956103
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
on Feb 3, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-772656878
https://github.com/ColinEberhardt
ColinEberhardthttps://github.com/ColinEberhardt
on Feb 4, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-773238367
@MaxGraeyhttps://github.com/MaxGraey
ColinEberhardt/assemblyscript-regex@6847db1https://github.com/ColinEberhardt/assemblyscript-regex/commit/6847db1ce8524d8875a5364484c8c62f3a6c78bf
workaround codehttps://github.com/ColinEberhardt/assemblyscript-regex/pull/12/files#diff-f350832f4859b9724e3ef59f756d2d201226fd81fd797207367fc269581115adR170-R178
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
on Feb 4, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-773248806
ColinEberhardt/assemblyscript-regex#26https://github.com/ColinEberhardt/assemblyscript-regex/pull/26
https://github.com/ColinEberhardt
ColinEberhardthttps://github.com/ColinEberhardt
on Feb 4, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-773442506
https://github.com/jriehl
jriehlhttps://github.com/jriehl
on Feb 7, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-774734879
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jun 2, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#issuecomment-852600367
github-actionshttps://github.com/apps/github-actions
stalehttps://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22stale%22
on Jun 2, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#event-4828619174
ColinEberhardthttps://github.com/ColinEberhardt
completedhttps://github.com/AssemblyScript/assemblyscript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 2, 2021https://github.com/AssemblyScript/assemblyscript/issues/1635#event-4829862453
Sign up for freehttps://github.com/signup?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1635
Sign in to commenthttps://github.com/login?return_to=https://github.com/AssemblyScript/assemblyscript/issues/1635
stalehttps://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.