OR function (-z) bug in ddrescuelog requires update from 1.17 -> 1.19.1+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gddrescue (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I came across a bug in the current version (v1.17) of gddrescue shipped with Trusty.
The bug is with the ddrescuelog -z (OR) function which does not work properly. I have sourced the solution below.
mapfile1:
# current_pos current_status
0x0000000000 ?
# pos size status
0x0000000000 0x0004000000 -
0x0004000000 0x0001000000 +
0x0005000000 0x0005000000 -
mapfile2:
# current_pos current_status
0x0000000000 ?
# pos size status
0x0000000000 0x0009000000 -
0x0009000000 0x0001000000 +
-z output (same as -x):
# current_pos current_status
0x00000000 ?
# pos size status
0x00000000 0x09000000 -
0x09000000 0x01000000 +
expected:
# current_pos current_status
0x00000000 ?
# pos size status
0x00000000 0x04000000 -
0x04000000 0x01000000 +
0x05000000 0x04000000 -
0x09000000 0x01000000 +
I have been in touch with Antonio Diaz Diaz at GNU.org (the author) and he states the bug has been fixed a long time ago in v1.18.1.
The version of the package shipped with Vivid is 1.19.1 so it appears the solution to this issue would be to port the latest package to the LTS stream.
Many thanks!
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gddrescue 1.17-1
ProcVersionSign
Uname: Linux 3.16.0-62-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Mar 9 23:57:40 2016
InstallationDate: Installed on 2015-04-16 (328 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: gddrescue
UpgradeStatus: No upgrade log present (probably fresh install)
Further to this, v1.19-1 has been marked stable in Debian jessie.
Please can we get this updated?