Re: GDB nejde attachnout na forknutý proces

Pavel Kankovsky peak na argo.troja.mff.cuni.cz
Neděle Únor 21 11:52:16 CET 2010


On Fri, 12 Feb 2010, Jiří Netolický wrote:

> ../../gdb/linux-nat.c:977: internal-error: linux_nat_post_attach_wait:
> Assertion `pid == new_pid && WIFSTOPPED (status)' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.

Zkuste pustit strace gdb -batch /usr/sbin/httpd PID
a podívat se, co se mu vrátí waitpid po ptrace(PTRACE_ATTACH).

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21st century edition /




Další informace o konferenci Linux