Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application segfaults on start on piOS Bookworm ARM64 #29

Closed
theofficialgman opened this issue Oct 14, 2023 · 3 comments
Closed

Application segfaults on start on piOS Bookworm ARM64 #29

theofficialgman opened this issue Oct 14, 2023 · 3 comments

Comments

@theofficialgman
Copy link

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

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

  • Hardware: Raspberry Pi 5 8GB
  • OS: PiOS Bookworm ARM64
@davidk
Copy link
Owner

davidk commented Oct 15, 2023

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
Copy link
Author

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 raspberrypi-ui/piwiz@4a801cb . 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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants