Bug 365691

Summary: Digikam freezes when using «tool» «slideshow»«presentation» and trying to add an image
Product: [Applications] digikam Reporter: philippe.quaglia
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin, philip.johnsson
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:
Attachments: attachment-7318-0.html

Description philippe.quaglia 2016-07-14 18:29:35 UTC
Using the  «tool» «slideshow»«presentation», we get a new window to select the images. If we press on the «+» button to add an image, Digikam completely freeze. 

Reproducible: Always

Steps to Reproduce:
1. Select «tool» «slideshow»«presentation»
2. Press the «+» button
3.

Actual Results:  
Freeze

Expected Results:  
Continue working
Comment 1 Maik Qualmann 2016-07-14 20:09:14 UTC
The problem is not to reproduce here. It opens a file requester.

Maik
Comment 2 philippe.quaglia 2016-07-15 07:51:21 UTC
Hello Maik, I get this bug every time, on 2 different computers both running Ubuntu. Here are the messages I get when running digikam from a terminal, if it may help.
Best regards.


philippe@philippe-desktop:~$ digikam5
digikam.general: AlbumWatch use QFileSystemWatcher
QFileSystemWatcher::removePaths: list is empty
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/home/philippe/Images/BDDDigikam/digikam4.db"
   DB Thumbs Name:           "/home/philippe/Images/BDDDigikam/thumbnails-digikam.db"
   DB Face Name:             "/home/philippe/Images/BDDDigikam/recognition.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  8
digikam.database: Creating new Location  "/philippe/Images"  uuid  "volumeid:?uuid=5112bacb-ebc3-43a3-a340-6895793ef206"
digikam.database: Creating new Location  "/2011_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/Photos_scans"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2010_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2008_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2006_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2005_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/1999_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2012_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2013_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2014_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2015_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: Creating new Location  "/2016_Photos"  uuid  "volumeid:?uuid=2f05e4b1-d13b-445d-8c36-93703587c231"
digikam.database: location for  "/home/philippe/Images"  is available  true
digikam.database: location for  "/media/Photos/2011_Photos"  is available  true
digikam.database: location for  "/media/Photos/Photos_scans"  is available  true
digikam.database: location for  "/media/Photos/2010_Photos"  is available  true
digikam.database: location for  "/media/Photos/2008_Photos"  is available  true
digikam.database: location for  "/media/Photos/2006_Photos"  is available  true
digikam.database: location for  "/media/Photos/2005_Photos"  is available  true
digikam.database: location for  "/media/Photos/1999_Photos"  is available  true
digikam.database: location for  "/media/Photos/2012_Photos"  is available  true
digikam.database: location for  "/media/Photos/2013_Photos"  is available  true
digikam.database: location for  "/media/Photos/2014_Photos"  is available  true
digikam.database: location for  "/media/Photos/2015_Photos"  is available  true
digikam.database: location for  "/media/Photos/2016_Photos"  is available  true
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  8065089536
digikam.general: Allowing a cache size of 200 MB
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: Thumbs database: have a structure version  "3"
digikam.general: Thumbnails database ready for use
digikam.database: Complete scan (file scanning deferred) took: 926 msecs.
digikam.dimg: ("/usr/share/color/icc", "/home/philippe/.local/share/icc")
digikam.dimg: Found X.org XICC monitor profile  "SyncMaster"
digikam.general: Camera XML data:  "/home/philippe/.local/share/digikam/cameras.xml"
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "2"
digikam.facesengine: Face database ready for use
digikam.facesengine: Face database ready for use
digikam.geoiface: "setting backend marble"
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
digikam.general: Stacked View Mode :  0
digikam.geoiface: "setting backend marble"
digikam.general: "browse_album"
digikam.general: "browse_tag"
digikam.general: "browse_labels"
digikam.general: "browse_date"
digikam.general: "browse_timeline"
digikam.general: "browse_search"
digikam.general: "browse_fuzzysearch"
digikam.general: "browse_gpssearch"
digikam.general: "browse_people"
digikam.dimg: variant:  QVariant(Digikam::LensFunIface::DevicePtr, )
digikam.dimg: dev:  Asahi Optical Co.,Ltd  ::  Pentax Optio 430  ::  4.85
digikam.dimg: Search for camera  "" - ""  ==> false
digikam.dimg: Search for lens  ""  ==> false
digikam.dimg: updating data
digikam.dimg: updating data
digikam.general: Using  4  CPU core to run threads
digikam.general: new search text settings:  "" : hasResult =  false , validRows =  0
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4538
Could not resolve property : linearGradient4588
Could not resolve property : linearGradient4554
Could not resolve property : linearGradient4572
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
Could not resolve property : linearGradient4532
Could not resolve property : linearGradient4582
Could not resolve property : linearGradient4566
Could not resolve property : linearGradient4548
QFSFileEngine::open: No file name specified
digikam.widgets: Paths to color scheme :  ("/usr/share/digikam/colorschemes", "/usr/share/color-schemes")
digikam.widgets: ""  ::  ""
digikam.widgets: ""  ::  ""
QFSFileEngine::open: No file name specified
digikam.geoiface: ----
digikam.general: Added root album called:  "/home/philippe/Images"
digikam.general: Added root album called:  "2011_Photos"
digikam.general: Added root album called:  "Photos_scans"
digikam.general: Added root album called:  "2010_Photos"
digikam.general: Added root album called:  "2008_Photos"
digikam.general: Added root album called:  "2006_Photos"
digikam.general: Added root album called:  "2005_Photos"
digikam.general: Added root album called:  "1999_Photos"
digikam.general: Added root album called:  "2012_Photos"
digikam.general: Added root album called:  "2013_Photos"
digikam.general: Added root album called:  "2014_Photos"
digikam.general: Added root album called:  "2015_Photos"
digikam.general: Added root album called:  "2016_Photos"
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: One job is done
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_flashexportui.rc"
kipi.library: Loaded plugin  "FlashExport"
kipi.plugins: Plugin_SendImages plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_kmlexportui.rc"
kipi.library: Loaded plugin  "KMLExport"
kipi.plugins: Plugin_Imageshack plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_imageshackui.rc"
kipi.library: Loaded plugin  "Imageshack"
kipi.plugins: Plugin_Dropbox Plugin Loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_dropboxui.rc"
kipi.library: Loaded plugin  "Dropbox"
kipi.plugins: Plugin_Piwigo plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_piwigoui.rc"
kipi.library: Loaded plugin  "Piwigo"
kipi.plugins: Plugin_Vkontakte plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_vkontakteui.rc"
kipi.library: Loaded plugin  "VKontakte"
kipi.plugins: Plugin_Flickr plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_flickrui.rc"
kipi.library: Loaded plugin  "Flickr"
kipi.plugins: Plugin_SendImages plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_sendimagesui.rc"
kipi.library: Loaded plugin  "SendImages"
kipi.plugins: Plugin_YandexFotki plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_yandexfotkiui.rc"
kipi.library: Loaded plugin  "YandexFotki"
kipi.plugins: Plugin_SendImages plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_printimagesui.rc"
kipi.library: Loaded plugin  "PrintImages"
kipi.plugins: Plugin_RemoteStorage plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_remotestorageui.rc"
kipi.library: Loaded plugin  "RemoteStorage"
kipi.plugins: Plugin_Facebook plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_facebookui.rc"
kipi.library: Loaded plugin  "Facebook"
kipi.plugins: Plugin_Smug plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_smugui.rc"
kipi.library: Loaded plugin  "Smug"
kipi.plugins: Plugin_Rajce plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_rajceui.rc"
kipi.library: Loaded plugin  "Rajce"
kipi.plugins: Imgur plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_imgurui.rc"
kipi.library: Loaded plugin  "Imgur"
kipi.plugins: Plugin_MediaWiki plugin loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_wikimediaui.rc"
kipi.library: Loaded plugin  "MediaWiki export"
kipi.plugins: Plugin_GoogleServices Plugin Loaded
kipi.library: UI file : "/usr/share/kxmlgui5/kipi/kipiplugin_googleservicesui.rc"
kipi.library: Loaded plugin  "Google Services"
kipi.plugins: Reading data from kipirc file..
Shortcut for action  "flashexport" "Exporter en F&lash..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "imageshackexport" "Export to &Imageshack..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "dropboxexport" "Exporter vers &Dropbox..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "flickrexport" "Export to Flick&r..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "23export" "Export to &23..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "Zooomrexport" "Export to &Zooomr..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "Yandex.Fotki" "Exporter vers « &Yandex.Fotki »..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "remotestorageexport" "Export to remote storage..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "remotestorageimport" "Import from remote storage..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "facebookexport" "Exporter vers &Facebook..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "smugexport" "Exporter vers &SmugMug..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "smugimport" "Importer depuis S&mugMug..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rajceexport" "Export to &Rajce.net..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "googledriveexport" "Export to &Google Drive..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "googlephotoexport" "Export to &Google Photos/PicasaWeb..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "googlephotoimport" "Import from &Google Photos/PicasaWeb..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
digikam.geoiface: ----
digikam.imageplugins: ImagePlugin_Color plugin loaded
digikam.general: ImagePluginLoader: Loaded plugin  "ImagePlugin_Color"
digikam.imageplugins: ImagePlugin_Decorate plugin loaded
digikam.general: ImagePluginLoader: Loaded plugin  "ImagePlugin_Decorate"
digikam.imageplugins: ImagePlugin_Enhance plugin loaded
digikam.general: ImagePluginLoader: Loaded plugin  "ImagePlugin_Enhance"
digikam.imageplugins: ImagePlugin_FxFilters plugin loaded
digikam.general: ImagePluginLoader: Loaded plugin  "ImagePlugin_FxFilters"
digikam.imageplugins: ImagePlugin_Transform plugin loaded
digikam.general: ImagePluginLoader: Loaded plugin  "ImagePlugin_Transform"
digikam.general: Tag 0x3500270 doesn't have a valid parent
Shortcut for action  "editorwindow_showthumbs" "Afficher la barre de vignettes" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
QFSFileEngine::open: No file name specified
digikam.general: Got total of  5  image plugins
digikam.general: loading plugin:  "digikam"
digikam.general: Adding to category  "Couleurs"
digikam.general:   Action:  "imageplugin_bcg"
digikam.general:   Action:  "imageplugin_hsl"
digikam.general:   Action:  "imageplugin_rgb"
digikam.general:   Action:  "imageplugin_autocorrection"
digikam.general:   Action:  "imageplugin_invert"
digikam.general:   Action:  "imageplugin_convertto8bits"
digikam.general:   Action:  "imageplugin_convertto16bits"
digikam.general:   Action:  "imageplugin_colormanagement"
digikam.general:   Action:  "imageplugin_blackwhite"
digikam.general:   Action:  "imageplugin_whitebalance"
digikam.general:   Action:  "imageplugin_channelmixer"
digikam.general:   Action:  "imageplugin_adjustcurves"
digikam.general:   Action:  "imageplugin_adjustlevels"
digikam.general:   Action:  "imageplugin_film"
digikam.general: loading plugin:  "digikam"
digikam.general: Adding to category  "Décoration"
digikam.general:   Action:  "imageplugin_inserttext"
digikam.general:   Action:  "imageplugin_border"
digikam.general:   Action:  "imageplugin_texture"
digikam.general: loading plugin:  "digikam"
digikam.general: Adding to category  "Amélioration"
digikam.general:   Action:  "imageplugin_restoration"
digikam.general:   Action:  "imageplugin_sharpen"
digikam.general:   Action:  "imageplugin_blur"
digikam.general:   Action:  "imageplugin_noisereduction"
digikam.general:   Action:  "imageplugin_localcontrast"
digikam.general:   Action:  "imageplugin_redeye"
digikam.general:   Action:  "imageplugin_inpainting"
digikam.general:   Action:  "imageplugin_antivignetting"
digikam.general:   Action:  "imageplugin_lensdistortion"
digikam.general:   Action:  "imageplugin_hotpixels"
digikam.general:   Action:  "imageplugin_lensautofix"
digikam.general: loading plugin:  "digikam"
digikam.general: Adding to category  "Effets"
digikam.general:   Action:  "imageplugin_colorfx"
digikam.general:   Action:  "imageplugin_charcoal"
digikam.general:   Action:  "imageplugin_emboss"
digikam.general:   Action:  "imageplugin_oilpaint"
digikam.general:   Action:  "imageplugin_blurfx"
digikam.general:   Action:  "imageplugin_distortionfx"
digikam.general:   Action:  "imageplugin_raindrop"
digikam.general:   Action:  "imageplugin_filmgrain"
digikam.general: loading plugin:  "digikam"
digikam.general: Adding to category  "Transformation"
digikam.general:   Action:  "imageplugin_perspective"
digikam.general:   Action:  "imageplugin_sheartool"
digikam.general:   Action:  "imageplugin_resize"
digikam.general:   Action:  "imageplugin_ratiocrop"
digikam.general:   Action:  "imageplugin_contentawareresizing"
digikam.general:   Action:  "imageplugin_freerotation"
digikam.general:   Action:  "imageplugin_freerotation_point1"
digikam.general:   Action:  "imageplugin_freerotation_point2"
digikam.general:   Action:  "imageplugin_freerotation_autoadjust"
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.general: Tag 0x3500270 doesn't have a valid parent
digikam.facesengine: Face database ready for use
digikam.facesengine: Face database ready for use
digikam.general: Tag 0x3500270 doesn't have a valid parent
Shortcut for action  "lighttable_showthumbbar" "Afficher la barre de vignettes" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
QFSFileEngine::open: No file name specified
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.general: Tag 0x3500270 doesn't have a valid parent
digikam.general: scan mode: ScanDeferredFiles
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action
digikam.general: total scan value :  33092
digikam.database: items to tag ()
digikam.database: Complete scan took: 512 msecs.
digikam.general: Event is dispatched to desktop notifier through DBUS
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.general: Tag 0x3500270 doesn't have a valid parent
digikam.general: Received new thumbnail for url  QUrl("file:///media/Photos/2016_Photos/2016_07/201607_F3648.JPG") . My view is  Digikam::DImagesListView(0x3f0a480)
digikam.general: Creating new ImageListViewItem with url  QUrl("file:///media/Photos/2016_Photos/2016_07/201607_F3648.JPG")  for list view  Digikam::DImagesListView(0x3f0a480)
digikam.general: Received new thumbnail for url  QUrl("file:///media/Photos/2016_Photos/2016_07/201607_F3648.JPG") . My view is  Digikam::DImagesListView(0x3f0a480)
digikam.general: file formats= ("BMP Image (*.bmp)", "CUR Image (*.cur)", "DDS Image (*.dds)", "GIF Image (*.gif)", "ICNS Image (*.icns)", "ICO Image (*.ico)", "MNG Image (*.mng)", "PBM Image (*.pbm)", "PGM Image (*.pgm)", "PNG Image (*.png)", "PPM Image (*.ppm)", "SVG Image (*.svg)", "SVGZ Image (*.svgz)", "TGA Image (*.tga)", "WBMP Image (*.wbmp)", "WEBP Image (*.webp)", "XBM Image (*.xbm)", "XPM Image (*.xpm)", "TIFF Image (*.tiff *.tif)", "JPEG Image (*.jpg *.jpeg *.jpe)", "JPEG2000 Image (*.jp2 *.j2k *.jpx *.pgx)", "Progressive Graphics file (*.pgf)", "Raw Images (*.bay *.bmq *.cr2 *.crw *.cs1 *.dc2 *.dcr *.dng *.erf *.fff *.hdr *.k25 *.kdc *.mdc *.mos *.mrw *.nef *.orf *.pef *.pxn *.raf *.raw *.rdc *.sr2 *.srf *.x3f *.arw *.3fr *.cine *.ia *.kc2 *.mef *.nrw *.qtk *.rw2 *.sti *.rwl *.srw )", "All supported files (*.bmp *.cur *.dds *.gif *.icns *.ico *.mng *.pbm *.pgm *.png *.ppm *.svg *.svgz *.tga *.wbmp *.webp *.xbm *.xpm *.tiff *.tif *.jpg *.jpeg *.jpe *.jp2 *.j2k *.jpx *.pgx *.pgf *.bay *.bmq *.cr2 *.crw *.cs1 *.dc2 *.dcr *.dng *.erf *.fff *.hdr *.k25 *.kdc *.mdc *.mos *.mrw *.nef *.orf *.pef *.pxn *.raf *.raw *.rdc *.sr2 *.srf *.x3f *.arw *.3fr *.cine *.ia *.kc2 *.mef *.nrw *.qtk *.rw2 *.sti *.rwl *.srw )")
digikam.general: request thumb icon for  "/"
digikam.database: No location could be retrieved for "/"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /: The file contains data of an unknown image type
digikam.dimg: Failed to read header of file  "/"
digikam.dimg: "/"  : Unknown image format !!!
digikam.general: mimetype =  ""  ext =  ""
digikam.general: Cannot create thumbnail for  "/"
digikam.general: Thumbnail is null for  "/"
digikam.general: request thumb icon for  "/home"
digikam.database: No location could be retrieved for "/home"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /home: The file contains data of an unknown image type
digikam.dimg: Failed to read header of file  "/home"
digikam.dimg: "/home"  : Unknown image format !!!
digikam.general: mimetype =  ""  ext =  ""
digikam.general: Cannot create thumbnail for  "/home"
digikam.general: Thumbnail is null for  "/home"
digikam.general: request thumb icon for  "/home/philippe"
digikam.database: No location could be retrieved for "/home/philippe"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/philippe: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /home/philippe: The file contains data of an unknown image type
digikam.dimg: Failed to read header of file  "/home/philippe"
digikam.dimg: "/home/philippe"  : Unknown image format !!!
digikam.general: mimetype =  ""  ext =  ""
digikam.general: Cannot create thumbnail for  "/home/philippe"
digikam.general: Thumbnail is null for  "/home/philippe"
digikam.general: request thumb icon for  "/home/philippe/Images"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/philippe/Images: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /home/philippe/Images: The file contains data of an unknown image type
digikam.dimg: Failed to read header of file  "/home/philippe/Images"
digikam.dimg: "/home/philippe/Images"  : Unknown image format !!!
digikam.general: mimetype =  ""  ext =  ""
digikam.general: Cannot create thumbnail for  "/home/philippe/Images"
digikam.general: Thumbnail is null for  "/home/philippe/Images"
digikam.general: request thumb icon for  "/home/philippe/Images/BDDDigikam"
digikam.database: No itemShortInfo could be retrieved from the database for image "BDDDigikam"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/philippe/Images/BDDDigikam: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /home/philippe/Images/BDDDigikam: The file contains data of an unknown image type
digikam.dimg: Failed to read header of file  "/home/philippe/Images/BDDDigikam"
digikam.dimg: "/home/philippe/Images/BDDDigikam"  : Unknown image format !!!
digikam.general: mimetype =  ""  ext =  ""
digikam.general: Cannot create thumbnail for  "/home/philippe/Images/BDDDigikam"
digikam.general: Thumbnail is null for  "/home/philippe/Images/BDDDigikam"
digikam.general: request thumb icon for  "/"
Comment 3 caulier.gilles 2016-07-25 08:50:31 UTC
Not reproducible here too.

