[Pkg-kde-extras] Bug#666030: digikam: rotating photos corrupt jpeg files

Vincent Danjean vdanjean at debian.org
Tue Mar 27 22:10:27 UTC 2012


Package: digikam
Version: 4:2.6.0~beta1-1
Severity: serious

  Hi,

  I upgraded digikam from 4:2.5.0-1 to 4:2.6.0~beta1-1 a few days ago.
My camera does not record the orientation of the photos. So, after importing
them, I always rotate the photos that require it. I do it by selecting
the photo (usually shift+right arrow) and then using the shortcut
shift+control+right/left arrow.
  Since my upgrade, it happens three times that during the rotation of
a group of photo, the operation freezes (never ends, I must kill and
restart digikam) and one of the photos (the one currently proceeding?) is
corrupted: the file cannot be read back and its size is smaller (from about 3M
to 200Ko for example). So, it seems that digikam fails after a partial rewrite
of the file.

  I put the serious severity because this is causing user data loss. Feel
free to downgrade it if you want, but, for myself, I will not rotate
my photos in digikam without having a copy elsewhere. I used to delete
the photo on the camera just after the import. I will wait after the
rotation now.

  Several remarks:
- the problem is not systematic. It occurs to me 3 times and I rotate
  about 40~50 photos by group of 1 to 5
- I'm using a mysql database (not sure if this is relevant or not)
- I'm using a solid-state DD with lot of ram (8Go), so disk access are fast
  (not sure if this is relevant or not)
- when rotating the photo, there are lots of refreshes of the display
  of the thumbnails of the folder. Moreover, sometimes, after the rotation
  operation, the thumbnails are not displayed rotated until I hit the 'F5' key.
  => perhaps the bug is due to a bad interaction between the redraw
  and the rotate operation that are badly synchronized and try both
  to access to the same file at the same time (the redraw try to read
  a partially rewriten file and block the write).

  I never saw this bug with digikam 4:2.5.0-1 or previous versions.

  Best regards,
    Vincent

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages digikam depends on:
ii  digikam-data            4:2.6.0~beta1-1
ii  kde-runtime             4:4.7.4-2
ii  libc6                   2.13-27
ii  libgcc1                 1:4.6.3-1
ii  libgomp1                4.6.3-1
ii  libgphoto2-2            2.4.13-2
ii  libgphoto2-port0        2.4.13-2
ii  libjasper1              1.900.1-13
ii  libjpeg8                8d-1
ii  libkdcraw20             4:4.7.4-2
ii  libkdecore5             4:4.7.4-4
ii  libkdeui5               4:4.7.4-4
ii  libkdewebkit5           4:4.7.4-4
ii  libkexiv2-10            4:4.7.4-2
ii  libkfile4               4:4.7.4-4
ii  libkhtml5               4:4.7.4-4
ii  libkio5                 4:4.7.4-4
ii  libkipi8                4:4.7.4-2
ii  libknotifyconfig4       4:4.7.4-4
ii  libkparts4              4:4.7.4-4
ii  liblcms1                1.19.dfsg-1+b1
ii  liblensfun0             0.2.5-2
ii  liblqr-1-0              0.4.1-1.1
ii  libmarblewidget12       4:4.7.4-2
ii  libnepomuk4             4:4.7.4-4
ii  libopencv-core2.3       2.3.1-7
ii  libopencv-highgui2.3    2.3.1-7
ii  libopencv-imgproc2.3    2.3.1-7
ii  libopencv-legacy2.3     2.3.1-7
ii  libopencv-objdetect2.3  2.3.1-7
ii  libphonon4              4:4.6.0.0-1
ii  libpng12-0              1.2.47-1
ii  libqjson0               0.7.1-6
ii  libqt4-dbus             4:4.7.4-2
ii  libqt4-network          4:4.7.4-2
ii  libqt4-qt3support       4:4.7.4-2
ii  libqt4-sql              4:4.7.4-2
ii  libqt4-sql-sqlite       4:4.7.4-2
ii  libqt4-xml              4:4.7.4-2
ii  libqtcore4              4:4.7.4-2
ii  libqtgui4               4:4.7.4-2
ii  libqtwebkit4            2.2.0-3
ii  libsolid4               4:4.7.4-4
ii  libsoprano4             2.7.5+dfsg.1-1
ii  libstdc++6              4.6.3-1
ii  libtiff4                3.9.6-1
ii  libx11-6                2:1.4.4-4
ii  phonon                  4:4.6.0.0-1

Versions of packages digikam recommends:
ii  epiphany-browser [www-browser]  3.2.1-2
ii  iceape [www-browser]            2.7.3-2
ii  iceweasel [www-browser]         10.0.3esr-2
ii  kipi-plugins                    4:2.6.0~beta1-1
ii  konqueror [www-browser]         4:4.7.4-2
ii  mplayerthumbs                   4:4.7.4-2
ii  w3m [www-browser]               0.5.3-5

Versions of packages digikam suggests:
pn  digikam-doc  <none>

-- no debconf information





More information about the pkg-kde-extras mailing list