[haiku-bugs] [Haiku] #12676: After several hours of usage, suddenly, text files suffer data corruption (plain text is replaced with strange characters).

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Fri, 11 Mar 2016 17:04:41 -0000

#12676: After several hours of usage, suddenly, text files suffer data 
corruption
(plain text is replaced with strange characters).
------------------------------+------------------------------
 Reporter:  Giova84           |        Owner:  axeld
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  Unscheduled
Component:  File Systems/BFS  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 I am on hrev50141 and I still notice this behaviour, which, for me, is
 present since years on Haiku. I noticed that this corruption of text
 files, for me, easily occurs after several hours of usage.
 In these days - as usual, periodically - I'm using Haiku as my main OS:
 after an intensive usage (eg I download, copy, move and delete a lot of
 files on the disk), suddenly, I notice that some text files (also a bash
 script) are corrupted: this happens suddenly. Eg: this morning  i have
 executed a bash script and I opened a text file, I closed it and open
 again (the plain text file): then some portion of the text was replaced
 with strange/ASCII characters.
 The fact is that such text file has never been edited since weeks: I just
 opened it in StyledEdit (the content was OK), closed and opened again,
 then the corruption occured. I didn't noticed any other issue (and the
 modification time of the file, after the corruption  - strange characters
 instead of plain text -  hasn't been touched).
 I also executed a bash script - all was fine - then I executed this script
 again and didn't worked: then I opened this script file with Pe and an
 alert window of Pe told me about encoding/UTF problems: in fact a portion
 of text of this script was replaced with strange characters.
 I run a checkfs on the disk, but no errors were found.

 Unfortunately, due these tickets ticket:12634 and ticket:12415 I can't
 investigate in the syslog.

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

Other related posts: