Bug 339027 - Digikam crashes directly after starting (segmentation fault)
Summary: Digikam crashes directly after starting (segmentation fault)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 4.2.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-12 09:34 UTC by kde
Modified: 2016-12-24 09:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments
Bash log (4.81 KB, text/plain)
2014-09-12 09:34 UTC, kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2014-09-12 09:34:16 UTC
Created attachment 88675 [details]
Bash log

Qt: 4.8.6
KDE Development Platform: 4.14.0
digiKam: 4.2.0
system: 3.16.2-1-ARCH x86_64 with gnome-session 3.12.1

Application crashes directly after starting it. The loading screen pops up for half a second, then the KDE Crash Handler shows up.
There is no Developer Information in the Crash Handler, only this line in Details:

"Executable: digikam PID: 10526 Signal: Segmentation fault (11) Time: 12.09.2014 11:31:57"

For Bash-log see Attachements.
Comment 1 kde 2014-09-12 09:42:59 UTC
Installing phonon-qt5-vlc from the arch repository fixed the problem.
https://www.archlinux.org/packages/extra/x86_64/phonon-qt5-vlc/

phonon-qt5 was already installed.
Comment 2 Alphazo 2014-09-15 08:42:33 UTC
I'm also getting a seg fault when opening Digikam but installing phonon-qt5 and phonon-qt5-vlc doesn't fix the problem.

 digikam --database-directory /run/media/alpha/PHOTOS-DISK/PHOTOS/Digikam/
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(digikam:4837): 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
sock_file=/home/alpha/.kde4/socket-fatfly/kdeinit4__0
[1]  + 4837 suspended (signal)  digikam --database-directory /run/media/alpha/PHOTOS-DISK/PHOTOS/Digikam/
~ ยป QSocketNotifier: Invalid socket 22 and type 'Read', disabling...

[1]  + 4837 exit 253   digikam --database-directory /run/media/alpha/PHOTOS-DISK/PHOTOS/Digikam/
Comment 3 caulier.gilles 2014-09-15 09:22:54 UTC
*** Bug 339092 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2016-12-24 09:50:02 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