This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients koobs, vstinner
Date 2020-03-11.11:56:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583927803.55.0.643222253401.issue39933@roundup.psfhosted.org>
In-reply-to
Content
https://buildbot.python.org/all/#/builders/152/builds/384

Example:

======================================================================
FAIL: test_pycfunction (test.test_gdb.PyBtTests) [_testcapi.MethClass().meth_fastcall_keywords]
Verify that "py-bt" displays invocations of PyCFunction instances
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_gdb.py", line 896, in test_pycfunction
    self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\nUnable to locate python frame\n'

Stderr:
Function "meth_varargs" not defined.
warning: Could not trace the inferior process.
warning: ptrace: Operation not permitted
During startup program exited with code 127.
No stack.
Function "meth_varargs" not defined.
warning: Could not trace the inferior process.
warning: ptrace: Operation not permitted
During startup program exited with code 127.
No stack.
(...)
Function "meth_fastcall_keywords" not defined.
warning: Could not trace the inferior process.
warning: ptrace: Operation not permitted
During startup program exited with code 127.
No stack.
History
Date User Action Args
2020-03-11 11:56:43vstinnersetrecipients: + vstinner, koobs
2020-03-11 11:56:43vstinnersetmessageid: <1583927803.55.0.643222253401.issue39933@roundup.psfhosted.org>
2020-03-11 11:56:43vstinnerlinkissue39933 messages
2020-03-11 11:56:43vstinnercreate