RuntimeError: Out of bounds memory access (evaluating 'a.exports')
RuntimeError: Out of bounds memory access (evaluating 'a.exports') To reproduce. Checkout this branch: Github branch with this error and simply try to run the app. It should crash. testes with Firefox and Safari
The crash won't happen if you make either one of the following changes:
- Change WebImage from a
structto aclass. - Change the name of the target from
Gamesto something else. It seems starting the target name with certain capital letters causes this.gamesworks, as doesTames.
Seems likely the source of this bug is elsewhere in the toolchain rather than in Tokamak itself.
I see. What are the next steps in this case?
Change WebImage from a struct to a class.
Hmm. internal memory management then?
Change the name of the target from Games to something else. It seems starting the target name with certain capital letters causes this. games works, as does Tames.
This seems to be a ridiculous bug