davidk / PrusaSlicer-ARM.AppImage

PrusaSlicer packaged in a ARM AppImage. Pre-built AppImages located within releases.
https://github.com/davidk/PrusaSlicer-ARM.AppImage/releases
MIT License
58 stars 10 forks source link

Application segfaults on start on piOS Bookworm ARM64 #29

Closed theofficialgman closed 11 months ago

theofficialgman commented 1 year ago

Description of the issue Core dumps immediately on running the appimage.

Hardware environment and OS that is being used to run PrusaSlicer-ARM.AppImage

davidk commented 1 year ago

I was not able to reproduce a core with Bookworm on an RPi 4. Could you provide more details of the core and any other errors you may have received, as I do not have a RPi 5.

On the distribution side, Bookworm appears to be setting the initial locale on some installs to non-UTF8, which may result in it exiting early.

The workaround for this is to enter and set Preferences > Raspberry Pi Configuration > Localization > Set Locale > Character Set > UTF-8

1 2

PrusaSlicer itself should probably not hard exit when encountering such a situation, but it looks like issue 11009 is open upstream for this.

theofficialgman commented 11 months ago

On the distribution side, Bookworm appears to be setting the initial locale on some installs to non-UTF8, which may result in it exiting early.

The workaround for this is to enter and set Preferences > Raspberry Pi Configuration > Localization > Set Locale > Character Set > UTF-8

I reported it upstream to PiOS and they fixed their piwiz GUI now https://github.com/raspberrypi-ui/piwiz/commit/4a801cbb092784653d8958dbf6c8d2b0a96500d8 . Should be fixed when the next image release gets made. For users now, they will have to use rpiconfig as you mention.

PrusaSlicer itself should probably not hard exit when encountering such a situation, but it looks like issue 11009 is open upstream for this.

I get that popup and then it coredumps. Sorry I should have written that in the initial post. Will try with the locale corrected later.

theofficialgman commented 11 months ago

Sorry it took me so long to test. With the locale character set corrected it does work. Hopefully rpi ltd gets a new image out soon so users don't run into this.