This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17229] infinite loop in linux_check_ptrace_features


https://sourceware.org/bugzilla/show_bug.cgi?id=17229

gpmfuchs at gmx dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gpmfuchs at gmx dot de

--- Comment #2 from gpmfuchs at gmx dot de ---
I've run repeatedly into this bug.

My use case is a c++-program which forks whenever an assert is hit or a
watch-timer is triggered, then it redirects stdout/stderr to a tmpfile and
execl to gdb, in order to get a bug report.

The bug means in my case, that gdb fills it's tmpfile with
"linux_check_ptrace_features: failed to kill child" until the /tmp mount is
full.

Which means it starves the autotest-system of memory, triggering random
OOM-kills, and as a result crashing the autobuild-system.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]