NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/54739: t_ptrace_wait hangs



>Number:         54739
>Category:       kern
>Synopsis:       t_ptrace_wait hangs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 05 13:30:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.19
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 9.99.19 NetBSD 9.99.19 (MODULAR) #257: Tue Dec 3 20:05:37 CET 2019 martin%thirdstage.duskware.de@localhost:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Running the t_ptrace_wait test with debuging enabled shows:

tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7633 Before forking process PID=4350
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7645 Parent process PID=4350, child's PID=3803
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7647 Before calling waitid() for the child
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7636 Before calling PT_TRACE_ME from child 3803
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7639 Before triggering SIGTRAP
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7655 Call DUMPCORE for the child process
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7659 Read core file
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7681 Before resuming the child process where it left off and without signal to be sent
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7684 Before calling waitid() for the child
tc-so:atfu_core_dump_procinfo_body() /usr/src/tests/lib/libc/sys/t_ptrace_wait.c:7689 Before calling waitid() for the child

and there it hangs. Note the duplicate last line.

>How-To-Repeat:

s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index