[Pkg-mc-devel] Bug#844331: Bug#844331: mc: file transfer hangs upon "Skip all" on io errors

Adam Borowski kilobyte at angband.pl
Mon Nov 14 17:08:50 UTC 2016

On Mon, Nov 14, 2016 at 05:21:45PM +0100, Yury V. Zaytsev wrote:
> On Mon, 14 Nov 2016, Adam Borowski wrote:
> >When a "Copy" or "Move" operation hits an io error, it offers to "Skip"
> >the current file, "Skip all", "Retry", "Abort".  If you select "Skip all",
> >it will ask you once whether to delete the incomplete file, then hang.
> >The UI is still responsive, showing an ever-increasing ETA, yet no
> >progress is being done.
> >
> >On the other hand, mere "Skip" does work -- it asks two questions per file
> >(Skip then delete incomplete), which is greatly tedious but allows
> >progress.
> Do you happen to have a reliable reproducer?

As I can't quite mail you a physical bad disk, I've crafted a small image
that you can loop-mount.  It's formatted with btrfs (for data checksums) and
has all of the three files scribbled over so the checksums don't match.

While in the root of this filesystem, with the cursor over the only
directory, please press F5 or F6.  Select a destination, then "Skip all".

By the way, an unrelated bug: F3 over one of these files, it'll happily
claim the files are empty instead of reporting the error.  "cat", "tar" or
anything will report it correctly.

A true bird-watcher waves his tail while doing so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.xz
Type: application/x-xz
Size: 162548 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20161114/d2a14a41/attachment-0001.bin>

More information about the Pkg-mc-devel mailing list