Date: Fri, 22 Apr 2022 21:18:25 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263474] [sctp] netperf causes panic: panic: Assertion v != tid failed at /usr/src/sys/kern/kern_mutex.c:920 Message-ID: <bug-263474-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263474 Bug ID: 263474 Summary: [sctp] netperf causes panic: panic: Assertion v !=3D tid failed at /usr/src/sys/kern/kern_mutex.c:920 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bdrewery@FreeBSD.org On head 5678114cd8b310bd6f0a5699f036fc5b18addd65 (March 8th 2022) This was during high CPU load from a Poudriere package build occurring at t= he same time. # netserver Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNS= PEC # netperf -t SCTP_STREAM -H 127.0.0.1 SCTP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 127.0.0.1 () port= 0 AF_INET : histogram : interval : dirty data : demo client_loop: send disconnect: Broken pipe panic: Assertion v !=3D tid failed at /usr/src/sys/kern/kern_mutex.c:920 Tracing pid 12 tid 100161 td 0xfffffe0087502e40 kdb_enter() at kdb_enter+0x37/frame 0xfffffe013eb92460 vpanic() at vpanic+0x1b0/frame 0xfffffe013eb924b0 panic() at panic+0x43/frame 0xfffffe013eb92510 thread_lock_flags_() at thread_lock_flags_+0x180/frame 0xfffffe013eb92580 propagate_priority() at propagate_priority+0x99/frame 0xfffffe013eb925c0 turnstile_wait() at turnstile_wait+0x380/frame 0xfffffe013eb92610 __mtx_lock_sleep() at __mtx_lock_sleep+0x1d9/frame 0xfffffe013eb926a0 __mtx_lock_flags() at __mtx_lock_flags+0xe5/frame 0xfffffe013eb926f0 sctp_express_handle_sack() at sctp_express_handle_sack+0x8b8/frame 0xfffffe013eb927f0 sctp_process_control() at sctp_process_control+0x98f/frame 0xfffffe013eb92b= 30 sctp_common_input_processing() at sctp_common_input_processing+0x514/frame 0xfffffe013eb92ca0 sctp_input_with_port() at sctp_input_with_port+0x1fb/frame 0xfffffe013eb92d= 70 sctp_input() at sctp_input+0x10/frame 0xfffffe013eb92d80 ip_input() at ip_input+0x25e/frame 0xfffffe013eb92de0 swi_net() at swi_net+0x191/frame 0xfffffe013eb92e60 ithread_loop() at ithread_loop+0x279/frame 0xfffffe013eb92ef0 fork_exit() at fork_exit+0x80/frame 0xfffffe013eb92f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe013eb92f30 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- 0 59382 6553 21 -72 0 18868 6536 sctp-tcb L+ - 0:06.47 [netperf] #16 0xffffffff80be6c79 in __mtx_lock_sleep (c=3Dc@entry=3D0xfffff80131013cb= 8, v=3D<optimized out>, opts=3D<optimized out>, opts@entry=3D0, file=3D<optimized out>, file@entry=3D0xffffffff83638a9c "/usr/src/sys/netinet/sctp_indata.c", line=3Dline@entry=3D4138) at /usr/src/sys/kern/kern_mutex.c:668 #17 0xffffffff80be6a25 in __mtx_lock_flags (c=3D0xfffff80131013cb8, opts=3D-2127852512, file=3D0xffffffff83638a9c "/usr/src/sys/netinet/sctp_indata.c", line=3D= 4138) at /usr/src/sys/kern/kern_mutex.c:284 #18 0xffffffff835d8868 in sctp_express_handle_sack (stcb=3D0xfffffe01fd755a= d0, cumack=3Dcumack@entry=3D1851645892, rwnd=3D1860207, abort_now=3Dabort_now@entry=3D0xfffffe013eb92a80, ecne_seen=3D0) at /usr/src/sys/netinet/sctp_indata.c:4138 #19 0xffffffff835e280f in sctp_process_control (m=3D<optimized out>, m@entry=3D0xfffff80a0e562400, iphlen=3D<optimized out>, iphlen@entry=3D= 20, offset=3D<optimized out>, offset@entry=3D0xfffffe013eb92bd8, length=3D<optimized out>, length@entry=3D48, src=3D<optimized out>, src@entry=3D0xfffffe013eb92d30, dst=3Ddst@entry=3D0xfffffe013eb92d20, sh=3D0xfffff80a0e56246c, ch=3D<optimized out>, inp=3D<optimized out>, stcb=3D0x10, netp=3D0xfffffe013eb92be0, fwd_tsn_seen=3D0xfffffe013eb92b= ac, mflowtype=3D191 '\277', mflowid=3D3372267024, fibnum=3D<optimized out>, vrf_id=3D0, port=3D0) at /usr/src/sys/netinet/sctp_input.c:4758 #20 0xffffffff835e15c4 in sctp_common_input_processing ( mm=3Dmm@entry=3D0xfffffe013eb92d10, iphlen=3D<optimized out>, iphlen@en= try=3D20, offset=3D32, length=3Dlength@entry=3D48, src=3Dsrc@entry=3D0xfffffe013e= b92d30, dst=3Ddst@entry=3D0xfffffe013eb92d20, sh=3D0xfffff80a0e56246c, ch=3D0xfffff80a0e562478, compute_crc=3D0 '\000', ecn_bits=3D0 '\000', mflowtype=3D191 '\277', mflowid=3D3372267024, fibnum=3D0, vrf_id=3D0, p= ort=3D0) at /usr/src/sys/netinet/sctp_input.c:5413 #21 0xffffffff835e3b7b in sctp_input_with_port (i_pak=3D<optimized out>, off=3D20, port=3Dport@entry=3D0) at /usr/src/sys/netinet/sctp_input.c:5= 724 #22 0xffffffff835e3bc0 in sctp_input (mp=3D<optimized out>, offp=3D<optimized out>, proto=3D<optimized out>) at /usr/src/sys/netinet/sctp_input.c:5785 #23 0xffffffff80dda15e in ip_input (m=3D0xfffff8096dd51d00) at /usr/src/sys/netinet/ip_input.c:840 #24 0xffffffff80d59661 in netisr_process_workstream_proto ( nwsp=3D<optimized out>, proto=3D<optimized out>) at /usr/src/sys/net/netisr.c:928 #25 swi_net (arg=3D<optimized out>) at /usr/src/sys/net/netisr.c:975 #26 0xffffffff80bc6889 in intr_event_execute_handlers (ie=3D0xfffff8010207c= 200, p=3D<optimized out>) at /usr/src/sys/kern/kern_intr.c:1205 #27 ithread_execute_handlers (ie=3D0xfffff8010207c200, p=3D<optimized out>) at /usr/src/sys/kern/kern_intr.c:1218 #28 ithread_loop (arg=3D<optimized out>, arg@entry=3D0xfffff80102512060) at /usr/src/sys/kern/kern_intr.c:1306 #29 0xffffffff80bc2f20 in fork_exit ( callout=3D0xffffffff80bc6610 <ithread_loop>, arg=3D0xfffff80102512060, frame=3D0xfffffe013eb92f40) at /usr/src/sys/kern/kern_fork.c:1102 #30 <signal handler called> --=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-263474-227>