Skip to content

[3.6] bpo-34007: Skip traceback tests if the Program Counter is not available (GH-9018)#9022

Merged
pablogsal merged 1 commit into
python:3.6from
pablogsal:backport-f2ef51f-3.6
Sep 7, 2018
Merged

[3.6] bpo-34007: Skip traceback tests if the Program Counter is not available (GH-9018)#9022
pablogsal merged 1 commit into
python:3.6from
pablogsal:backport-f2ef51f-3.6

Conversation

@pablogsal

@pablogsal pablogsal commented Aug 31, 2018

Copy link
Copy Markdown
Member

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

https://bugs.python.org/issue34007

@bedevere-bot bedevere-bot added skip news tests Tests in the Lib/test dir labels Aug 31, 2018
@pablogsal pablogsal changed the title [3.6] bpo-34007: Skip traceback tests if the Program Counter is not a… [3.6] bpo-34007: Skip traceback tests if the Program Counter is not available (GH-9018) Aug 31, 2018
@bedevere-bot bedevere-bot added skip news tests Tests in the Lib/test dir labels Aug 31, 2018
@pablogsal pablogsal closed this Sep 7, 2018
@pablogsal pablogsal reopened this Sep 7, 2018
…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>
@pablogsal pablogsal force-pushed the backport-f2ef51f-3.6 branch from df1f373 to f1a979a Compare September 7, 2018 15:45
@pablogsal pablogsal merged commit 963bcc8 into python:3.6 Sep 7, 2018
@pablogsal pablogsal deleted the backport-f2ef51f-3.6 branch September 7, 2018 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants