Date: Thu, 17 Dec 2009 04:37:48 GMT From: Bruce Cran <bruce@cran.org.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/141697: [sctp] [panic] lock (sleep mutex) sctp-tcb not locked Message-ID: <200912170437.nBH4bmG4021341@www.freebsd.org> Resent-Message-ID: <200912170440.nBH4e1nG054445@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141697 >Category: kern >Synopsis: [sctp] [panic] lock (sleep mutex) sctp-tcb not locked >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 17 04:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD tau.draftnet 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Dec 17 03:49:11 GMT 2009 brucec@tau.draftnet:/usr/obj/usr/src/sys/GENERIC_DBG amd64 >Description: I got the following panic when running "killall api_tests" when a large number of api_tests processes were running. panic: lock (sleep mutex) sctp-tcb not locked @ /usr/src/sys/netinet/sctp_pcb.c:4617 kdb_enter() at kdb_enter+0x3d panic() at panic+0x17b witness_unlock() at witness_unlock+0x297 _mtx_unlock_flags() at _mtx_unlock_flags+0x87 sctp_free_assoc() at sctp_free_assoc+0xaf1 sctp_process_control() at sctp_process_control+0x1329 sctp_common_input_processing() at sctp_common_input_processing+0x1b1 sctp_input_with_port() at sctp_input_with_port+0x388 ip_input() at ip_input+0xbc swi_net() at swi_net+0x151 intr_event_execute_handlers() at intr_event_execute_handlers+0x66 ithread_loop() at ithread_loop+0xb2 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffff8000047d30, rbp = 0 --- >How-To-Repeat: Run lots (around 100-300) api_tests processes started with the following command line: ./api_tests -l -r > /dev/null Then, kill all the api_tests processes with "killall api_tests" >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912170437.nBH4bmG4021341>