-
Notifications
You must be signed in to change notification settings - Fork 296
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
Segment fault when packed with pyinstaller on linux #1049
Comments
I saw this as well on the latest PyInstaller. It might be a bug introduced in some recent version. |
I did a rough skim of pyinstaller's issues and didn't find a similar problem. The error seems to occur in the underlying shared libraries, does that mean there is no solution with python? |
Nuitka does not crash. Pyinstaller also did not crash in the past. Unfortunately, older PyInstaller does not support the latest Python versions, but it's worth to test previous versions. |
I found that |
That's good information. Unfortunately v5.13 doesn't support Python 3.12, but it's good for a temporary solution. |
So, you think this is a bug in the new version of pyinstaller. Then creating a new issue is a good option. |
This looks like combination of regression in PyInstaller 6.x, and a bug in The PyInstaller-side of the problem is that with PyInstaller 6.x, On pyglet/pyglet/window/xlib/__init__.py Line 56 in 096766f
which results in pyglet/pyglet/window/xlib/__init__.py Lines 387 to 406 in 096766f
and consequently pyglet/pyglet/window/xlib/__init__.py Line 1583 in 096766f
causing the segfault. So this can be triggered with unfrozen python as well, for example trying to run the sample program from original report with non-UTF8 locale set, e.g., |
Thanks for taking the time to look into this. The non-utf fallback should be easy enough to fix on the pyglet side. |
By using |
Take this simple program as an example:
Then run:
Then I run
python test.py
andtest
(generated by pyinstaller) and apply following action twice:They have different behaviors:
The following information may be useful:
and output from
dmesg
:and from pyglet.info.
This issue was found both on KDE(Wayland) and KED(X11).
The text was updated successfully, but these errors were encountered: