Bug 342607 - digikam crash at startup with GStream : QtMultimedia relevant
Summary: digikam crash at startup with GStream : QtMultimedia relevant
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL: https://aur.archlinux.org/packages/di...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 06:27 UTC by Lane Wiscombe
Modified: 2017-07-27 10:38 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lane Wiscombe 2015-01-08 06:27:51 UTC
digikam wont load past splash screen


[anex@manjaro ~]$ digikam
QCommandLineParser: option not defined: "database-directory"
digikam.general: Successfully opened connection to inotify: 19
digikam.general: DatabaseParameters: [ Type "QSQLITE", Name "/home/anex/Pictures/digikam4.db" (Thumbnails Name "/home/anex/Pictures/thumbnails-digikam.db"); ] 
digikam.general: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.general: false "2" 2 2
digikam.general: SchemaUpdater update
digikam.general: Have a database structure version  7
digikam.general: makeUpdates  7  to  7
digikam.general: Creating new Location  "/anex/Pictures"  uuid  "volumeid:?uuid=3e245748-f8f2-4c3d-a970-d3f1376fc7d6"
digikam.general: location for  "/home/anex/Pictures"  is available  true
digikam.general: Platform identified :  "LINUX"
digikam.general: TotalRam:  12559826944
digikam.general: Allowing a cache size of 200 MB
digikam.general: Have a thumbnail database structure version  "2"
digikam.general: Thumbnail db ready for use
digikam.general: Complete scan (file scanning deferred) took: 2 msecs.
digikam.general: ("/usr/share/color/icc")
QMetaType::registerTypedef: -- Type name 'DatabaseErrorAnswer*' previously registered as typedef of 'Digikam::DatabaseErrorAnswer*' [1150], now registering as typedef of 'KFaceIface::DatabaseErrorAnswer*' [1168].
libkface: Have a database structure version  "2"

(digikam:20435): GLib-GObject-WARNING **: cannot register existing type 'GstObject'

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

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

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

(digikam:20435): GStreamer-CRITICAL **: gst_element_class_set_details_simple: assertion 'GST_IS_ELEMENT_CLASS (klass)' failed

(digikam:20435): GStreamer-WARNING **: static caps 0x7f85a178d650 string is NULL

(digikam:20435): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed

(digikam:20435): GStreamer-WARNING **: static caps 0x7f85a178d5d0 string is NULL

(digikam:20435): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed

(digikam:20435): GStreamer-WARNING **: static caps 0x7f85a178d650 string is NULL

(digikam:20435): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
^C
[anex@manjaro ~]$ 


Reproducible: Always

Steps to Reproduce:
1.start digikam from kde plasma 5 menu
2.
3.

Actual Results:  
main window wont load past splash screen

Expected Results:  
normal start
Comment 1 caulier.gilles 2015-01-08 06:35:49 UTC
GStreamer problem, used in background by Phonon widget to play video in digiKam.

Gilles Caulier
Comment 2 caulier.gilles 2015-01-08 06:38:48 UTC
Wait a minute. Which digiKam version you use exactly.

With this debug statement : 

QCommandLineParser: option not defined: "database-directory"

==> this is digiKam 5.0.0 for plasma desktop. With this version, Phonon support have be removed to use QtMultimedia instead.

Gilles Caulier
Comment 3 caulier.gilles 2015-01-08 06:40:16 UTC
It's clear : https://aur.archlinux.org/packages/digikam-frameworks-git/

==> 5.0.0 version is used here...

Gilles Caulier
Comment 4 Lane Wiscombe 2015-01-08 06:43:16 UTC
https://forum.manjaro.org/index.php?topic=18150.0
http://sourceforge.net/projects/arch-repos/files/kde5-apps/x86_64/

version: digikam-frameworks-git-v4.6.0.473.g465edbe-1-x86_64.pkg.tar.xz
Comment 5 Lane Wiscombe 2015-01-08 06:43:37 UTC
suggested solution?
Comment 6 caulier.gilles 2015-01-08 06:50:11 UTC
It's a problem with new GStreamer version uncompatible with QTMultimedia component.

Here, under Mageia 5-beta1, Plasma 5 desktop and Qt 5.4.0, digiKam start.

I supose that older GStreamer version is used :

- qt5-gstreamer-devel : 0.10.3
- lib64qt5-gstreamer-devel : 0.10.3
- lib64gstreamer1.0-devel : 1.4.3

See also this DOWNSTREAM bugzilla file from RedHat :

https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1149885

I suspect problem is located into QtMultimedia and must be fixed by Qt team...

Gilles Caulier
Comment 7 if6was9 2015-01-08 13:33:50 UTC
Same as mentioned:
https://forum.manjaro.org/index.php?topic=18150.msg176185#msg176185

Best regards.
Comment 8 Alin M Elena 2015-01-09 18:36:11 UTC
a note for digikam... now there is an ENABLE_VIDEO for cmake that can be used to disable the usage of qtmultimedia.

Alin
Comment 9 caulier.gilles 2015-01-14 14:55:52 UTC
Christoph,

How to be sure that Qt team will seen this report ?

Gilles Caulier
Comment 11 caulier.gilles 2017-07-14 08:35:17 UTC
Since digiKam 5.2.0, we replace QtMultimedia support by QtAV/ffmpeg framework to handle video. This problem will not reproducible...