bpo-34007: Skip traceback tests if the Program Counter is not available#9018
Conversation
Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed.
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
Let's see if the change fix the s390x buildbot. If yes, the change should be backported to other branches I guess.
|
@vstinner I will overlook the SLES s390x buildbots and backport if they are fixed. |
|
This works in the 3.x version of the buildbot: https://buildbot.python.org/all/#/builders/16/builds/1473 I will backport this to 3.7, 3.6 and 2.7. |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7. |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
GH-9019 is a backport of this pull request to the 3.6 branch. |
…le. (pythonGH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
…le. (pythonGH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
GH-9020 is a backport of this pull request to the 2.7 branch. |
…le. (pythonGH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
GH-9021 is a backport of this pull request to the 3.7 branch. |
…le. (GH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
…le. (GH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Thanks for fixing this buildbot! |
…vailable. (pythonGH-9018) Sometimes some versions of the shared libraries that are part of the traceback are compiled in optimised mode and the Program Counter (PC) is not present, not allowing gdb to walk the frames back. When this happens, the Python bindings of gdb raise an exception, making the test impossible to succeed. (cherry picked from commit f2ef51f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Sometimes some versions of the shared libraries that are part of the
traceback are compiled in optimised mode and the Program Counter (PC)
is not present, not allowing gdb to walk the frames back. When this
happens, the Python bindings of gdb raise an exception, making the
test impossible to succeed.
https://bugs.python.org/issue34007