DragonFly bugs List (threaded) for 2008-07
DragonFly BSD
DragonFly bugs List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Jul 2008 15:05:43 -0700 (PDT)

:
: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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]