panic: assertion: (node->flags & HAMMER_NODE_DELETED) == 0 in hammer_cursor_seek

Matthew Dillon dillon at apollo.backplane.com
Tue Jul 1 15:06:44 PDT 2008


:
:With latest -HEAD I get the mentioned panic. Managed to get a memory dump and I
:uploaded it to leaf:~rumko/crash/01.07.08

    Nice catch.  I'll get it fixed today.  It's a simple race.... the
    deleted flag test on line 2018 of hammer_inode.c occurs before
    the node is locked, and the assertion that caused the panic occurs
    after the node is locked.  The node can easily become deleted while
    blocked on the lock.  I just need to lock the node before doing the
    first test.
	
						-Matt





More information about the Bugs mailing list