Bug 344698 - Digikam Crash when start
Summary: Digikam Crash when start
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: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-01 10:08 UTC by Miras1990
Modified: 2017-01-06 22:02 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 Miras1990 2015-03-01 10:08:33 UTC
Application: digikam (4.9.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-ext73-34.0-i7-pro x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Konsole log:

Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 

(digikam:18211): GLib-GObject-WARNING **: specified class size for type 'GstBaseAudioSink' is smaller than the parent type's 'GstBaseSink' class size

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(digikam:18211): GLib-GObject-WARNING **: specified class size for type 'GstCapsFilter' is smaller than the parent type's 'GstBaseTransform' class size

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(digikam:18211): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(digikam:18211): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(digikam:18211): GLib-GObject-WARNING **: specified class size for type 'GstBaseAudioSrc' is smaller than the parent type's 'GstPushSrc' class size

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(digikam:18211): GLib-GObject-WARNING **: specified class size for type 'GstOss4Sink' is smaller than the parent type's 'GstAudioSink' class size

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(digikam:18211): GLib-GObject-WARNING **: specified class size for type 'GstOssSrc' is smaller than the parent type's 'GstAudioSrc' class size

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(digikam:18211): GLib-GObject-WARNING **: specified class size for type 'GstOpenALSink' is smaller than the parent type's 'GstAudioSink' class size

(digikam:18211): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(digikam:18211): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/miras/.kde/socket-ubuntu-probook/kdeinit4__0

[1]+  Stopped                 digikam

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fec45d9eac0 (LWP 18004))]

Thread 6 (Thread 0x7fec226f3700 (LWP 18005)):
#0  0x00007fec3ec9c4ad in recvmsg () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fec3d109c01 in udev_monitor_receive_device () from /lib/x86_64-linux-gnu/libudev.so.1
#2  0x00007fec2806f2cb in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00007fec3be1a182 in start_thread (arg=0x7fec226f3700) at pthread_create.c:312
#4  0x00007fec3ec9b47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fec1aba2700 (LWP 18007)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fec4066e816 in wait (time=18446744073709551615, this=0xf56840) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf56748, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005fb0e7 in Digikam::ScanController::run (this=0xf564c0) at /home/miras/Pobrane/build/dk/core/app/database/scancontroller.cpp:725
#4  0x00007fec4066e32f in QThreadPrivate::start (arg=0xf564c0) at thread/qthread_unix.cpp:349
#5  0x00007fec3be1a182 in start_thread (arg=0x7fec1aba2700) at pthread_create.c:312
#6  0x00007fec3ec9b47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fec1a3a1700 (LWP 18008)):
#0  0x00007fec3878f61a in g_mutex_get_impl (mutex=0x7fec0c0009a0) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:120
#1  0x00007fec3878f979 in g_mutex_lock (mutex=mutex@entry=0x7fec0c0009a0) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:209
#2  0x00007fec3874dbc6 in g_main_context_dispatch (context=context@entry=0x7fec0c0009a0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3659
#3  0x00007fec3874e048 in g_main_context_iterate (context=context@entry=0x7fec0c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#4  0x00007fec3874e0ec in g_main_context_iteration (context=0x7fec0c0009a0, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#5  0x00007fec4079d7be in QEventDispatcherGlib::processEvents (this=0x7fec0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fec4076f0af in QEventLoop::processEvents (this=this@entry=0x7fec1a3a0ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fec4076f3a5 in QEventLoop::exec (this=this@entry=0x7fec1a3a0ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fec4066bc5f in QThread::exec (this=this@entry=0xf57ca0) at thread/qthread.cpp:537
#9  0x00007fec40750823 in QInotifyFileSystemWatcherEngine::run (this=0xf57ca0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fec4066e32f in QThreadPrivate::start (arg=0xf57ca0) at thread/qthread_unix.cpp:349
#11 0x00007fec3be1a182 in start_thread (arg=0x7fec1a3a1700) at pthread_create.c:312
#12 0x00007fec3ec9b47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fec19ba0700 (LWP 18010)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fec4066e816 in wait (time=18446744073709551615, this=0x1217f50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1239dc8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fec43a917fb in Digikam::ParkingThread::run (this=0x1239db0) at /home/miras/Pobrane/build/dk/core/libs/threads/threadmanager.cpp:119
#4  0x00007fec4066e32f in QThreadPrivate::start (arg=0x1239db0) at thread/qthread_unix.cpp:349
#5  0x00007fec3be1a182 in start_thread (arg=0x7fec19ba0700) at pthread_create.c:312
#6  0x00007fec3ec9b47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fec188e6700 (LWP 18011)):
#0  0x00007fec3ec8e12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fec3874dfe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fec04003280, timeout=-1, context=0x7fec040009a0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7fec040009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3729
#3  0x00007fec3874e0ec in g_main_context_iteration (context=0x7fec040009a0, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#4  0x00007fec4079d7be in QEventDispatcherGlib::processEvents (this=0x7fec040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fec4076f0af in QEventLoop::processEvents (this=this@entry=0x7fec188e5ae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fec4076f3a5 in QEventLoop::exec (this=this@entry=0x7fec188e5ae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fec4066bc5f in QThread::exec (this=this@entry=0x1609310) at thread/qthread.cpp:537
#8  0x00007fec40750823 in QInotifyFileSystemWatcherEngine::run (this=0x1609310) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fec4066e32f in QThreadPrivate::start (arg=0x1609310) at thread/qthread_unix.cpp:349
#10 0x00007fec3be1a182 in start_thread (arg=0x7fec188e6700) at pthread_create.c:312
#11 0x00007fec3ec9b47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fec45d9eac0 (LWP 18004)):
[KCrash Handler]
#6  gst_auto_audio_sink_find_best (sink=0x1af6020) at gstautoaudiosink.c:319
#7  gst_auto_audio_sink_detect (sink=0x1af6020) at gstautoaudiosink.c:342
#8  gst_auto_audio_sink_change_state (element=0x1af6020, transition=GST_STATE_CHANGE_NULL_TO_READY) at gstautoaudiosink.c:390
#9  0x00007fec2fda4c72 in gst_element_change_state (element=element@entry=0x1af6020, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2761
#10 0x00007fec2fda52e3 in gst_element_set_state_func (element=0x1af6020, state=GST_STATE_READY) at gstelement.c:2717
#11 0x00007fec0abc2d18 in Phonon::Gstreamer::DeviceManager::canOpenDevice (this=<optimized out>, element=0x1af6020) at ../../gstreamer/devicemanager.cpp:239
#12 0x00007fec0abc415d in Phonon::Gstreamer::DeviceManager::createAudioSink (this=this@entry=0x1ab62f0, category=category@entry=Phonon::NoCategory) at ../../gstreamer/devicemanager.cpp:296
#13 0x00007fec0abc43d8 in Phonon::Gstreamer::DeviceManager::createAudioSink (this=this@entry=0x1ab62f0, category=category@entry=Phonon::NoCategory) at ../../gstreamer/devicemanager.cpp:330
#14 0x00007fec0abc4e22 in Phonon::Gstreamer::DeviceManager::updateDeviceList (this=this@entry=0x1ab62f0) at ../../gstreamer/devicemanager.cpp:457
#15 0x00007fec0abc6059 in Phonon::Gstreamer::DeviceManager::DeviceManager (this=0x1ab62f0, backend=<optimized out>) at ../../gstreamer/devicemanager.cpp:197
#16 0x00007fec0abbfb9b in Phonon::Gstreamer::Backend::Backend (this=0x17da380, parent=<optimized out>) at ../../gstreamer/backend.cpp:123
#17 0x00007fec0abbff2b in qt_plugin_instance () at ../../gstreamer/backend.cpp:50
#18 0x00007fec407546e1 in QPluginLoader::instance (this=this@entry=0x7fffd7104260) at plugin/qpluginloader.cpp:204
#19 0x00007fec0b0f293b in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x17b5d00, newService=...) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:130
#20 0x00007fec0b0f3123 in Phonon::KdePlatformPlugin::createBackend (this=0x17b5d00) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:183
#21 0x00007fec4552fc9e in Phonon::FactoryPrivate::createBackend (this=0x1782e70) at ../../phonon/factory.cpp:248
#22 0x00007fec455310c8 in Phonon::Factory::backend (createWhenNull=112, createWhenNull@entry=true) at ../../phonon/factory.cpp:572
#23 0x00007fec45531733 in Phonon::Factory::createAudioOutput (parent=0x17b30a0) at ../../phonon/factory.cpp:466
#24 0x00007fec45525489 in Phonon::AudioOutputPrivate::createBackendObject (this=0x13700b0) at ../../phonon/audiooutput.cpp:130
#25 0x00007fec45522ec6 in Phonon::AudioOutputPrivate::init (this=0x13700b0, c=Phonon::VideoCategory) at ../../phonon/audiooutput.cpp:97
#26 0x00007fec4555bf10 in Phonon::VideoPlayerPrivate::ensureCreated (this=0x177fef0) at ../../phonon/videoplayer.cpp:65
#27 0x00007fec4555c133 in ensureCreated (this=<optimized out>) at ../../phonon/videoplayer.cpp:60
#28 Phonon::VideoPlayer::mediaObject (this=0x1780930) at ../../phonon/videoplayer.cpp:100
#29 0x00000000006abe80 in Digikam::MediaPlayerView::MediaPlayerView (this=0x177f6b0, parent=0x1456100) at /home/miras/Pobrane/build/dk/core/app/views/mediaplayerview.cpp:168
#30 0x000000000069ab86 in Digikam::StackedView::StackedView (this=0x1456100, parent=0x1460090) at /home/miras/Pobrane/build/dk/core/app/views/stackedview.cpp:122
#31 0x000000000069e3f7 in Digikam::DigikamView::DigikamView (this=0xfd9df0, parent=0xfec4a0, modelCollection=0x144c1b0) at /home/miras/Pobrane/build/dk/core/app/views/digikamview.cpp:271
#32 0x0000000000593869 in Digikam::DigikamApp::setupView (this=0xfec4a0) at /home/miras/Pobrane/build/dk/core/app/main/digikamapp.cpp:555
#33 0x000000000059240c in Digikam::DigikamApp::DigikamApp (this=0xfec4a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/miras/Pobrane/build/dk/core/app/main/digikamapp.cpp:269
#34 0x0000000000701fda in main (argc=5, argv=0x7fffd71050a8) at /home/miras/Pobrane/build/dk/core/app/main/main.cpp:190

The reporter indicates this bug may be a duplicate of or related to bug 321904.

Possible duplicates by query: bug 321904.

Reported using DrKonqi
Comment 1 caulier.gilles 2017-01-06 22:02:32 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