Run digiKam in GDB from a console. When it hang, press CTRL+C and ust GDB "bt" command to look where digiKam loop for a while...

Gilles Caulier
Comment 4 philippe.quaglia 2016-08-05 13:18:39 UTC
Hello, tried to run it in gdb, but nothing happens (digikam is not launched). Here is the message I get :

philippe@philippe-desktop:~$ gdb digikam5
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam5...(no debugging symbols found)...done.
(gdb)
Comment 5 Philip Johnsson 2016-08-05 14:53:04 UTC
(In reply to philippe.quaglia from comment #4)

You need to installed the debugging symbols for digiKam5 to make a useful debug trace. The symbols are in package digikam5-dbg.
Comment 6 philippe.quaglia 2016-08-05 15:06:07 UTC
Ok. Installed the digikam-dbg package. However, still nothing happening, with a slighly different message: 
philippe@philippe-desktop:~$ gdb digikam5
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam5...Reading symbols from /usr/lib/debug/.build-id/3c/edc8a97f809767bc0fb0ddca10bfad7bbee637.debug...done.
done.
(gdb)
Comment 7 Philip Johnsson 2016-08-05 16:41:17 UTC
Created attachment 100469 [details]
attachment-7318-0.html

You need to run digikam5 and backtrace in gdb as described here in the
contribution page. Just use digikam5 instead of digikam to backtrace
digikam 5 instead of digikam 4 when you use my packages. bt is what you run
in gdb after digikam 5 have crashed to get the trace information.

https://www.digikam.org/contrib

/Philip
Comment 8 caulier.gilles 2016-08-06 05:50:31 UTC
Philippe, 

Did you see the previous message from Philip ?

GilleS Caulier
Comment 9 philippe.quaglia 2016-08-06 08:33:35 UTC
Hello, here is the backtrace after getting the crash (always reproductible here).
Hope this helps.

(gdb) bt
#0  0x00007ffff445f8bd in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff032a565 in Exiv2::ImageFactory::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#2  0x00007ffff68bdb4f in Digikam::MetaEngine::load (
    this=this@entry=0x7fff5a332520, filePath=...)
    at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/dmetadata/metaengine.cpp:278
