mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA
https://ripes.me/
MIT License
2.52k stars 270 forks source link

Crashes when changing layout #255

Closed atassi122 closed 1 year ago

atassi122 commented 1 year ago

Hi, The Program crashes after changing the layout from "standard" to "extended" on windows 11 22H2. And of course after that it woud not open until you go to registry editor and clear the settings,even rebooting won't help.

hypermenosh commented 1 year ago

Same problem on windows 10 for Ripes v2.2.5

slinkish commented 1 year ago

I believe this is also happening on the linux v2.2.5 AppImage binary, terminal output after switching to "extended" and similarly faulty setting is properly saved to ~./config/Ripes/Ripes.conf so that the binary crashes immediately with the setting.

terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at
zsh: IOT instruction (core dumped)  ./Ripes-v2.2.5-linux-x86_64.AppImage
mortbopet commented 1 year ago

Fairly sure this is due to what was fixed by https://github.com/mortbopet/Ripes/commit/5176a80b8fb3e1caf8e80b144a8f0cdb755336f9. I'll release a new version of Ripes soon seeing as multiple people are encountering this. In the meantime, using the continuous release should hopefully fix your issues.

mortbopet commented 1 year ago

Went ahead and drafted up a new release https://github.com/mortbopet/Ripes/releases/tag/v2.2.6. Will close this issue for now since I'm fairly confident that the issue was resolved there. However, if not, feel free to re-open the issue.