[haiku-bugs] [Haiku] #10765: data corruption in and between text files in the same directory

  • From: "Kev" <trac@xxxxxxxxxxxx>
  • Date: Wed, 16 Apr 2014 21:59:25 -0000

#10765: data corruption in and between text files in the same directory
------------------------------+------------------------------
 Reporter:  Kev               |        Owner:  axeld
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  R1
Component:  File Systems/BFS  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  x86               |
------------------------------+------------------------------
 I noticed that in a plain-text file, letter.txt, I had recently worked on
 yesterday using StyledEdit, after upgrading to hrev47114, there was a
 chunk of text that stood out:

 
'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<'<

 That not being part of my letter, I investigated, and found that that
 above sequence had replaced a chunk of my letter.  Interestingly, the
 replaced chunk was found, intact, in the alphabetically next file in the
 same directory, "letter.txt copy".  However, in "letter.txt copy", the
 intact chunk had taken over all but the last 54 bytes of the original
 "letter.txt copy".  Both "letter.txt copy" and "letter.txt copy 2", which
 have the exact same modified date and size (and that may have been me
 hitting alt-d twice by accident back when I was working on letter.txt) but
 "letter.txt copy 2" had no data replaced.  I hadn't experienced any
 StyledEdit crashes or anything.  Does such a weird double-displacement
 mean my HD is on its way out, or is this a possible bug in Haiku?  This is
 a file on the BFS boot volume that my Haiku nightly is running off of,
 without any other data corruption found yet.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10765>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: