#12 Reading from an SD card with a bad sector crash Win32DiskImager

0.9
open
nobody
None
Critical
8
2014-04-10
2014-04-09
Paolo Masetti
No

I have an SD card with some bad sector.

I would like to read all good sectors from it to copy sd content on a image file but Win32DiskImager stops and crash, without offering choice to skip bad sector (that indeed I already marked bad on file system).

Error shown: 28 (CRC)
When I press OK, win32diskimager crashes.

Discussion

  • Tobin Davis
    Tobin Davis
    2014-04-09

    Does it actually crash or does it just return back to the main screen? It "should" return to the main screen as it doesn't have the ability (currently) to continue reading.

    Please let me know if it is a full crash, as this will require some code walk-through (not sure how to create a bad sector on a memory device to debug it).

     
    • Paolo Masetti
      Paolo Masetti
      2014-04-09

      Win32diskimager reports the CRC error with a msgbox, then windows 8.1 says that win32diskimager has stopped working and kill it.

       
  • Jeff B
    Jeff B
    2014-04-09

    ImageWriter doesn't look at the underlying file system, so it has no idea that your sectors are "marked bad".

     
    • Paolo Masetti
      Paolo Masetti
      2014-04-09

      That's why I would like that win32diskimager were able to skip bad sectors. :)
      I mean that loosing these "bad" sectors during reading phase is what I need, but Win32DiskImager is not able to manage them (like asking Retry/Ignore) and it simply stops and then crashes.

       
  • Tobin Davis
    Tobin Davis
    2014-04-10

    The "Skip Bad Sectors" issue was marked as a feature request a while ago. See https://bugs.launchpad.net/win32-image-writer/+bug/1185923 for that thread. Not sure what kind of effort would be required to add an "ignore/continue" function for potential data recovery, given the nature of SD cards and other memory devices.

    This crash is a bit more troubling and needs to be addressed. The program should not hang, but return to the main window instead. That is a bug.

     
    • Paolo Masetti
      Paolo Masetti
      2014-04-10

      I searched about "abort, retry, ignore" feature on sourceforge but haven't found it. I'm glad that it's already in the wishlist. :)

      About the crash, let me know if you need some screenshots, event logs or more.