Bug 333737 - Digikam crashes during startup (before any window shows up)
Summary: Digikam crashes during startup (before any window shows up)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 19:07 UTC by Micha
Modified: 2017-01-06 22:12 UTC (History)
6 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 Micha 2014-04-22 19:07:53 UTC
I've upgraded from Ubuntu 13.10 to 14.04 (Trusty).  This version comes with DigiKam 3.5.0, and Digikam fails to start up.  The issue is apparently related somehow to the Phonon library:

Thread 1 (Thread 0x7f3be7853840 (LWP 10682)):
[KCrash Handler]
#6  0x00007f3bad726a0e in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstautodetect.so
#7  0x00007f3bd0a3fc72 in gst_element_change_state () from /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
#8  0x00007f3bd0a402e3 in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
#9  0x00007f3bae3efb68 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#10 0x00007f3bae3f0fad in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#11 0x00007f3bae3f1228 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#12 0x00007f3bae3f1c42 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#13 0x00007f3bae3f2ed9 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#14 0x00007f3bae3ec9b4 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#15 0x00007f3bae3ecd4b in qt_plugin_instance () from /usr/lib/x86_64-linux-gnu/qt4/plugins/phonon_backend/phonon_gstreamer.so
#16 0x00007f3be21586e1 in QPluginLoader::instance (this=0x7fff7d974310) at plugin/qpluginloader.cpp:204
#17 0x00007f3bae91f93b in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#18 0x00007f3bae920123 in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#19 0x00007f3be6fea9be in ?? () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#20 0x00007f3be6febde8 in Phonon::Factory::backend(bool) () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#21 0x00007f3be6fec373 in ?? () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#22 0x00007f3be6fe0419 in ?? () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#23 0x00007f3be6fdde56 in ?? () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#24 0x00007f3be7016ba0 in ?? () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#25 0x00007f3be7016dc3 in Phonon::VideoPlayer::mediaObject() const () from /usr/lib/x86_64-linux-gnu/libphonon.so.4
#26 0x0000000000665fc0 in Digikam::MediaPlayerView::MediaPlayerView (this=0x32f6da0, parent=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/views/mediaplayerview.cpp:169
#27 0x0000000000659410 in Digikam::StackedView::StackedView (this=0x3057f20, parent=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/views/stackedview.cpp:115
#28 0x000000000065fcca in Digikam::DigikamView::DigikamView (this=0x2c745c0, parent=0x29c16f0, modelCollection=0x3055290) at /build/buildd/digikam-3.5.0/core/digikam/views/digikamview.cpp:252
#29 0x000000000057f22a in Digikam::DigikamApp::setupView (this=this@entry=0x29c16f0) at /build/buildd/digikam-3.5.0/core/digikam/main/digikamapp.cpp:526
#30 0x000000000059836b in Digikam::DigikamApp::DigikamApp (this=0x29c16f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/digikamapp.cpp:259
#31 0x0000000000491cfa in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:189


Reproducible: Always
Comment 1 Jekyll Wu 2014-04-30 08:10:12 UTC
Try using phonon-vlc backend instead.
Comment 2 Myriam Schweingruber 2014-08-10 12:53:37 UTC
Please install debugging symbols for Phonon, phonon-backend-gstreamer and gstreamer, and make sure you use the gstreamer 1.x libraries and plugins

we then need a better backtrace.
Comment 3 Micha 2014-08-12 20:26:56 UTC
OK, there you go:

Thread 1 (Thread 0x7f674c743840 (LWP 12016)):
[KCrash Handler]
#6  0x00007f6713353a0e in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstautodetect.so
#7  0x00007f6735161c72 in gst_element_change_state () from /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
#8  0x00007f67351622e3 in ?? () from /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
#9  0x00007f672002eb68 in Phonon::Gstreamer::DeviceManager::canOpenDevice (this=<optimized out>, element=0x2c68030) at ../../gstreamer/devicemanager.cpp:238
#10 0x00007f672002ffad in Phonon::Gstreamer::DeviceManager::createAudioSink (this=this@entry=0x2c5f120, category=category@entry=Phonon::NoCategory) at ../../gstreamer/devicemanager.cpp:295
#11 0x00007f6720030228 in Phonon::Gstreamer::DeviceManager::createAudioSink (this=this@entry=0x2c5f120, category=category@entry=Phonon::NoCategory) at ../../gstreamer/devicemanager.cpp:329
#12 0x00007f6720030c42 in Phonon::Gstreamer::DeviceManager::updateDeviceList (this=this@entry=0x2c5f120) at ../../gstreamer/devicemanager.cpp:453
#13 0x00007f6720031ed9 in Phonon::Gstreamer::DeviceManager::DeviceManager (this=0x2c5f120, backend=<optimized out>) at ../../gstreamer/devicemanager.cpp:197
#14 0x00007f672002b9b4 in Phonon::Gstreamer::Backend::Backend (this=0x2a8bb00, parent=<optimized out>) at ../../gstreamer/backend.cpp:123
#15 0x00007f672002bd4b in qt_plugin_instance () at ../../gstreamer/backend.cpp:53
#16 0x00007f67467086e1 in QPluginLoader::instance (this=0x7fffdb387f00) at plugin/qpluginloader.cpp:204
#17 0x00007f67205a493b in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#18 0x00007f67205a5123 in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#19 0x00007f674bede9be in Phonon::FactoryPrivate::createBackend (this=0x2a253a0) at ../../phonon/factory.cpp:248
#20 0x00007f674bedfde8 in Phonon::Factory::backend (createWhenNull=112, createWhenNull@entry=true) at ../../phonon/factory.cpp:571
#21 0x00007f674bee0373 in Phonon::Factory::createAudioOutput (parent=0x2a94dc0) at ../../phonon/factory.cpp:466
#22 0x00007f674bed4419 in Phonon::AudioOutputPrivate::createBackendObject (this=0x2928a90) at ../../phonon/audiooutput.cpp:130
#23 0x00007f674bed1e56 in Phonon::AudioOutputPrivate::init (this=0x2928a90, c=Phonon::VideoCategory) at ../../phonon/audiooutput.cpp:97
#24 0x00007f674bf0aba0 in Phonon::VideoPlayerPrivate::ensureCreated (this=0x2a23a90) at ../../phonon/videoplayer.cpp:65
#25 0x00007f674bf0adc3 in ensureCreated (this=<optimized out>) at ../../phonon/videoplayer.cpp:60
#26 Phonon::VideoPlayer::mediaObject (this=0x2a1eb70) at ../../phonon/videoplayer.cpp:100
#27 0x00000000006870c8 in ?? ()
#28 0x0000000000679a40 in ?? ()
#29 0x000000000068067a in ?? ()
#30 0x000000000058beea in ?? ()
#31 0x00000000005a5465 in ?? ()
#32 0x0000000000494caa in ?? ()
#33 0x00007f6745767ec5 in __libc_start_main (main=0x493d80, argc=5, argv=0x7fffdb388e28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffdb388e18) at libc-start.c:287
#34 0x000000000049761f in _start ()
Comment 4 Myriam Schweingruber 2014-08-12 23:01:18 UTC
Could you please give me the output of

apt-cache policy phonon-backend-gstreamer
Comment 5 Micha 2014-08-13 15:33:14 UTC
phonon-backend-gstreamer:
  Installed: 4:4.7.1+git20140403-0ubuntu1
  Candidate: 4:4.7.1+git20140403-0ubuntu1
  Version table:
 *** 4:4.7.1+git20140403-0ubuntu1 0
Comment 6 caulier.gilles 2017-01-06 22:12:19 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