Thanks for reporting the bug. I installed the attached patch into the
development version on Savannah, to fix the bug you reported along with
a closely related bug that I found when looking into your problem.
Please give this patch a try at your convenience.
>From
i think there is a double-close() bug that causes dd to try to close input
file twice if it receives a SIGINT during fdatasync(),
it seems easy to reproduce on a slow block device (the issue was noticed on
a 5400RPM harddrive), but i have not been able to reproduce it on a SSD
(likely because