[Digikam-devel] [digikam] [Bug 326959] Digikam crash while scanning pictures for thumnails maintenance

e.longuemare at laposte.net e.longuemare at laposte.net
Tue Nov 5 09:17:55 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=326959

--- Comment #44 from e.longuemare at laposte.net ---
Hello,

Digikam exit normally :
#LOG GDB when exit#
digikam(20976)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset: ----
[Thread 0xab654b40 (LWP 20981) exited]
digikam(20976)/KDCRAW KDcrawIface::RActionThreadBase::cancel: Cancel Main
Thread
digikam(20976)/KDCRAW KDcrawIface::RActionThreadBase::~RActionThreadBase:
calling action thread destructor
digikam(20976)/KDCRAW KDcrawIface::RActionThreadBase::cancel: Cancel Main
Thread
[Thread 0xaa2ffb40 (LWP 20986) exited]
[Thread 0xaacffb40 (LWP 20982) exited]
[Inferior 1 (process 20976) exited normally]
#End log#

And no crash during thumbnail maintenance scan.

But digikam doesn't show thumbnails in main view, tag view ... with an other
error :
## Log gdb no thumbnail is showned - slaved process fail to start ####
digikam(20976)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset: ----
[New Thread 0x92e25b40 (LWP 21028)]
digikam(20976): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamdates'.
" 
digikam(20976)/digikam (core) Digikam::AlbumManager::slotDatesJobResult: Failed
to list dates 
digikam(20976): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
" 
digikam(20976)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to
list url:  "Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
." 
digikam(20976)/KIPI (loading) KIPI::PluginLoader::init: Plugin  "JPEGLossless" 
(generic name:  "JPEGLossless" ) is in the ignore list from host application

digikam(20976)/KIPI (loading) KIPI::PluginLoader::init: Plugin  "JPEGLossless" 
(generic name:  "JPEGLossless" ) is in the ignore list from host application

### end log ###

Componants :
digiKam version 4.0.0-beta1
Codec PGF parallélisé: Non
Composant graphique Marble: 0.16.2 (stable version)
Demosaic GPL2 pack support: Inconnu
Demosaic GPL3 pack support: Inconnu
Dématriçage parallélisé: Inconnu
Exiv2 peut écrire dans un fichier JP2: Oui
Exiv2 peut écrire dans un fichier JPEG: Oui
Exiv2 peut écrire dans un fichier PGF: Oui
Exiv2 peut écrire dans un fichier PNG: Oui
Exiv2 peut écrire dans un fichier TIFF: Oui
Exiv2 prend en charge les métadonnées XMP: Oui
LibCImg: 130
LibEigen: 3.0.5
LibExiv2: 0.22
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.11.2
LibKExiv2: 2.3.1
LibKGeoMap: 2.0.0
LibKdcraw: 2.4.0
LibLCMS: 2040
LibLensFun: 0.2.7-0
LibPGF: 6.12.27 - bibliothèque interne
LibPNG: 1.2.46
LibQt: 4.8.2
LibRaw: 0.15.4
LibTIFF: LIBTIFF, Version 3.9.5 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Prise en charge du codec RawSpeed: Inconnu
LibGphoto2: 2.4.14
LibKface: 3.0.0
LibKipi: 2.1.0
LibOpenCV: 2.4.5
Modules externes KIPI: 3.5.0
Moteur de base de données: QMYSQL
Serveur interne de base de données: Non


Date de compilation : Nov 4 2013 (cible : debugfull)
Rév. : ea2847ec161df82f8d64e70afdbc5d12feb7708e


How I'm building :
1 - do a ./download-repos in my sources folder : 
dkgitdigikamsoftwarecompilation
2 - as nothing update (for digikam since 
3 - do a git pull in master branch of my sources in another folder :
dkgitdigikammaster, that containt developpment repositorie
4 - do a diff of content of folder dkgitdigikammaster and
dkgitdigikasoftwarecompilation/core/
5 - cp changed or added files from dkgidigikammaster to
dkgitsofwarecompilation/core/
6 - do a make, then a make install in my builddigikamsofwarecompilation folder

Last commit on digikamsofwarecompilation :

commit 03a02db2c5a61d3843126b444dab05c9f4d8e05d
Author: Gilles Caulier <caulier.gilles at gmail.com>
Date:   Mon Oct 21 09:26:25 2013 +0200

    ENABLE_RAWSPEED is an obsolete compilation option

diff --git a/bootstrap.linux b/bootstrap.linux
index 5edf233..c748ed6 100755
--- a/bootstrap.linux
+++ b/bootstrap.linux
@@ -35,7 +35,6 @@ cmake -G "$MAKEFILES_TYPE" . \
       -DDIGIKAMSC_CHECKOUT_PO=off \
       -DENABLE_PRESENTATIONMODE=off\
       -DENABLE_LCMS2=on \
-      -DENABLE_RAWSPEED=on \
       -DENABLE_NEPOMUKSUPPORT=ON \
       -Wno-dev \
       ..
diff --git a/bootstrap.local b/bootstrap.local
index 5ecc46a..af4e3b4 100755
--- a/bootstrap.local
+++ b/bootstrap.local
@@ -60,6 +60,6 @@ cmake -G "$MAKEFILES_TYPE" . \
       -DDIGIKAMSC_CHECKOUT_PO=off \
       -DENABLE_PRESENTATIONMODE=off\
       -DENABLE_LCMS2=off \
-      -DENABLE_RAWSPEED=off \
+      -DENABLE_NEPOMUKSUPPORT=ON \
       -Wno-dev \
       ..
diff --git a/bootstrap.msvc.bat b/bootstrap.msvc.bat
index c697cbe..33edb75 100755
--- a/bootstrap.msvc.bat
+++ b/bootstrap.msvc.bat
@@ -31,7 +31,6 @@ cmake -G "NMake Makefiles" . ^
       -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on ^
       -DDIGIKAMSC_COMPILE_DOC=off ^
       -DENABLE_LCMS2=off ^
-      -DENABLE_RAWSPEED=on ^
       -Wno-dev ^
       -DEXPAT_LIBRARY=%KDE4_INSTALL_DIR%/lib/expat.lib ^
       -DCMAKE_INCLUDE_PATH=%KDE4_INSTALL_DIR%/include ^

Last commit on digikam master development :
commit 27ad0e0a42c381afd6b7833de1845125376b77d8
Author: Marcel Wiesweg <marcel.wiesweg at gmx.de>
Date:   Mon Nov 4 19:45:41 2013 +0100

    There's a simple problem with slotAbortAll: The event loop is entered and
never quits
    if there is no active ProgressItem.
    Add a check which returns from the method if the list of ProgressItems is
empty.
    Gilles: Please check if this is ok.

diff --git a/libs/progressmanager/progressmanager.cpp
b/libs/progressmanager/progressmanager.cpp
index ac6a0f7..57cf70b 100644
--- a/libs/progressmanager/progressmanager.cpp
+++ b/libs/progressmanager/progressmanager.cpp
@@ -580,6 +580,10 @@ void ProgressManager::slotAbortAll()
     QHash<QString,ProgressItem*> hash;
     {
         QMutexLocker lock(&d->mutex);
+        if (d->transactions.isEmpty())
+        {
+            return;
+        }
         hash = d->transactions;
     }



Is it right or I'm missing something ?

Thank you,

Eric

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list