Installer Crashes on Asahi Linux (Apple Silicon)
loveClubClaire opened this issue ยท 1 comments
Description
SMAPI 4.1.10 Installer for Linux fails on Asahi Linux running on an Apple Silicon processor. It seems the compiled SMAPI.Installer binary references a version of jemalloc not configured for 16k pages (which is required for all Apple Silicon processors). Similar to issue #797
To Reproduce
Download the SMAPI-4.1.10-installer.zip
Run "install on Linux.sh" from a shell
./internal/linux/SMAPI.Installer will segfault preventing a successful instillation
Log file
No log file as the installer crashes and SMAPI never actually runs. But the shell output from attempting to run the installer is as follows
'/home/claire/Downloads/SMAPI-4.1.10-installer/SMAPI 4.1.10 installer/install on Linux.sh'
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
/home/claire/Downloads/SMAPI-4.1.10-installer/SMAPI 4.1.10 installer/install on Linux.sh: line 22: 834148 Segmentation fault (core dumped) ./internal/linux/SMAPI.Installer
Other Notes
Some poking around github shows jemalloc supports 16k page sizes so I'm assuming the issue is a config flag somewhere. Looked over the source a bit to see if I could find the location of the jemalloc dependency but I've never worked with C# and didn't have much luck :/
I'll also note preparing the release on my machine doesn't resolve the issue
This is my first bug report, apologies if I missed anything. Happy to provide any further info you need!