STINNER Victor <[email protected]> added the comment:
I tested gdb on the buildbot and I got permission errors, at least under my
user "haypo":
warning: Could not trace the inferior process.
Error:
warning: ptrace: Operation not permitted
Logs:
CURRENT-amd64% gdb -args ./python Lib/test/gdb_sample.py
GNU gdb (GDB) 8.2.1 [GDB v8.2.1 for FreeBSD]
(...)
warning: File "/usr/home/haypo/cpython/python-gdb.py" auto-loading has been
declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:~/prog/".
To enable execution of this file add
add-auto-load-safe-path /usr/home/haypo/cpython/python-gdb.py
line to your configuration file "/home/haypo/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/haypo/.gdbinit".
(...)
(gdb) b builtin_id
Breakpoint 1 at 0x451264: file Python/bltinmodule.c, line 1203.
(gdb) run
Starting program: /usr/home/haypo/cpython/python Lib/test/gdb_sample.py
warning: Could not trace the inferior process.
Error:
warning: ptrace: Operation not permitted
----------
nosy: +koobs
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36183>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com