-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
GC crash in subtype_dealloc when inherting from _multiprocessing.SemLock #94736
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 <59607654+kumaraditya303@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>
) * 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 <59607654+kumaraditya303@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 <59607654+kumaraditya303@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 <59607654+kumaraditya303@users.noreply.github.com>
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 <59607654+kumaraditya303@users.noreply.github.com>
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 <59607654+kumaraditya303@users.noreply.github.com>
SemLock can also fail on Linux, see |
Feel free to propose a PR. |
The tests are skipped in that case as there is a global |
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: