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

[Simulator] table index is out of bounds crash #1057

Open
microbit-matt-hillsdon opened this issue Oct 28, 2022 · 1 comment
Open

[Simulator] table index is out of bounds crash #1057

microbit-matt-hillsdon opened this issue Oct 28, 2022 · 1 comment

Comments

@microbit-matt-hillsdon
Copy link
Collaborator

There's a few of these to look at. The error is immediately after the simulator starts for the first time in the session.

Chrome 106, Windows 10.

wasm://wasm/004af5b6:wasm-function[908]:0xcbcfe
5
/v/0.1/build/firmware.js in ret.<computed> at line 1895:35

/v/0.1/build/firmware.js at line 1045:22

/v/0.1/build/firmware.js in invoke_iiii at line 2463:12

/v/0.1/build/firmware.js in imports.<computed> at line 1861:35

At minimum we we need to improve our ability to understand this sort of crash.

The simulator will automatically stop in this scenario but it'll be confusing to the user.

@microbit-matt-hillsdon microbit-matt-hillsdon changed the title [Simulator]: table index is out of bounds crash [Simulator] table index is out of bounds crash Oct 28, 2022
@microbit-matt-hillsdon
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant