[haiku-bugs] Re: [Haiku] #3159: [kernel] PANIC: ASSERT FAILED: vnode->ref_count ==0 && vnode->busy

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 01 Apr 2012 11:11:15 -0000

#3159: [kernel] PANIC: ASSERT FAILED: vnode->ref_count ==0 && vnode->busy
--------------------------------+----------------------------
   Reporter:  diver             |      Owner:  axeld
       Type:  bug               |     Status:  closed
   Priority:  normal            |  Milestone:  R1
  Component:  File Systems/BFS  |    Version:  R1/Development
 Resolution:  fixed             |   Keywords:
 Blocked By:                    |   Blocking:  8402, 8419
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------
Changes (by axeld):

 * status:  new => closed
 * resolution:   => fixed
 * component:  System/Kernel => File Systems/BFS


Comment:

 Fixed in hrev43930 -- the tree in the transaction held a reference to the
 inode as well, and it wasn't removed neither before calling remove_vnode()
 (causing the panic), nor deleting the inode (which would have caused a
 crash upon destruction of the transaction).

 This would always happen if creating a directory failed late.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3159#comment:13>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: