[Bug 282378] panic: got NULL turnstile on rwlock 0xfffff8021123be90 passedv 1 v 1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Oct 2024 08:26:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282378

            Bug ID: 282378
           Summary: panic: got NULL turnstile on rwlock 0xfffff8021123be90
                    passedv 1 v 1
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lexi.freebsd@le-fay.org

using main from ~53314e34d5e8e7f781ab990805b22f7a56bc0580, panic observed
during normal operation:

panic: got NULL turnstile on rwlock 0xfffff8021123be90 passedv 1 v 1
cpuid = 5
time = 1730103094
KDB: stack backtrace:
#0 0xffffffff804676bd at kdb_backtrace+0x5d
#1 0xffffffff8041d1df at vpanic+0x13f
#2 0xffffffff8041d093 at panic+0x43
#3 0xffffffff804189ec at __rw_wunlock_hard+0xec
#4 0xffffffff805babdd at nd6_resolve_slow+0x2dd
#5 0xffffffff805ba7d5 at nd6_resolve+0x125
#6 0xffffffff80530da2 at ether_output+0x502
#7 0xffffffff8055dc95 at ip_tryforward+0x505
#8 0xffffffff80560570 at ip_input+0x310
#9 0xffffffff805366f8 at swi_net+0x138
#10 0xffffffff803e23f9 at ithread_loop+0x239
#11 0xffffffff803dea5b at fork_exit+0x7b
#12 0xffffffff806a37ae at fork_trampoline+0xe
Uptime: 20h43m36s
Dumping 1674 out of 16325
MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%---<<BOOT>>---

(kgdb) bt
#0  __curthread () at
/data/build/src/freebsd/lf/main/sys/amd64/include/pcpu_aux.h:57
#1  doadump (textdump=<optimized out>) at
/data/build/src/freebsd/lf/main/sys/kern/kern_shutdown.c:404
#2  0xffffffff8041cd64 in kern_reboot (howto=260) at
/data/build/src/freebsd/lf/main/sys/kern/kern_shutdown.c:524
#3  0xffffffff8041d24c in vpanic (fmt=0xffffffff8073c8b1 "got NULL turnstile on
rwlock %p passedv %zx v %zx", ap=ap@entry=0xfffffe00d997bb30) at
/data/build/src/freebsd/lf/main/sys/kern/kern_shutdown.c:979
#4  0xffffffff8041d093 in panic (fmt=<unavailable>) at
/data/build/src/freebsd/lf/main/sys/kern/kern_shutdown.c:892
#5  0xffffffff804189ec in __rw_wunlock_hard (c=c@entry=0xfffff8021123bea8, v=1)
at /data/build/src/freebsd/lf/main/sys/kern/kern_rwlock.c:1277
#6  0xffffffff805babdd in nd6_resolve_slow (ifp=ifp@entry=0xfffff800030ca800,
family=family@entry=2, flags=flags@entry=0, m=m@entry=0xfffff8003221c100,
dst=dst@entry=0xfffff80025aa5d04, 
    desten=desten@entry=0xfffffe00d997bcb0 "", pflags=0xfffffe00d997bc8c,
plle=0x0) at /data/build/src/freebsd/lf/main/sys/netinet6/nd6.c:2475
#7  0xffffffff805ba7d5 in nd6_resolve (ifp=0xfffff800030ca800,
gw_flags=<optimized out>, m=m@entry=0xfffff8003221c100,
sa_dst=sa_dst@entry=0xfffff80025aa5d04, desten=desten@entry=0xfffffe00d997bcb0
"", 
    pflags=pflags@entry=0xfffffe00d997bc8c, plle=0x0) at
/data/build/src/freebsd/lf/main/sys/netinet6/nd6.c:2298
#8  0xffffffff80530da2 in ether_resolve_addr (phdr=0xfffffe00d997bcb0 "",
plle=<optimized out>, ifp=<optimized out>, m=<optimized out>, dst=<optimized
out>, ro=<optimized out>, pflags=<optimized out>)
    at /data/build/src/freebsd/lf/main/sys/net/if_ethersubr.c:243
#9  ether_output (ifp=<unavailable>, ifp@entry=<error reading variable: value
is not available>, m=0xfffff8003221c100, m@entry=<error reading variable: value
is not available>, dst=<unavailable>, 
    dst@entry=<error reading variable: value is not available>,
ro=<unavailable>, ro@entry=<error reading variable: value is not available>) at
/data/build/src/freebsd/lf/main/sys/net/if_ethersubr.c:349
#10 0xffffffff8055dc95 in ip_tryforward (m=0xfffff8003221c100) at
/data/build/src/freebsd/lf/main/sys/netinet/ip_fastfwd.c:483
#11 0xffffffff80560570 in ip_input (m=0xfffff8003221c100) at
/data/build/src/freebsd/lf/main/sys/netinet/ip_input.c:590
#12 0xffffffff805366f8 in netisr_process_workstream_proto
(nwsp=0xfffffe00205a3a00, proto=1) at
/data/build/src/freebsd/lf/main/sys/net/netisr.c:927
#13 swi_net (arg=0xfffffe00205a3a00) at
/data/build/src/freebsd/lf/main/sys/net/netisr.c:974
#14 0xffffffff803e23f9 in intr_event_execute_handlers (ie=0xfffff8000128ab00,
p=<optimized out>) at /data/build/src/freebsd/lf/main/sys/kern/kern_intr.c:1183
#15 ithread_execute_handlers (ie=0xfffff8000128ab00, p=<optimized out>) at
/data/build/src/freebsd/lf/main/sys/kern/kern_intr.c:1196
#16 ithread_loop (arg=arg@entry=0xfffff80001268880) at
/data/build/src/freebsd/lf/main/sys/kern/kern_intr.c:1289
#17 0xffffffff803dea5b in fork_exit (callout=0xffffffff803e21c0 <ithread_loop>,
arg=0xfffff80001268880, frame=0xfffffe00d997bf40) at
/data/build/src/freebsd/lf/main/sys/kern/kern_fork.c:1151
#18 <signal handler called>
#19 0x1a870f36f88366d0 in ?? ()

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