[haiku-bugs] Re: [Haiku] #6034: BFS Panics

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Fri, 31 Oct 2014 21:05:38 -0000

#6034: BFS Panics
--------------------------------+-------------------------
   Reporter:  bryanv            |      Owner:  axeld
       Type:  bug               |     Status:  in-progress
   Priority:  critical          |  Milestone:  R1
  Component:  File Systems/BFS  |    Version:  R1/alpha2
 Resolution:                    |   Keywords:  Panics
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  x86
--------------------------------+-------------------------
Changes (by axeld):

 * status:  reopened => in-progress


Comment:

 Just FTR: I've solved the issue in my working tree, but haven't gotten
 around to clean it up and commit yet. The problem is in
 BPlusTree::_SplitNode() that does not take the current key length into
 account when distributing the keys to the two target nodes. If the two
 last keys are very long, they can be longer than the 1024 bytes of the
 node, and even clobber the memory afterwards.

--
Ticket URL: <https://dev.haiku-os.org/ticket/6034#comment:23>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: