[haiku-bugs] Re: [Haiku] #16039: [IORequest] Assert Failed: actualLength == fLength

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 17 May 2020 03:54:39 -0000

#16039: [IORequest] Assert Failed: actualLength == fLength
-------------------------------+----------------------------
  Reporter:  CodeforEvolution  |      Owner:  waddlesplash
      Type:  bug               |     Status:  assigned
  Priority:  high              |  Milestone:  R1/beta2
 Component:  System/Kernel     |    Version:  R1/Development
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:
  Platform:  All               |
-------------------------------+----------------------------
Changes (by waddlesplash):

 * owner:  nobody => waddlesplash
 * status:  new => assigned

Comment:

 The problem is here:
 
https://xref.landonf.org/source/xref/haiku/src/system/kernel/cache/file_cache.cpp#1327

 The write operation always uses kZeroVecCount and not the appropriate
 number of pages. This loop needs to be refactored; and probably some of
 these variables renamed for clarity.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16039#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: