-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
GC crash in subtype_dealloc when inherting from _multiprocessing.SemLock #94736
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
Comments
Whoah, is the Not that this shouldn't be fixed if it's easy to fix, but a crash is just what I'd expect when messing around with shared memory files directly. |
@kumaraditya303 Thanks a lot for raising the issue :) One small note: please, don't mark everything as release blocker just because it crashes. In this case, the reproducer involves non standard actions (deleting the shared memory segment) so is not that critical to block releases. Also, as this issue affects old versions it should not block 3.11. |
It makes debugging easier otherwise you would have change the name of semlock everytime as the interpreter crashes to avoid OSErrors, removed now. |
Deleting the shared memory segment isn't necessary it was just to aid debugging which I removed now. Regarding release blocker, this issue was part of a bigger problem which I haven't been able to create a minimal reproducer for involving |
See #94738 |
) * fix allocator and deallocator * 📜🤖 Added by blurb_it. * code review Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit f5b7633) Co-authored-by: Kumar Aditya <[email protected]>
* fix allocator and deallocator * 📜🤖 Added by blurb_it. * code review Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
) * fix allocator and deallocator * 📜🤖 Added by blurb_it. * code review Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit f5b7633) Co-authored-by: Kumar Aditya <[email protected]>
* fix allocator and deallocator * 📜🤖 Added by blurb_it. * code review Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit f5b7633) Co-authored-by: Kumar Aditya <[email protected]>
* fix allocator and deallocator * 📜🤖 Added by blurb_it. * code review Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit f5b7633) Co-authored-by: Kumar Aditya <[email protected]>
See https://buildbot.python.org/all/#/builders/172/builds/2522 The PR skips the test on non-linux platforms. Automerge-Triggered-By: GH:pablogsal
See https://buildbot.python.org/all/GH-/builders/172/builds/2522 The PR skips the test on non-linux platforms. Automerge-Triggered-By: GH:pablogsal (cherry picked from commit cfafd3a) Co-authored-by: Kumar Aditya <[email protected]>
See https://buildbot.python.org/all/GH-/builders/172/builds/2522 The PR skips the test on non-linux platforms. Automerge-Triggered-By: GH:pablogsal (cherry picked from commit cfafd3a) Co-authored-by: Kumar Aditya <[email protected]>
SemLock can also fail on Linux, see |
Co-authored-by: Kumar Aditya <[email protected]>
Feel free to propose a PR. |
Co-authored-by: Kumar Aditya <[email protected]>
The tests are skipped in that case as there is a global |
Uh oh!
There was an error while loading. Please reload this page.
Crash report
GC crash in subtype_dealloc when inherting from _multiprocessing.SemLock.
Reproducer (read carefully before running!):
Error messages
GDB backtrace:
Your environment
cc @pablogsal
The text was updated successfully, but these errors were encountered: