https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039

            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: b...@freebsd.org
          Reporter: p...@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 = 17
time = 1704039903
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02dfa77960
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 0xfffffe02dfa77bd0
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 = 0x39afc210319a, rsp =
0x39afbf80c098, rbp = 0x39afbf80c0d0 ---
KDB: enter: panic
Uptime: 18s

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

Reply via email to