bug#20948: Facing error using coreutil "dd - convert and copy a file"
tags 20948 moreinfo close 20948 stop (triaging old bugs) On 01/07/15 02:54 PM, Paul Eggert wrote: Sunil Yadav wrote: 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. With no further follow-ups in 3 years, I'm closing this bug. -assaf
bug#20948: Facing error using coreutil dd - convert and copy a file
Hi, In one of my tool unix command dd to convert and copy a file has been used. Most of time this commands runs well while executing with following options 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 output: 102+0 records in 2036+0 records out 1042432 bytes (1,0 MB) copy, 0,00816693 s, 128 MB/s what could be the reason for this error? dd --version dd (coreutils) 8.4 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. Thanks. Kind regards,Sunil
bug#20948: Facing error using coreutil dd - convert and copy a file
On 01/07/15 06:44, Sunil Yadav wrote: Hi, In one of my tool unix command dd to convert and copy a file has been used. Most of time this commands runs well while executing with following options 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 output: 102+0 records in 2036+0 records out 1042432 bytes (1,0 MB) copy, 0,00816693 s, 128 MB/s what could be the reason for this error? sounds like /tmp/test3 is a socket and the writing is forcibly closing it while dd is reading?
bug#20948: Facing error using coreutil dd - convert and copy a file
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.