runtime: gdb fails to wait for new child #60553
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
https://build.golang.org/log/c0a5543211386b919f5b5311ccadc8afa54cd79e
It seems to be this issue: https://github.com/bminor/binutils-gdb/blob/f38f7ef965553d5f8a78eba934bb9b192be39c61/gdb/linux-nat.c#L1857. After a clone, gdb fails to find the new child. It seems that either the kernel already killed it, or there is a race where PTRACE_EVENT_CLONE is sent before the child is waitable.
The text was updated successfully, but these errors were encountered: