Bug 361298 - digikam crashes on start
Summary: digikam crashes on start
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-02 01:01 UTC by brad
Modified: 2017-01-06 22:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brad 2016-04-02 01:01:28 UTC
Application: digikam (4.14.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:
Any time I try to start digikam by clicking on the icon in the menu, it crashes. I've been using digikam for years, this just started happening, but unfortunately I don't remember if any system changes happened around the same time, because I don't use digikam daily.

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 0x7f41f995d880 (LWP 30255))]

Thread 6 (Thread 0x7f41da541700 (LWP 30256)):
#0  0x00007f41f25c0f7d in recvmsg () at /lib64/libc.so.6
#1  0x00007f41f02fc839 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007f41db0d12eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007f41ee2e9754 in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007f41f050e0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f41f25c000d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f41d3cff700 (LWP 30257)):
#0  0x00007f41f051203f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f41f3114c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000005e3fee in Digikam::ScanController::run() (this=0x1a568b0) at /usr/src/debug/digikam-4.14.0/core/app/database/scancontroller.cpp:725
#3  0x00007f41f311479f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f41ee2e9754 in  () at /usr/X11R6/lib64/libGL.so.1
#5  0x00007f41f050e0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f41f25c000d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f41d34fe700 (LWP 30258)):
#0  0x00007f41f25b3cad in read () at /lib64/libc.so.6
#1  0x00007f41ee2e873c in  () at /usr/X11R6/lib64/libGL.so.1
#2  0x00007f41e6d9bbf7 in  () at /usr/lib64/tls/libnvidia-tls.so.304.131
#3  0x00007f41ea96f750 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f41ea92e714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f41ea92eb7b in  () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f41ea92ecec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#7  0x00007f41f32430de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007f41f3214e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007f41f3215165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#10 0x00007f41f31120bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#11 0x00007f41f31f6783 in  () at /usr/lib64/libQtCore.so.4
#12 0x00007f41f311479f in  () at /usr/lib64/libQtCore.so.4
#13 0x00007f41ee2e9754 in  () at /usr/X11R6/lib64/libGL.so.1
#14 0x00007f41f050e0a4 in start_thread () at /lib64/libpthread.so.0
#15 0x00007f41f25c000d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f41d2cfd700 (LWP 30260)):
#0  0x00007f41f051203f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f41f3114c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f41f76cc16a in Digikam::ParkingThread::run() (this=0x1d8c070) at /usr/src/debug/digikam-4.14.0/core/libs/threads/threadmanager.cpp:119
#3  0x00007f41f311479f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f41ee2e9754 in  () at /usr/X11R6/lib64/libGL.so.1
#5  0x00007f41f050e0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f41f25c000d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f41d1287700 (LWP 30261)):
#0  0x00007f41ea970904 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f41ea92e280 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f41ea92eb03 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f41ea92ecec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f41f32430de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f41f3214e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f41f3215165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007f41f31120bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#8  0x00007f41f31f6783 in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f41f311479f in  () at /usr/lib64/libQtCore.so.4
#10 0x00007f41ee2e9754 in  () at /usr/X11R6/lib64/libGL.so.1
#11 0x00007f41f050e0a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f41f25c000d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f41f995d880 (LWP 30255)):
[KCrash Handler]
#5  0x00007f41f25fef66 in __strcmp_ssse3 () at /lib64/libc.so.6
#6  0x00007f41c0309fee 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  0x00007f41c0809f57 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f41f97cb8ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f41f97cb9d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f41f97cfb08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f41f97cb7a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f41f97cf2fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007f41ee76502b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007f41f97cb7a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007f41ee7655dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007f41ee7650c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007f41c339e59f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007f41c3387d5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007f41c3388057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007f41c33882c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007f41c3388534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007f41c3388a87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007f41c332049d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007f41c30f1623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007f41c3622ec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007f41c3608728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007f41c36091eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007f41f31fa641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007f41c3b58f8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007f41c3b59773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007f41f90e6c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007f41f90e7317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007f41f90e78e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007f41f90df9b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007f41f90dd896 in  () at /usr/lib64/libphonon.so.4
#36 0x00007f41f910d4b0 in  () at /usr/lib64/libphonon.so.4
#37 0x00007f41f910d6c3 in Phonon::VideoPlayer::mediaObject() const () at /usr/lib64/libphonon.so.4
#38 0x0000000000689450 in Digikam::MediaPlayerView::MediaPlayerView(QWidget*) (this=0x1c00d90, parent=<optimized out>) at /usr/src/debug/digikam-4.14.0/core/app/views/mediaplayerview.cpp:168
#39 0x000000000067b260 in Digikam::StackedView::StackedView(QWidget*) (this=0x1b78f00, parent=<optimized out>) at /usr/src/debug/digikam-4.14.0/core/app/views/stackedview.cpp:122
#40 0x0000000000682c73 in Digikam::DigikamView::DigikamView(QWidget*, Digikam::DigikamModelCollection*) (this=0x1e03620, parent=0x1a12e70, modelCollection=0x1e2bd50) at /usr/src/debug/digikam-4.14.0/core/app/views/digikamview.cpp:271
#41 0x000000000057dd8a in Digikam::DigikamApp::setupView() (this=this@entry=0x1a12e70) at /usr/src/debug/digikam-4.14.0/core/app/main/digikamapp.cpp:555
#42 0x00000000005987e3 in Digikam::DigikamApp::DigikamApp() (this=0x1a12e70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/digikam-4.14.0/core/app/main/digikamapp.cpp:269
#43 0x00000000004a0d8f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-4.14.0/core/app/main/main.cpp:190

Reported using DrKonqi
Comment 1 Christoph Feck 2016-04-03 02:08:48 UTC

*** This bug has been marked as a duplicate of bug 347917 ***
Comment 2 caulier.gilles 2017-01-06 22:18: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