d0iasm / rvemu

RISC-V emulator for CLI and Web written in Rust with WebAssembly. It supports xv6 and Linux (ongoing).
https://rvemu.app/
MIT License
744 stars 56 forks source link

"Index out of bounds" at virtio.rs when running xv6 on browser #3

Closed jahzielv closed 4 years ago

jahzielv commented 4 years ago

I built the project for the browser, and started it up with no issues. However, when I ran run xv6, I get an "Index out of bounds" error in the console, which is traced back to virtio.rs. This causes xv6 to never boot up. I've attached a screenshot of the page and DevTools open side by side. I'm running rvemu in Chrome 80. Thanks for your help! Screen Shot 2020-04-08 at 12 46 41 PM

d0iasm commented 4 years ago

Thank for your issue.

I can't reproduce your problem in my environment. Can you clear browser cache data? I sometimes pushed files with bugs without couldn't notice them, but I did fix them later. The browser might cache the files with bugs.

If you're using Chrome, you can clear them in chrome://settings/?search=cache.

jahzielv commented 4 years ago

This did the trick! Thank you!