Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Out of bounds memory access (evaluating 'a.exports') #338

Open
shial4 opened this issue Dec 13, 2020 · 2 comments
Open

RuntimeError: Out of bounds memory access (evaluating 'a.exports') #338

shial4 opened this issue Dec 13, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@shial4
Copy link

shial4 commented Dec 13, 2020

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

@MaxDesiatov MaxDesiatov added the bug Something isn't working label Dec 19, 2020
@ezraberch
Copy link
Member

The crash won't happen if you make either one of the following changes:

  1. Change WebImage from a struct to a class.
  2. 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.

Seems likely the source of this bug is elsewhere in the toolchain rather than in Tokamak itself.

@shial4
Copy link
Author

shial4 commented Jul 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants