Skip to content

bpo-39672: shelve sigsegv crash #18655

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

Closed
wants to merge 5 commits into from

Conversation

dorosch
Copy link
Contributor

@dorosch dorosch commented Feb 25, 2020

https://bugs.python.org/issue39672

When the close method is not called while working with the shelve module and the program exits, the garbage collector calls the __delete__ method.
This method attempts to synchronize entries between the cache and disk. But because the garbage collector frees up resources, undefined behavior of the close method appears.

@dorosch dorosch changed the title bpo-39672: shelve sigsegv crash [WIP] bpo-39672: shelve sigsegv crash Feb 25, 2020
dorosch added 2 commits June 29, 2020 10:35
Fixed shelve module crash when cleaning interpreter resources.
@dorosch dorosch changed the title [WIP] bpo-39672: shelve sigsegv crash bpo-39672: shelve sigsegv crash Jun 29, 2020
@dorosch dorosch marked this pull request as draft October 25, 2022 08:24
@ghost
Copy link

ghost commented Oct 25, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@dorosch
Copy link
Contributor Author

dorosch commented Oct 7, 2024

Pull request closed because the original issue closed

@dorosch dorosch closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants