panic: process 32827(tcpblast):2 holds Giant but isn't blocked on a lock

John Baldwin jhb at FreeBSD.org
Wed Oct 13 11:02:11 PDT 2004


On Wednesday 13 October 2004 03:50 am, Peter Holm wrote:
> This is with GENERIC HEAD from Oct 12 12:56 UTC. More info @
> http://www.holm.cc/stress/log/cons84.html

The thread is in the state TDS_CAN_RUN so it's runnable but not on a run queue 
or running.  The only way that I know that this can happen is if priority 
propagation happens after the system has already panic'd in which case you 
are about to deadlock anyhow since you are blocking on a lock owned by a 
thread that will never get to run again.  You can try adjusting 
propagate_priority() to treat TD_CAN_RUN(td) the same as TD_IS_RUNNING(td) 
and maybe you will get your original panic message.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list