[Pkg-kde-extras] Bug#775558: [digikam] Segmentation fault on special matroska videofiles

2015-02-07 Thread Jens Stomber
Package: digikam
Version: 4:4.4.0-1.1

--- Please enter the report below this line. ---
Hi,

I found the time to investigate a little more:

Can't use digikam anymore because it crashes each time I try to start
it:
- Start digikam (from the console or from the KDE menu)
- Digikam appears, starts to build up the pictures, the hint window is
  even there.
- digikam crashes

Although it was working fine for years, digikam segfaults immediately on every 
startup when scanning for new files in itÅ› collection folder. I was able to 
isolate the files causing the crash and have attached the output of mediainfo 
for one of these files. They are all matroska videocontainers containing h264 
video and aac audio and were created with handbrake. These files have been 
working fine with digikam but when I had to rescan my collection lately the 
problems suddenly occured.

I have installed debugging symbols for some libraries and recompiled digikam 
with debugging symbols to backtrace the bug using gdb. Please find the 
backtrace log attached. From the debug log I get the impression that the bug 
relates to libexiv2-13 or libkexiv2-11.

Bug number #761473 seems to be a bugreport on a similar problem.


regards

Jens


--- System information. ---
Architecture: amd64
Kernel:   Linux 3.16.0-4-amd64

Debian Release: 8.0
  990 testing security.debian.org 
  990 testing ftp.de.debian.org 
  980 testing debian.ids-services.de 
  970 testing repo.kali.org 
  500 unstableftp.de.debian.org 
  490 unstabledebian.ids-services.de 
  480 unstableliquorix.net 
  400 unstabledeb.i2p2.no 
  300 testing snapshot.debian.org 
  200 experimentalftp.de.debian.org 
  190 experimentaldebian.ids-services.de 

--- Package information. ---
Depends  (Version) | Installed
==-+-==
digikam-private-libs (= 4:4.1.0-1) | 4:4.4.0-1.1
kde-runtime( 4:4.10) | 4:4.14.2-2
libc6(= 2.14) | 2.19-13
libgcc1   (= 1:4.1.1) | 1:4.9.1-19
libgphoto2-6(= 2.5.2) | 2.5.4-1.1+b2
libgphoto2-port10   (= 2.5.2) | 2.5.4-1.1+b2
libkdcraw23  (= 4:4.12.3) | 4:4.14.0-1
libkdecore5   (= 4:4.7.0) | 4:4.14.2-5
libkdeui5(= 4:4.10.0) | 4:4.14.2-5
libkexiv2-11 (= 4:4.10.2) | 4:4.14.2-1
libkhtml5 (= 4:4.3.4) | 4:4.14.2-5
libkio5   (= 4:4.7.0) | 4:4.14.2-5
libkipi11(= 4:4.11.1) | 4:4.13.3-1
libknotifyconfig4 (= 4:4.3.4) | 4:4.14.2-5
libkparts4   (= 4:4.5.85) | 4:4.14.2-5
libnepomukcore4  (= 4:4.10.0) | 4:4.14.0-1+b2
libopencv-core2.4  | 2.4.9.1+dfsg-1+b1
libopencv-imgproc2.4   | 2.4.9.1+dfsg-1+b1
libphonon4(= 4:4.2.0) | 4:4.8.0-4
libqt4-dbus   (= 4:4.5.3) | 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
libqt4-sql(= 4:4.5.3) | 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
libqt4-xml(= 4:4.5.3) | 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
libqtcore4(= 4:4.8.0) | 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
libqtgui4 (= 4:4.8.0) | 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
libsolid4 (= 4:4.3.4) | 4:4.14.2-5
libsoprano4 (= 2.1.1) | 2.9.4+dfsg-1.1
libstdc++6  (= 4.1.1) | 4.9.1-19
libthreadweaver4  (= 4:4.3.4) | 4:4.14.2-5
phonon | 4:4.8.0-4
perl   | 5.20.1-5
libqt4-sql-sqlite  | 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
digikam-data (= 4:4.1.0-1) | 4:4.4.0-1.1


Recommends (Version) | Installed
-+-===
www-browser  | 
kipi-plugins | 4:4.4.0-1.1
ffmpegthumbs | 
 OR mplayerthumbs| 4:4.14.0-1


Suggests(Version) | Installed
=-+-===
digikam-doc   | 
systemsettings| 4:4.11.13-2General
Count: 290
Count of stream of this kind : 1
Kind of stream   : General
Kind of stream   : General
Stream identifier: 0
Unique ID: 
301381941430356684209211371216431661198
Unique ID: 
301381941430356684209211371216431661198 (0xE2BC0CF224EF26D86D89D0DBAF4AC08E)
Count of video streams   : 1
Count of audio streams   : 1
Count of menu streams: 1
Video_Format_List: AVC
Video_Format_WithHint_List   : AVC
Codecs Video : AVC
Video_Language_List  : English
Audio_Format_List: AAC
Audio_Format_WithHint_List   : AAC
Audio codecs

[Pkg-kde-extras] Bug#775558: digikam crashes on startup with the following message: [digikam] Application: digiKam (digikam), signal: Segmentation fault

2015-01-17 Thread Jens Stomber
Package: digikam
Version: 4:4.4.0-1.1
Severity: normal

--- Please enter the report below this line. ---
digikam crashes on startup with the following debug trace:

Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
pthread_cond_timedwait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
[Current thread is 1 (Thread 0x7f2e39d75ac0 (LWP 20698))]

Thread 40 (Thread 0x7f2e11259700 (LWP 20699)):
#0  0x7f2e32c7118d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x7f2e17c44fd8 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x7f2e2eb530a4 in start_thread (arg=0x7f2e11259700) at 
pthread_create.c:309
#3  0x7f2e32c79ccd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 39 (Thread 0x7f2e0a935700 (LWP 20700)):
[KCrash Handler]
#6  0x7f2e2fadecf5 in Exiv2::MatroskaVideo::decodeBlock() () from 
/usr/lib/x86_64-linux-gnu/libexiv2.so.13
#7  0x7f2e2fadf1e5 in Exiv2::MatroskaVideo::readMetadata() () from 
/usr/lib/x86_64-linux-gnu/libexiv2.so.13
#8  0x7f2e379cfd6d in KExiv2Iface::KExiv2::load(QString const) const () 
from 
/usr/lib/libkexiv2.so.11
#9  0x7f2e372bbc46 in Digikam::DMetadata::load(QString const) const () 
from 
/usr/lib/digikam/libdigikamcore.so.4.4.0
#10 0x7f2e36cd69e7 in Digikam::ImageScanner::loadFromDisk() () from 
/usr/lib/digikam/libdigikamdatabase.so.4.4.0
#11 0x7f2e36cd6ba9 in Digikam::ImageScanner::fileModified() () from 
/usr/lib/digikam/libdigikamdatabase.so.4.4.0
#12 0x7f2e36c687d6 in 
Digikam::CollectionScanner::scanModifiedFile(QFileInfo 
const, Digikam::ItemScanInfo const) () from 
/usr/lib/digikam/libdigikamdatabase.so.4.4.0
#13 0x7f2e36c68d4f in Digikam::CollectionScanner::scanFileNormal(QFileInfo 
const, Digikam::ItemScanInfo const) () from 
/usr/lib/digikam/libdigikamdatabase.so.4.4.0
#14 0x7f2e36c6b6c2 in 
Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const, 
QString 
const) () from /usr/lib/digikam/libdigikamdatabase.so.4.4.0
#15 0x7f2e36c6b8df in 
Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const, 
QString 
const) () from /usr/lib/digikam/libdigikamdatabase.so.4.4.0
#16 0x7f2e36c6b8df in 
Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const, 
QString 
const) () from /usr/lib/digikam/libdigikamdatabase.so.4.4.0
#17 0x7f2e36c6c273 in 
Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const) 
() 
from /usr/lib/digikam/libdigikamdatabase.so.4.4.0
#18 0x7f2e36c6dacd in Digikam::CollectionScanner::completeScan() () from 
/usr/lib/digikam/libdigikamdatabase.so.4.4.0
#19 0x0060a870 in ?? ()
#20 0x7f2e33a583ef in QThreadPrivate::start (arg=0x20bf840) at 
thread/qthread_unix.cpp:349
#21 0x7f2e2eb530a4 in start_thread (arg=0x7f2e0a935700) at 
pthread_create.c:309
#22 0x7f2e32c79ccd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 38 (Thread 0x7f2e0a134700 (LWP 20701)):
#0  0x7fff82bfcbd8 in clock_gettime ()
#1  0x7f2e32c8691d in __GI___clock_gettime (clock_id=optimized out, 
tp=optimized out) at ../sysdeps/unix/clock_gettime.c:115
#2  0x7f2e33aaf515 in do_gettime (frac=synthetic pointer, sec=synthetic 
pointer) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x7f2e33b92355 in updateCurrentTime (this=0x7f2dfc002ed0) at 
kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f2dfc002ed0, tm=...) at 
kernel/qeventdispatcher_unix.cpp:460
#6  0x7f2e33b90c3c in timerSourcePrepareHelper (src=optimized out, 
timeout=0x7f2e0a1338f4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x7f2e33b90d05 in timerSourcePrepare (source=optimized out, 
timeout=optimized out) at kernel/qeventdispatcher_glib.cpp:169
#8  0x7f2e2b16e45d in g_main_context_prepare () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#9  0x7f2e2b16ee0b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x7f2e2b16effc in g_main_context_iteration () from /lib/x86_64-linux-
gnu/libglib-2.0.so.0
#11 0x7f2e33b91507 in QEventDispatcherGlib::processEvents 
(this=0x7f2dfc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x7f2e33b60ae1 in QEventLoop::processEvents 
(this=this@entry=0x7f2e0a133ac0, flags=...) at kernel/qeventloop.cpp:149
#13 0x7f2e33b60e45 in QEventLoop::exec (this=this@entry=0x7f2e0a133ac0, 
flags=...) at kernel/qeventloop.cpp:204
#14 0x7f2e33a55b89 in QThread::exec (this=this@entry=0x217d070) at 
thread/qthread.cpp:538
#15 0x7f2e33b41483 in QInotifyFileSystemWatcherEngine::run (this=0x217d070) 
at io/qfilesystemwatcher_inotify.cpp:265
#16 0x7f2e33a583ef in QThreadPrivate::start (arg=0x217d070) at 
thread/qthread_unix.cpp:349
#17 0x7f2e2eb530a4 in start_thread (arg=0x7f2e0a134700) at 
pthread_create.c:309
#18 0x7f2e32c79ccd in clone () at