[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help getting backtrace in gdb
From: |
Eli Zaretskii |
Subject: |
Re: Help getting backtrace in gdb |
Date: |
Wed, 04 Oct 2017 08:38:58 +0300 |
> From: Kaushal Modi <address@hidden>
> Date: Tue, 03 Oct 2017 21:09:14 +0000
> Cc: Noam Postavsky <address@hidden>
>
> (gdb) r -Q
> Starting program: /home/kmodi/downloads/git/emacs/src/emacs -Q
> Could not trace the inferior process.
> Error: ptrace: No such processDuring startup program exited with code 127.
This is your problem: GDB is unable to call the debugging APIs on the
Emacs process. I'm guessing you need some privilege to do that, and
your user lacks it, or your system configuration prevents it.
Could this be relevant:
https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection