[New-bugs-announce] [issue39933] test_gdb fails on AMD64 FreeBSD Shared 3.x: ptrace: Operation not permitted

STINNER Victor report at bugs.python.org
Wed Mar 11 07:56:43 EDT 2020


New submission from STINNER Victor <vstinner at python.org>:

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.

----------
components: Tests
messages: 363910
nosy: koobs, vstinner
priority: normal
severity: normal
status: open
title: test_gdb fails on AMD64 FreeBSD Shared 3.x: ptrace: Operation not permitted
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39933>
_______________________________________


More information about the New-bugs-announce mailing list