Bug #2519

panic: assertion "_cache_lockstatus(ncp) == LK_EXCLUSIVE" failed

Added by ftigeot over 2 years ago. Updated over 2 years ago.

Status:In ProgressStart date:02/26/2013
Priority:HighDue date:
Assignee:dillon% Done:


Target version:-


A 8-threads machine running a DragonFly 3.3 kernel as of 055f352b3a3efb5048e8ec081c8bfe53db574e68
panics every few hours with the above assertion.

Complete panic string:
panic: assertion "_cache_lockstatus(ncp) == LK_EXCLUSIVE" failed in _cache_setvp at /usr/src/sys/kern/vfs_cache.c:1175

Core dumps are beeing uploaded to leaf:~ftigeot/crash.71


#1 Updated by ftigeot over 2 years ago

sysctl.conf contains debug.ncp_shared_lock_disable=0, which may be important

#2 Updated by dillon over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to dillon
  • Priority changed from Normal to High

This should be fixed in 8a70992 which was committed after the kernel rev being reported, please test!


#3 Updated by dillon over 2 years ago

I've committed 53b4cf which might fix the corruption. It needs significant testing though because the panic occurs in a different thread than the one which corrupts the list.


Also available in: Atom PDF