NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/60658 (netbsd32_process_read_dbregs() needs the same fix as native amd64 process_read_dbregs())
The following reply was made to PR kern/60658; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/60658 (netbsd32_process_read_dbregs() needs the same fix as
native amd64 process_read_dbregs())
Date: Wed, 2 Sep 2026 16:12:52 +0200
I can reproduce the panic with todays kernel again:
db{0}> bt
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x189
kern_assert() at netbsd:kern_assert+0x4b
x86_dbregs_read() at netbsd:x86_dbregs_read+0x17b
netbsd32_process_read_dbregs() at netbsd:netbsd32_process_read_dbregs+0x1b
netbsd32_proc_regio() at netbsd:netbsd32_proc_regio+0x92
netbsd32_dodbregs() at netbsd:netbsd32_dodbregs+0x2a
do_ptrace() at netbsd:do_ptrace+0x797
netbsd32_ptrace() at netbsd:netbsd32_ptrace+0x42
netbsd32_syscall() at netbsd:netbsd32_syscall+-0x23a741
db{0}> dmesg
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.0000000] 2024, 2025, 2026
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights rese
rved.
[ 1.0000000] NetBSD 11.99.8 (GENERIC) #887: Wed Sep 2 10:40:14 CEST 2026
[ 1.0000000] martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/a
md64/compile/GENERIC
db{0}> show panic
Panic string: kernel diagnostic assertion "pcb->pcb_dbregs != NULL" failed: file
"../../../../arch/x86/x86/dbregs.c", line 186
Martin
Home |
Main Index |
Thread Index |
Old Index