NetBSD Problem Report #53143
From dmb@yenn.ulegend.net Fri Mar 30 08:54:23 2018
Return-Path: <dmb@yenn.ulegend.net>
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 41E887A1AE
for <gnats-bugs@gnats.NetBSD.org>; Fri, 30 Mar 2018 08:54:23 +0000 (UTC)
Message-Id: <20180330085416.F1DF75A99@yenn.ulegend.net>
Date: Fri, 30 Mar 2018 08:54:16 +0000 (UTC)
From: dmb@yenn.ulegend.net
Reply-To: dmb@yenn.ulegend.net
To: gnats-bugs@NetBSD.org
Subject: NetBSD 8 panic probably related to procfs
X-Send-Pr-Version: 3.95
>Number: 53143
>Category: kern
>Synopsis: NetBSD 8 panic probably related to procfs
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 30 08:55:00 +0000 2018
>Closed-Date: Thu May 17 10:15:47 +0000 2018
>Last-Modified: Thu May 17 10:15:47 +0000 2018
>Originator: Dominik Bialy
>Release: NetBSD 8.0_BETA
>Organization:
Underlegend Networks
>Environment:
System: NetBSD yenn 8.0_BETA NetBSD 8.0_BETA (YENN) #0: Mon Mar 19 07:56:58 CET 2018 dominik@dominik-Inspiron-5567:/builds/netbsd-8/amd64/obj/sys/arch/amd64/compile/YENN amd64
Architecture: x86_64
Machine: amd64
>Description:
The NetBSD 8 kernel panics when procfs and htop(1) are used.
This is the dmesg after the crash:
uvm_fault(0xfffffe81296925d0, 0x0, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip 0xffffffff8090c7da cs 0x8 rflags 0x10282 cr2 0x801 ilevel 0x8 rsp 0xffff800048f856d0
curlwp 0xfffffe81161485a0 pid 16549.1 lowest kstack 0xffff800048f832c0
panic: trap
cpu1: Begin traceback...
vpanic() at netbsd:vpanic+0x140
snprintf() at netbsd:snprintf
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0x96
lwp_trylock() at netbsd:lwp_trylock+0x17
turnstile_block() at netbsd:turnstile_block+0x173
mutex_vector_enter() at netbsd:mutex_vector_enter+0x34e
uvmspace_free() at netbsd:uvmspace_free+0x1c
procfs_do_pid_stat() at netbsd:procfs_do_pid_stat+0x131
procfs_rw() at netbsd:procfs_rw+0x2ef
VOP_READ() at netbsd:VOP_READ+0x37
vn_read() at netbsd:vn_read+0x94
dofileread() at netbsd:dofileread+0x8f
sys_read() at netbsd:sys_read+0x5f
syscall() at netbsd:syscall+0x1bc
--- syscall (number 3) ---
79409643e22a:
cpu1: End traceback...
The kernel is custom, but there aren't much differences
with GENERIC, except for altq(9) turned on.
>How-To-Repeat:
I left htop(1) from pkgsrc running for the night. In the morning
the machine was reboot after crash.
>Fix:
I don't know, I'm not a developer. I just umounted procfs
for now.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: martin@NetBSD.org
State-Changed-When: Wed, 16 May 2018 13:56:50 +0000
State-Changed-Why:
Question asked, may be fixed
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/53143: NetBSD 8 panic probably related to procfs
Date: Wed, 16 May 2018 15:55:43 +0200
I think this has been fixed, can you verify with a newer netbsd-8 kernel?
Thanks,
Martin
From: Dominik Bialy <dmb@yenn.ulegend.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, dmb@yenn.ulegend.net
Subject: Re: kern/53143: NetBSD 8 panic probably related to procfs
Date: Wed, 16 May 2018 18:08:36 +0200
On Wed, May 16, 2018 at 02:00:01PM +0000, Martin Husemann wrote:
> The following reply was made to PR kern/53143; it has been noted by GNATS.
>
> From: Martin Husemann <martin@duskware.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: kern/53143: NetBSD 8 panic probably related to procfs
> Date: Wed, 16 May 2018 15:55:43 +0200
>
> I think this has been fixed, can you verify with a newer netbsd-8 kernel?
>
> Thanks,
>
> Martin
>
I'm leaving htop for the night and let you know tomorrow.
Now it is running RC1.
--
Pozdrawiam
Dominik Biały
From: Dominik Bialy <dmb@yenn.ulegend.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, dmb@yenn.ulegend.net
Subject: Re: kern/53143: NetBSD 8 panic probably related to procfs
Date: Thu, 17 May 2018 09:55:04 +0200
On Wed, May 16, 2018 at 06:08:36PM +0200, Dominik Bialy wrote:
> On Wed, May 16, 2018 at 02:00:01PM +0000, Martin Husemann wrote:
> > The following reply was made to PR kern/53143; it has been noted by GNATS.
> >
> > From: Martin Husemann <martin@duskware.de>
> > To: gnats-bugs@NetBSD.org
> > Cc:
> > Subject: Re: kern/53143: NetBSD 8 panic probably related to procfs
> > Date: Wed, 16 May 2018 15:55:43 +0200
> >
> > I think this has been fixed, can you verify with a newer netbsd-8 kernel?
> >
> > Thanks,
> >
> > Martin
> >
>
> I'm leaving htop for the night and let you know tomorrow.
>
> Now it is running RC1.
>
OK, htop has been running for the night, additionally
I run various find(1) around the tree, and even crashme(1)
stress tests. I launched a VM in qemu for the night, too,
and the thing didn't crash.
Good job. Thank you.
You can close the PR.
--
Pozdrawiam
Dominik Biały
State-Changed-From-To: feedback->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Thu, 17 May 2018 10:15:47 +0000
State-Changed-Why:
Fixed, thanks for the report!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 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.