-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
crash reimporting posix after Py_Finalize on mac #82112
Comments
On OSX, with --enable-shared, if you shut down python and reinitialize, you can get a crash. Repro steps: see attached crashy.c On OSX, with --enable-shared, you get a crash! On other platforms including on OSX static builds, no crash. Not a regression: it's present in 2.7 (where we actually hit it). PR incoming, the fix is simple. It has to do with caching (on OSX shared builds only) a stale value for the environment when building os.environ the first time; if you change the environment, the second initialization reads garbage when building os.environ. |
Ping! The patch has been ready for review for over a month. If the patch can be backported to 2.7.x before that gets end-of-lifed it would be ideal. |
Can this be closed? |
Right, I close the issue. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: