NetBSD Problem Report #54739
From martin@duskware.de Thu Dec 5 13:27:53 2019
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 350F97A164
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Dec 2019 13:27:53 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Cc: kamil@NetBSD.org
Subject: t_ptrace_wait hangs
X-Send-Pr-Version: 3.95
>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:/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
(Contact us)
$NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.