BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
661 stars 89 forks source link

Amiberry segfault when loading any config file #1057

Closed gjorans closed 1 year ago

gjorans commented 1 year ago

Describe the bug Amiberry 5.5.1. This binary: https://github.com/BlitterStudio/amiberry/releases/download/v5.5.1/amiberry-v5.5.1-x86-64-debian.zip

Amiberry segfaults when loading config files (any config file) on amd64 ./amiberry Segmentation fault (core dumped)

It is able to be configured and started. just not able do load the config again.

To Reproduce Start Amiberry. do some config (any) save config load config

I did a recording showing the bug:

https://www.youtube.com/watch?v=Ckhtf8-MsL0

Expected behavior loading the config and starting Screenshots https://www.youtube.com/watch?v=Ckhtf8-MsL0

Desktop (please complete the following information):

Output from the log didnt say much:

Amiberry v5.5.1 (2023-01-02) Logfile

target_cfgfile_load(): load file /home//Stuff/Amiberry/5.5.1/conf/A500.uae load config '/home//Stuff/Amiberry/5.5.1/conf/A500.uae':3

gjorans commented 1 year ago

Tested a compile. And self compiled from git does not have this problem.

midwan commented 1 year ago

@gjorans This might be a bug that was fixed since the release, which would explain why it works with a self-compiled one (I assume you got the latest sources and compiled them, which would have been newer than the release). You can double-check that if you get the sources of 5.5.1 specifically, and compile those - do you still get the crash?

The weird thing is of course, that I cannot recreate this here.

midwan commented 1 year ago

Closing this due to inactivity. Feel free to post any updates here, and we can revisit it.

bugjacobs commented 2 months ago

Hello ! I am on Linux Mint 20.3 on one install and It happens with 6.3.4 precompiled but not my own compiled 6.3.4 - I after a while discovered that I needed the Bullseye to fix missing libFLAC.so.12 but then this came along :-) No big deal as it appears my own compile works fine. Btw I also am unable to clone the github as it asks for password ?? Odd ! But solved that by downloading source from releases page. Anyway thanks for a great piece of software !! :)

midwan commented 2 months ago

Hello ! I am on Linux Mint 20.3 on one install and It happens with 6.3.4 precompiled but not my own compiled 6.3.4 - I after a while discovered that I needed the Bullseye to fix missing libFLAC.so.12 but then this came along :-) No big deal as it appears my own compile works fine. Btw I also am unable to clone the github as it asks for password ?? Odd ! But solved that by downloading source from releases page. Anyway thanks for a great piece of software !! :)

The pre-compiled builds are prepared using Debian containers, so maybe a difference in library versions vs your Mint installation?