Opened 3 years ago

Last modified 5 months ago

#17704 new bug

FAT32 - Data corruption when unmount after editing files

Reported by: un_spacyar Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/FAT Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Hi. I found a reproducible error (I hope) when editing files directly from a FAT32 partition.

Here is the process:

  • Mount the FAT32 partition.
  • Open Koder editor, create a brief text file and save it directly on the FAT32 partition.
  • Unmount the FAT32 partition.
  • Mount it again.

-Open the same file, and edit it. Save it.

  • Unmount the FAT32 partition again.
  • Mount the partition again.

When open the file, you will notice that the text is vanished, and replaced by a lot of 'null?' characters (00 in hexadecimal) visible if open the file with DiskProbe.

I'm attaching a couple of that files.

The FAT32 partition is located in the same hard drive that the BFS one. Is an internal drive (SATA). I'm not using an external USB drive or something like that.

Haiku 32 bit version (hrev56010)

About the attached files: the ones named 'TEST-KODER' were created using Koder. But also include another file 'Software-info-catalog.trln' created by an application named TreeLine (I port this application myself). Normaly is a Json-like file. In this case, the file is partially corrupted.

Attachments (3)

Software-info-catalog.trln (1.7 KB ) - added by un_spacyar 3 years ago.
TEST-KODER4.txt (16 bytes ) - added by un_spacyar 3 years ago.
TEST-KODER3.txt (19 bytes ) - added by un_spacyar 3 years ago.

Download all attachments as: .zip

Change History (4)

by un_spacyar, 3 years ago

Attachment: Software-info-catalog.trln added

by un_spacyar, 3 years ago

Attachment: TEST-KODER4.txt added

by un_spacyar, 3 years ago

Attachment: TEST-KODER3.txt added

comment:1 by waddlesplash, 5 months ago

Please retest after hrev57811.

Note: See TracTickets for help on using tickets.