Subject: bug#20948: Facing error using coreutil "dd - convert and copy a file"

From: Paul Eggert <[email-masked]>
Date: Wed, 01 Jul 2015 13:54:06 -0700

Sunil Yadav wrote:
> dd ibs=20b if=/tmp/test3
>
> output:
> 16019+1 records in
> 320380+1 records out
> 164034561 bytes (164 MB) copied, 4.92556 s, 33.3 MB/s
>
> With coreutil version 8.4 I am facing following error:
>
>      dd: writing in "Standard stdin": The connection was reset by the communication partner

Is that the exact message you're getting?  Nothing like that message seems to be 
in the source code.

Can you run the following command instead?

   strace -o tr dd ibs=20b if=/tmp/test3

and look in 'tr' for the system calls that fail and generate the diagnostics 
you're seeing?

Can you reproduce the problem in coreutils 8.23, the current version?  Perhaps 
the bug, whatever it is, has already been fixed.