bpo-36184: Port python-gdb.py to FreeBSD#18873
Conversation
|
🤖 New build scheduled with the buildbot fleet by @vstinner for commit 395956cb33bf711ec9d945c3325be67a21043d23 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
Let me give a try to buildbot jobs since Travis CI doesn't test gdb if I recall correctly, and I would be more confident if I see a FreeBSD job passing here (even if I tested manually my fix with success, see https://bugs.python.org/issue36184#msg363723 ). |
Sadly, gdb is not installed on this worker: https://buildbot.python.org/all/#/builders/291/builds/30 |
python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60) Co-authored-by: Victor Stinner <vstinner@python.org>
|
GH-18881 is a backport of this pull request to the 3.8 branch. |
|
GH-18882 is a backport of this pull request to the 3.7 branch. |
python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60) Co-authored-by: Victor Stinner <vstinner@python.org>
python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60) Co-authored-by: Victor Stinner <vstinner@python.org>
python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60) Co-authored-by: Victor Stinner <vstinner@python.org>
python-gdb.py now checks for "take_gil" function name to check if a
frame tries to acquire the GIL, instead of checking for
"pthread_cond_timedwait" which is specific to Linux and can be a
diferent condition than the GIL.
https://bugs.python.org/issue36184