Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2023 16:33:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNzYwMzldIENyYXNoIG9uIHN5c2N0bCAtYSB3aXRoIEZy?= =?UTF-8?B?ZWVCU0QtMTUuMC1DVVJSRU5ULWFtZDY0LTIwMjMxMjI4LWZiMDNmN2Y4ZTMw?= =?UTF-8?B?ZC0yNjcyNDItbWVtc3RpY2suaW1nLnh6?=
Message-ID:  <bug-276039-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276039

            Bug ID: 276039
           Summary: Crash on sysctl -a with
                    FreeBSD-15.0-CURRENT-amd64-20231228-fb03f7f8e30d-26724
                    2-memstick.img.xz
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pi@FreeBSD.org

Running sysctl -a on a recent version of 15 causes a crash with:

sbuf_clear makes no sense on sbuf 0xfffff80231421e80 with drain

https://people.freebsd.org/~pi/crash-sysctl/

has two textdumps from a fresh install of

FreeBSD-15.0-CURRENT-amd64-20231228-fb03f7f8e30d-267242-memstick.img.xz

These are the last few lines of the msgbuf:

cpuid =3D 17
time =3D 1704039903
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02dfa77=
960
vpanic() at vpanic+0x131/frame 0xfffffe02dfa77a90
panic() at panic+0x43/frame 0xfffffe02dfa77af0
sbuf_clear() at sbuf_clear+0xa8/frame 0xfffffe02dfa77b00
sbuf_cpy() at sbuf_cpy+0x56/frame 0xfffffe02dfa77b20
spa_taskq_write_param() at spa_taskq_write_param+0x85/frame 0xfffffe02dfa77=
bd0
sysctl_root_handler_locked() at sysctl_root_handler_locked+0x9c/frame
0xfffffe02dfa77c20
sysctl_root() at sysctl_root+0x21e/frame 0xfffffe02dfa77ca0
userland_sysctl() at userland_sysctl+0x184/frame 0xfffffe02dfa77d50
sys___sysctl() at sys___sysctl+0x60/frame 0xfffffe02dfa77e00
amd64_syscall() at amd64_syscall+0x153/frame 0xfffffe02dfa77f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe02dfa77f30
--- syscall (202, FreeBSD ELF64, __sysctl), rip =3D 0x39afc210319a, rsp =3D
0x39afbf80c098, rbp =3D 0x39afbf80c0d0 ---
KDB: enter: panic
Uptime: 18s

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276039-227>