You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Free threading locking issues in listobject.c #127536
In #127524, @mpage suggested adding an assert to check that the list object is locked when calling ensure_shared_on_resize. This uncovers a few more locking issues.
Additionally, we may return out of the critical section without unlocking here:
I think the buildbot failures are unrelated. The other s390x 3.13 buildbots are passing. https://buildbot.python.org/#/builders/1469 is passing, but the runs slowed down (including on test_site) around the same time, but on the following commit, which makes me think some sort of network issue or problem with the machine.
Activity
[-]Locking issues in `listobject.c`[/-][+]Free threading locking issues in `listobject.c`[/+]corona10 commentedon Dec 3, 2024
Ah.. it's my fault, I will take a look at it
colesbury commentedon Dec 3, 2024
Thanks @corona10. I started some work on this (but didn't finish) yesterday. Here's what I had in case it's helpful:
colesbury@49268ba
corona10 commentedon Dec 3, 2024
Ah in that case please go ahead
pythongh-127536: Add missing locks in listobject.c
gh-127536: Add missing locks in listobject.c (GH-127580)
[3.13] pythongh-127536: Add missing locks in listobject.c (pythonGH-1…
[3.13] gh-127536: Add missing locks in listobject.c (GH-127580) (GH-1…
picnixz commentedon Dec 5, 2024
@colesbury Are the build bot failures possibly related to that one or not? if not, I think we can close this one.
colesbury commentedon Dec 5, 2024
I think the buildbot failures are unrelated. The other s390x 3.13 buildbots are passing. https://buildbot.python.org/#/builders/1469 is passing, but the runs slowed down (including on
test_site) around the same time, but on the following commit, which makes me think some sort of network issue or problem with the machine.pythongh-127536: Add missing locks in listobject.c (pythonGH-127580)