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

Program crashes when using the newest pyinstaller #8305

Closed
zhengxyz123 opened this issue Feb 17, 2024 · 1 comment · Fixed by #8306
Closed

Program crashes when using the newest pyinstaller #8305

zhengxyz123 opened this issue Feb 17, 2024 · 1 comment · Fixed by #8306
Labels

Comments

@zhengxyz123
Copy link

I have already opened an issue in other repo, but we all agree that it's a bug of pyinstaller.

Segment fault happened when using pyinstaller>6, it won't happen when using pyinstaller<6.

Detailed crash information was enclosed in the pre-opened issue.

@zhengxyz123 zhengxyz123 added the triage Please triage and relabel this issue label Feb 17, 2024
@rokm rokm added bug and removed triage Please triage and relabel this issue labels Feb 17, 2024
@rokm
Copy link
Member

rokm commented Feb 17, 2024

This looks like combination of regression in PyInstaller 6.x, and a bug in pyglet.

For our part, the problem is that with PyInstaller 6.x, locale.getlocale() in frozen application returns (None, None). This is a regression both with respect to unfrozen python, and PyInstaller 5.x, and happened during transition to new interpreter initialization API.

The problem is pyglet is that it does not properly guard against non-UTF8 locales (I'll update the linked issue with details).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants