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, pablogsal, vstinner
Date 2019-03-04.15:02:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551711778.63.0.968394964824.issue36183@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-03-04 15:02:58vstinnersetrecipients: + vstinner, koobs, pablogsal
2019-03-04 15:02:58vstinnersetmessageid: <1551711778.63.0.968394964824.issue36183@roundup.psfhosted.org>
2019-03-04 15:02:58vstinnerlinkissue36183 messages
2019-03-04 15:02:58vstinnercreate