Package: libgphoto2-6 Version: 2.5.17 Severity: normal Dear Maintainer,
After upgrading libgphoto2 to latest packaged version 2.5.17, I immediately noticed that the CR2 RAW files fetched via "gphoto2 -P" were unreadable by Darktable, Adobe Lightroom and other RAW image software. My cameras are Canon EOS 7D Mark II and Canon EOS 500D, connected via USB. The problem occurs with both cameras. I quickly noticed that repeated transfers resulted in files with different SHA256 sums. Downgrading to libgphoto2 to previous 2.5.16 makes the problem go away, checksums are always consistent. With 2.5.17, each file had different checksum for each transfer, pointing to serious corruption. I should state that this is a VERY SERIOUS ISSUE! Usually when I transfer photos from camera, I also immediately delete them from the camera's memory card. Fortunately I noticed the problem with only few pictures taken, so I personally suffered almost no loss... but it could have been much worse! I have no idea if this affects only Canon cameras, as the changelog for 2.5.17 states various EOS -related changes, but I think notifying upstream would be appropriate. -- System Information: Debian Release: buster/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.5-qcmm (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)