Bug 361111

Summary: digikam doesn't start
Product: [Applications] digikam Reporter: nkoeb
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, myriam, romain.perier
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:

Description nkoeb 2016-03-28 18:07:07 UTC
Application: digikam (4.6.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-35-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I was starting the application digikam.

- Unusual behavior I noticed:
KNotify provocates a lot of error in the last weeks.

- Custom settings of the application:
the opensuse 13.2 was installed over an existing version of 12.1 6 months ago.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0dae520880 (LWP 13829))]

Thread 5 (Thread 0x7f0d8ebd3700 (LWP 13830)):
#0  0x00007f0da6fb8f7d in recvmsg () at /lib64/libc.so.6
#1  0x00007f0da4cf4839 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007f0d8f7242eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007f0da4f060a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f0da6fb800d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f0d88289700 (LWP 13831)):
#0  0x00007f0da4f0a03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0da7a98c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000005e44ae in  ()
#3  0x00007f0da7a9879f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f0da4f060a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f0da6fb800d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f0d87a88700 (LWP 13832)):
#0  0x00007f0da6fafbdd in poll () at /lib64/libc.so.6
#1  0x00007f0d9eeefbe4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f0d9eeefcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f0da7bc70de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f0da7b98e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f0da7b99165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f0da7a960bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f0da7b7a783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f0da7a9879f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f0da4f060a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f0da6fb800d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f0d87287700 (LWP 13835)):
#0  0x00007f0da4f0a03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0da7a98c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f0dac2963fa in  () at /usr/lib64/libdigikamcore.so.4.6.0
#3  0x00007f0da7a9879f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f0da4f060a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f0da6fb800d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0dae520880 (LWP 13829)):
[KCrash Handler]
#5  0x00007f0da6ff6f66 in __strcmp_ssse3 () at /lib64/libc.so.6
#6  0x00007f0d702d1fee in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f0d707d1f57 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f0dae3928ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f0dae3929d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f0dae396b08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f0dae3927a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f0dae3962fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007f0d9d91702b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007f0dae3927a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007f0d9d9175dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007f0d9d9170c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007f0d84dd459f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007f0d84dbdd5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007f0d84dbe057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007f0d84dbe2c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007f0d84dbe534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007f0d84dbea87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007f0d84d5649d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007f0d84b27623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007f0d8508dec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007f0d85073728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007f0d850741eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007f0da7b7e641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007f0d855bff8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007f0d855c0773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007f0dadcadc76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007f0dadcae317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007f0dadcae8e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007f0dadca69b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007f0dadca4896 in  () at /usr/lib64/libphonon.so.4
#36 0x00007f0dadcd44b0 in  () at /usr/lib64/libphonon.so.4
#37 0x00007f0dadcd46c3 in Phonon::VideoPlayer::mediaObject() const () at /usr/lib64/libphonon.so.4
#38 0x0000000000686f50 in  ()
#39 0x0000000000679250 in  ()
#40 0x0000000000680a93 in  ()
#41 0x000000000057e16a in  ()
#42 0x0000000000598d28 in  ()
#43 0x00000000004a0f2a in  ()
#44 0x00007f0da6ef4b05 in __libc_start_main () at /lib64/libc.so.6
#45 0x00000000004a3b4f in _start ()

Reported using DrKonqi
Comment 1 nkoeb 2016-03-30 13:16:08 UTC
With de-installing "phonon_backend/phonon_vlc.so" library the crash will be solved (as mentioned in some bug-reports).

Kind regards
Comment 2 Christoph Feck 2016-03-31 23:28:17 UTC

*** This bug has been marked as a duplicate of bug 347917 ***
Comment 3 caulier.gilles 2017-01-06 18:09:01 UTC
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb
and play video/audio. The Slideshow tool will also support video as well.

QtAV use ffmpeg codecs. It's multi-platform and will always available in
OSX, Windows and Linux bundles that digiKam team provide.

For Linux packagers, you will need to turn on video support at compilation time
and solve QtAV dependencies...

See screenshots here :

https://www.flickr.com/photos/digikam/30886133553
https://www.flickr.com/photos/digikam/31679362466
https://www.flickr.com/photos/digikam/31572654722
https://www.flickr.com/photos/digikam/31726086736

Bundles have been recompiled are posted to GDrive for testing :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM