Message337126
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 |
|
Date |
User |
Action |
Args |
2019-03-04 15:02:58 | vstinner | set | recipients:
+ vstinner, koobs, pablogsal |
2019-03-04 15:02:58 | vstinner | set | messageid: <1551711778.63.0.968394964824.issue36183@roundup.psfhosted.org> |
2019-03-04 15:02:58 | vstinner | link | issue36183 messages |
2019-03-04 15:02:58 | vstinner | create | |
|