MediaWriter icon indicating copy to clipboard operation
MediaWriter copied to clipboard

A failure in writing is reported as success (!!)

Open kparal opened this issue 2 years ago • 1 comments

I intentionally corrupted the written image during the writing process. I expected FMW to tell me that the writing process failed. Instead, it said that everything is fine and the image was successfully written!

Screenshot from 2022-05-06 10-20-58

Reproducer:

  1. Start writing some image to a flash drive
  2. After a few seconds of writing, use dd to write 10MB of zeroes at the beginning of the drive (sudo dd if=/dev/zero of=DEVICE bs=10M count=1)
  3. Wait for the FMW writing to complete
  4. See that the verification step ends immediately
  5. See that you're reported a success

The only thing that FMW prints into console during the relevant phase is this:

W@75686ms: Couldn't send a notification: "org.freedesktop.DBus.Error.ServiceUnknown" - "org.freedesktop.DBus.Error.ServiceUnknown"

(I'm using a Flatpak version)

kparal avatar May 06 '22 08:05 kparal

FMW 4.2 has the same issue.

kparal avatar May 06 '22 08:05 kparal