NetBSD Problem Report #55559

From www@netbsd.org  Mon Aug 10 09:05:22 2020
Return-Path: <www@netbsd.org>
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 11E2A1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 10 Aug 2020 09:05:22 +0000 (UTC)
Message-Id: <20200810090520.9A0611A9242@mollari.NetBSD.org>
Date: Mon, 10 Aug 2020 09:05:20 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: radixtree panic
X-Send-Pr-Version: www-1.0

>Number:         55559
>Category:       kern
>Synopsis:       radixtree panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    chs
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 10 09:10:00 +0000 2020
>Closed-Date:    Thu May 26 11:36:37 +0000 2022
>Last-Modified:  Thu May 26 11:36:37 +0000 2022
>Originator:     Patrick Welche
>Release:        NetBSD-9.99.69/amd64
>Organization:
>Environment:
>Description:
Originally reported in

http://mail-index.netbsd.org/current-users/2020/08/05/msg039312.html

(gdb) target kvm netbsd.0.core   
0xffffffff80222535 in cpu_reboot (howto=howto@entry=260, 
    bootstr=bootstr@entry=0x0) at ../../../../arch/amd64/amd64/machdep.c:713
713                     dumpsys(); 
(gdb) bt   
#0  0xffffffff80222535 in cpu_reboot (howto=howto@entry=260,
    bootstr=bootstr@entry=0x0) at ../../../../arch/amd64/amd64/machdep.c:713
#1  0xffffffff8062750a in kern_reboot (howto=howto@entry=260,
    bootstr=bootstr@entry=0x0) at ../../../../kern/kern_reboot.c:73
#2  0xffffffff80657570 in vpanic (fmt=fmt@entry=0xffffffff809397d0 "trap",
    ap=ap@entry=0xffffa9814eb90ac8) at ../../../../kern/subr_prf.c:290
#3  0xffffffff80657634 in panic (fmt=fmt@entry=0xffffffff809397d0 "trap")
    at ../../../../kern/subr_prf.c:209
#4  0xffffffff80224b6b in trap (frame=0xffffa9814eb90c10)
    at ../../../../arch/amd64/amd64/trap.c:326
#5  0xffffffff8021da35 in alltraps ()
#6  0xffffffff807596d5 in radix_tree_lookup_ptr (tagmask=0, alloc=false,
    path=0xffffa9814eb90d00, idx=10, t=0xffff84733b57b1d8)
    at     
+../../../../../../lib/libkern/../../../common/lib/libc/gen/radixtree.c:557
#7  radix_tree_clear_tag (t=t@entry=0xffff84733b57b1d8, idx=idx@entry=10,
    tagmask=tagmask@entry=1)
    at 
+../../../../../../lib/libkern/../../../common/lib/libc/gen/radixtree.c:1113
#8  0xffffffff805f2f42 in uvm_pagemarkdirty (pg=pg@entry=0xffffa98005772880,
    newstatus=newstatus@entry=1) at ../../../../uvm/uvm_page_status.c:109
#9  0xffffffff805f44a8 in uvmpd_scan_queue ()
    at ../../../../uvm/uvm_pdaemon.c:752
#10 uvmpd_scan () at ../../../../uvm/uvm_pdaemon.c:900
#11 uvm_pageout (arg=<optimized out>) at ../../../../uvm/uvm_pdaemon.c:316
#12 0xffffffff802086f7 in lwp_trampoline ()


reminds me of PR 55493 which was on a different box

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->feedback
Responsible-Changed-By: chs@NetBSD.org
Responsible-Changed-When: Sat, 21 May 2022 18:45:20 +0000
Responsible-Changed-Why:
take


Responsible-Changed-From-To: feedback->chs
Responsible-Changed-By: chs@NetBSD.org
Responsible-Changed-When: Sat, 21 May 2022 18:46:49 +0000
Responsible-Changed-Why:
take2


State-Changed-From-To: open->feedback
State-Changed-By: chs@NetBSD.org
State-Changed-When: Sat, 21 May 2022 18:46:49 +0000
State-Changed-Why:
have you seen this again after I fixed PR 55493?


State-Changed-From-To: feedback->closed
State-Changed-By: prlw1@NetBSD.org
State-Changed-When: Thu, 26 May 2022 11:36:37 +0000
State-Changed-Why:
I haven't seen this since your 55493 fix. I opened this PR as the
backtraces only had radix_tree_lookup_ptr in common!
Thank you for the fixes.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.