#3  0x00007ffff690abb6 in Digikam::DMetadata::load (
    this=this@entry=0x7fff5a332520, filePath=...)
    at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/dmetadata/dmetadata.cpp:100
#4  0x00007ffff690ac42 in Digikam::DMetadata::DMetadata (this=0x7fff5a332520, 
    filePath=...)
    at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/dmetadata/dmetadata.cpp:67
#5  0x00007ffff6951a0a in Digikam::ThumbnailCreator::createThumbnail (
    this=this@entry=0x1fc8850, info=..., detailRect=...)
    at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/threadimageio/thumbnailcreator.cpp:468
#6  0x00007ffff6954c9f in Digikam::ThumbnailCreator::load (this=0x1fc8850, 
    identifier=..., rect=..., pregenerate=pregenerate@entry=false)
---Type <return> to continue, or q <return> to quit---
   ikam5-Zi40bi/digikam5-5.0.0/core/libs/threadimageio/thumbnailcreator.cpp:264
#7  0x00007ffff6955532 in Digikam::ThumbnailCreator::load (this=<optimized out>, identifier=...) at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/threadimageio/thumbnailcreator.cpp:181
#8  0x00007ffff6964206 in Digikam::ThumbnailLoadingTask::execute (this=0x4ba50e0) at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/threadimageio/thumbnailtask.cpp:166
#9  0x00007ffff69399f0 in Digikam::LoadSaveThread::run (this=0x7ffff7304d40 <Digikam::(anonymous namespace)::Q_QGS_defaultObject::innerFunction()::holder>)
    at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/threadimageio/loadsavethread.cpp:133
#10 0x00007ffff697ee2e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1fc8790) at /build/digikam5-Zi40bi/digikam5-5.0.0/core/libs/threads/dynamicthread.cpp:183
#11 0x00007ffff4bbb343 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff4bbe84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff0e076fa in start_thread (arg=0x7fff5a333700) at pthread_create.c:333
#14 0x00007ffff3ef9b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Comment 10 caulier.gilles 2016-08-06 09:15:35 UTC
The crash is in Exiv2 shared library while parsing image metadata to extract thumbnail.

Please report this problem to Exiv2 bugzilla, with relevant file parsed while the crash.

Gilles Caulier
Comment 11 caulier.gilles 2021-05-04 04:10:40 UTC
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4