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
3.6.6 silent crash on windows (packed by pyinstaller) #235
Comments
If you find an issue with your custom build setup traced to this library I will accept a patch. |
@ijl |
I can reproduce the bug with the code in the linked repo. On Windows 10, Python 3.9.10 and Python 3.10.2, pyinstaller 4.8 & 4.9 . Silent crash on import. |
Version If I downgrade to version Edit here is the top of the crash report:
|
For me, a pyinstaller hook for hidden stdlib imports and numpy import fixed the issue. The problem is the forced import of modules in |
@himbeles I'm curious what is has to do with numpy 🤔 |
|
throw the |
Not yet tried it, would be able to in a couple of days, i just downgraded orjson to 3.6.5 for now |
Hey, my PR got merged into pyinstaller last week. You can update |
we're using orjson within a pretty-complex application (along with pyside6 and other huge libraries). the final product is being packaged for windows using pyinstaller.
lately, our app fails to start. there's some cryptic message about application crash in windows event log. after investigating, it seems the crash is caused by orjson-3.6.6 - when built with 3.6.5 (everything else being the same), it runs correctly.
i don't have much time to investigate further right now. hopefully you'll have the idea what might be wrong... ...if not, i'll try to provide more info later...
The text was updated successfully, but these errors were encountered: