NetBSD Problem Report #38965

From christos@zoulas.com  Mon Jun 16 23:31:53 2008
Return-Path: <christos@zoulas.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id B34FB63B8E3
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 16 Jun 2008 23:31:53 +0000 (UTC)
Message-Id: <20080616230517.25187287D@shiny.astron.com>
Date: Mon, 16 Jun 2008 19:05:17 -0400 (EDT)
From: christos@zoulas.com
Reply-To: christos@zoulas.com
To: gnats-bugs@gnats.NetBSD.org
Subject: tracing locking issue
X-Send-Pr-Version: 3.95

>Number:         38965
>Category:       kern
>Synopsis:       tracing locking issue
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 16 23:35:00 +0000 2008
>Closed-Date:    Sat May 20 19:23:22 +0000 2017
>Last-Modified:  Sat May 20 19:23:22 +0000 2017
>Originator:     Christos Zoulas
>Release:        NetBSD 4.99.64
>Organization:
	Trying, Inc.
>Environment:
System: NetBSD shiny.astron.com 4.99.64 NetBSD 4.99.64 (SHINY) #160: Sun Jun 1 18:01:37 EDT 2008 christos@shiny.astron.com:/usr/src/sys/arch/i386/compile/SHINY i386
Architecture: i386
Machine: i386
>Description:
	Tracing has locking problems.
	Also strace has stopped working since proc_stop() does not
	appear to stop the process anymore
>How-To-Repeat:
	compile strace from pkgsrc and run 'ktrace strace /bin/ls'
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->ad
Responsible-Changed-By: ad@NetBSD.org
Responsible-Changed-When: Tue, 17 Jun 2008 09:07:55 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: open->feedback
State-Changed-By: ad@NetBSD.org
State-Changed-When: Sat, 13 Dec 2008 14:38:32 +0000
State-Changed-Why:
i can't reproduce this
is it still a problem for you?


State-Changed-From-To: feedback->open
State-Changed-By: christos@NetBSD.org
State-Changed-When: Sat, 20 Dec 2008 13:10:57 -0500
State-Changed-Why:
although the kernel does not crash anymore, strace /bin/ls does not work still.


From: Andrew Doran <ad@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/38965 (tracing locking issue)
Date: Sat, 20 Dec 2008 22:28:24 +0000

 On Sat, Dec 20, 2008 at 06:10:59PM +0000, christos@NetBSD.org wrote:
 > Synopsis: tracing locking issue
 > 
 > State-Changed-From-To: feedback->open
 > State-Changed-By: christos@NetBSD.org
 > State-Changed-When: Sat, 20 Dec 2008 13:10:57 -0500
 > State-Changed-Why:
 > although the kernel does not crash anymore, strace /bin/ls does not work still.

 Do you know if this is an strace problem or a NetBSD kernel problem?

 Thanks,
 Andrew

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, ad@NetBSD.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/38965 (tracing locking issue)
Date: Sat, 20 Dec 2008 19:26:42 -0500

 On Dec 20, 11:50pm, ad@NetBSD.org (Andrew Doran) wrote:
 -- Subject: Re: kern/38965 (tracing locking issue)

 | The following reply was made to PR kern/38965; it has been noted by GNATS.
 | 
 | From: Andrew Doran <ad@NetBSD.org>
 | To: gnats-bugs@NetBSD.org
 | Cc: 
 | Subject: Re: kern/38965 (tracing locking issue)
 | Date: Sat, 20 Dec 2008 22:28:24 +0000
 | 
 |  On Sat, Dec 20, 2008 at 06:10:59PM +0000, christos@NetBSD.org wrote:
 |  > Synopsis: tracing locking issue
 |  > 
 |  > State-Changed-From-To: feedback->open
 |  > State-Changed-By: christos@NetBSD.org
 |  > State-Changed-When: Sat, 20 Dec 2008 13:10:57 -0500
 |  > State-Changed-Why:
 |  > although the kernel does not crash anymore, strace /bin/ls does not work still.
 |  
 |  Do you know if this is an strace problem or a NetBSD kernel problem?

 NetBSD kernel problem. proc_stop() I think does not stop the process anymore.
 It used to work... I can write a simple PT_SYSCALL program if you want
 a simpler test.

 christos

Responsible-Changed-From-To: ad->kern-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Mon, 09 Apr 2012 05:57:09 +0000
Responsible-Changed-Why:
ad resigned, should not own PRs any more


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Apr 2012 05:57:09 +0000
State-Changed-Why:
is this actually still a problem these days?


State-Changed-From-To: feedback->closed
State-Changed-By: kamil@NetBSD.org
State-Changed-When: Sat, 20 May 2017 21:23:22 +0200
State-Changed-Why:
Fixed in current (again). There are ATF tests verifying further correctness.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.