Package: digikam
Version: 4:4.4.0-1.1
Severity: normal

Dear Maintainer,

when switching between images using the PgUp/PgDown keys from within digikam's image editor, the application frequently crashes, seemingly at random. With "frequently" I mean someting like every 10th or so picture -- which is way too much when browsing through an album containing > 1000 photos. (Well, actually there are some images with which the crash seems to occur more often than with others, but there still seems to be a random process involved.)

I don't know how to read strace outputs, but in case helps diagnosing the problem: I find a lot lines about "Bad file descriptor"s, like in

...
open("/usr/share/kde4/apps/libkdcraw/profiles/srgb-d65.icm", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=6924, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=6924, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=6924, ...}) = 0
read(3, "\0\0\33\flcms\0020\0\0mntrRGB XYZ \7\324\0\10\0\r\0\f"..., 16384) = 6924
read(3, "", 9460)                       = 0
close(3)                                = 0
munmap(0x7fb34e2d2000, 48852992)        = 0
brk(0xc38b000)                          = 0xc38b000
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
poll([{fd=15, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=15, revents=POLLNVAL}])
write(2, "digikam: Fatal IO error: client "..., 39) = 39
sendmsg(17, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\1\1r\0\0\0}\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"m\0\0\0type='signal',sender='org.kd"..., 114}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
close(17)                               = -1 EBADF (Bad file descriptor)
...

or, near the end:

...access("/usr/share/locale/de/LC_SCRIPTS/libkdcraw/libkdcraw.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/tcrass/.kde/share/locale/de/LC_SCRIPTS/digikam/digikam.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/de/LC_SCRIPTS/digikam/digikam.js", R_OK) = -1 ENOENT (No such file or directory)
kill(6673, SIGTERM)                     = 0
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
kill(6672, SIGTERM)                     = 0
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
kill(6671, SIGTERM)                     = 0
kill(6669, SIGTERM)                     = 0
kill(6670, SIGTERM)                     = 0
kill(6679, SIGTERM)                     = 0
kill(6680, SIGTERM)                     = 0
write(12, "\1\0\0\0\0\0\0\0", 8)        = -1 EBADF (Bad file descriptor)
futex(0x7fb3d809777c, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7fb3d8097750, 4) = 1
futex(0x7fb3d8097750, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb3d80968cc, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7fb3d80968a0, 6) = 1
futex(0x7fb3d80968a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb3d809679c, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0x7fb3d8096770, FUTEX_WAKE_PRIVATE, 1) = 0
write(33, "W", 1)                       = -1 EBADF (Bad file descriptor)
write(2, "pa_write() failed while trying t"..., 76) = 76
close(34)                               = -1 EBADF (Bad file descriptor)
munmap(0x7fb3dffff000, 67112960)        = 0
unlink("/dev/shm/pulse-shm-1346018386") = 0
futex(0x38a7540, FUTEX_UNLOCK_PI_PRIVATE, 0) = 0
futex(0x38a7540, FUTEX_LOCK_PI_PRIVATE, 1) = 0
write(33, "W", 1)                       = -1 EBADF (Bad file descriptor)
write(2, "pa_write() failed while trying t"..., 76) = 76
futex(0x38a7540, FUTEX_UNLOCK_PI_PRIVATE, 0) = 0
futex(0x7fb3e9ad99d0, FUTEX_WAIT, 6640, NULL) = 0
close(32)                               = -1 EBADF (Bad file descriptor)
write(2, "Assertion 'pa_close(fds[0]) == 0"..., 108) = 108
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(6633, 6633, SIGABRT)             = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=6633, si_uid=1000} --- rt_sigaction(SIGALRM, {SIG_DFL, [ALRM], SA_RESTORER|SA_RESTART, 0x7fb428e75180}, {SIG_DFL, [ALRM], SA_RESTORER|SA_RESTART, 0x7fb428e75180}, 8) = 0
alarm(3)                                = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=64*1024, rlim_max=64*1024}) = 0
close(3)                                = 0
close(4)                                = -1 EBADF (Bad file descriptor)
close(5)                                = -1 EBADF (Bad file descriptor)
close(6)                                = -1 EBADF (Bad file descriptor)
close(7)                                = -1 EBADF (Bad file descriptor)
close(8)                                = -1 EBADF (Bad file descriptor)
...

From here, the close(xxx) lines count up to

...
close(65533)                            = -1 EBADF (Bad file descriptor)
close(65534)                            = -1 EBADF (Bad file descriptor)
close(65535)                            = -1 EBADF (Bad file descriptor)
write(2, "Unable to start Dr. Konqi\n", 26) = 26
exit_group(255)                         = ?
+++ exited with 255 +++
...

Best regards --

        Torsten




-- System Information:
Debian Release: 8.2
  APT prefers stable
APT policy: (750, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages digikam depends on:
ii  digikam-data          4:4.4.0-1.1
ii  digikam-private-libs  4:4.4.0-1.1
ii  kde-runtime           4:4.14.2-2
ii  libc6                 2.19-18+deb8u1
ii  libgcc1               1:4.9.2-10
ii  libgphoto2-6          2.5.4-1.1+b2
ii  libgphoto2-port10     2.5.4-1.1+b2
ii  libkdcraw23           4:4.14.0-1
ii  libkdecore5           4:4.14.2-5
ii  libkdeui5             4:4.14.2-5
ii  libkexiv2-11          4:4.14.2-1
ii  libkhtml5             4:4.14.2-5
ii  libkio5               4:4.14.2-5
ii  libkipi11             4:4.13.3-1
ii  libknotifyconfig4     4:4.14.2-5
ii  libkparts4            4:4.14.2-5
ii  libopencv-core2.4     2.4.9.1+dfsg-1+deb8u1
ii  libopencv-imgproc2.4  2.4.9.1+dfsg-1+deb8u1
ii  libphonon4            4:4.8.0-4
ii  libqt4-dbus           4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-sql            4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-sql-sqlite     4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-xml            4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtcore4            4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtgui4             4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libsolid4             4:4.14.2-5
ii  libstdc++6            4.9.2-10
ii  libthreadweaver4      4:4.14.2-5
ii  perl                  5.20.2-3+deb8u1
ii  phonon                4:4.8.0-4

Versions of packages digikam recommends:
ii  chromium [www-browser]   46.0.2490.71-1~deb8u1
ii  ffmpegthumbs             4:4.14.1-1
ii  iceweasel [www-browser]  38.3.0esr-1~deb8u1
ii  kipi-plugins             4:4.4.0-1.1
ii  konqueror [www-browser]  4:4.14.2-1
ii  w3m [www-browser]        0.5.3-19

Versions of packages digikam suggests:
pn  digikam-doc     <none>
ii  systemsettings  4:4.11.13-2

-- no debconf information

_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to