[digikam] [Bug 378625] New: Very slow start

Jānis Elmeris bugzilla_noreply at kde.org
Mon Apr 10 15:41:10 BST 2017


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

            Bug ID: 378625
           Summary: Very slow start
           Product: digikam
           Version: 5.6.0
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Searches-Fuzzy
          Assignee: digikam-devel at kde.org
          Reporter: janise at inbox.lv
  Target Milestone: ---

Both 5.5.0 and 5.6.0 pre-release version take a very long time to start up.
E.g., for 800 photo album it took about 4 minutes.
There was no such problem for 5.4.0.

Gilles Caulier wrote:
> The problem is when the similarity search album are restored from database.

I tried several times to interrupt and continue the program while it was
starting up. The backtraces were almost the same down to "in
Digikam::FindDuplicatesAlbumItem::operator<" and with one exception including
also the next one: "in QCollatorPrivate::init()". Lower than that, the rest of
the lines were different in different cases.

One backtrace:

digikam.general: Added root album called:  "2017"
digikam.general: Added root album called:  "JVK"
^C
Program received signal SIGINT, Interrupt.
0x00000031e92d86f3 in ?? () from /tmp/.mount_mFKFll/usr/lib/libicui18n.so.42
(gdb) bt
#0  0x00000031e92d86f3 in ?? () from
/tmp/.mount_mFKFll/usr/lib/libicui18n.so.42
#1  0x00000031e036d879 in QCollatorPrivate::init() () from
/tmp/.mount_mFKFll/usr/lib/libQt5Core.so.5
#2  0x00007ffff77682d3 in Digikam::FindDuplicatesAlbumItem::operator<
(this=<optimized out>, other=...)
    at
/b/dktemp/digikam-v5.5.0/core/utilities/fuzzysearch/findduplicatesalbumitem.cpp:200
#3  0x00007fffef653c2c in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#4  0x00007fffef6547ef in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#5  0x00007fffef6548dc in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#6  0x00007fffef6507cc in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#7  0x00007fffef650b5f in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#8  0x00007fffef650c32 in QTreeWidgetItem::sortChildren(int, Qt::SortOrder,
bool) () from /tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#9  0x00007fffef650d06 in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#10 0x00007fffef648b47 in ?? () from
/tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#11 0x00007fffef64a649 in QTreeWidget::setItemHidden(QTreeWidgetItem const*,
bool) () from /tmp/.mount_mFKFll/usr/lib/libQt5Widgets.so.5
#12 0x00007ffff7768bc7 in setHidden (ahide=true, this=0x87e6350) at
././/include/QtWidgets/qtreewidget.h:400
#13 Digikam::FindDuplicatesAlbumItem::calculateInfos
(this=this at entry=0x87e6350, deletedImages=...)
    at
/b/dktemp/digikam-v5.5.0/core/utilities/fuzzysearch/findduplicatesalbumitem.cpp:140
#14 0x00007ffff7768f7a in
Digikam::FindDuplicatesAlbumItem::FindDuplicatesAlbumItem (this=0x87e6350,
parent=0xf96980, album=<optimized out>)
    at
/b/dktemp/digikam-v5.5.0/core/utilities/fuzzysearch/findduplicatesalbumitem.cpp:73
#15 0x00007ffff7766bc0 in Digikam::FindDuplicatesView::slotAlbumAdded
(this=0xf95660, a=0x893c320)
    at
/b/dktemp/digikam-v5.5.0/core/utilities/fuzzysearch/findduplicatesview.cpp:290
#16 0x00007ffff776cbac in Digikam::FindDuplicatesView::qt_static_metacall
(_o=0xf95660, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at
/b/dktemp/digikam-v5.5.0/build/core/utilities/fuzzysearch/moc_findduplicatesview.cpp:141
#17 0x00000031e04af846 in QMetaObject::activate(QObject*, int, int, void**) ()
from /tmp/.mount_mFKFll/usr/lib/libQt5Core.so.5
#18 0x00007ffff7751b82 in Digikam::AlbumManager::signalAlbumAdded (
    this=this at entry=0x7ffff7dd8d20
<_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>,
_t1=_t1 at entry=0x893c320)
    at /b/dktemp/digikam-v5.5.0/build/core/libs/album/moc_albummanager.cpp:583
#19 0x00007ffff7740304 in Digikam::AlbumManager::scanSAlbums (
    this=this at entry=0x7ffff7dd8d20
<_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>)
    at /b/dktemp/digikam-v5.5.0/core/libs/album/albummanager.cpp:1790
#20 0x00007ffff7745959 in Digikam::AlbumManager::refresh
(this=this at entry=0x7ffff7dd8d20
<_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>)
    at /b/dktemp/digikam-v5.5.0/core/libs/album/albummanager.cpp:1263
#21 0x00007ffff7745c54 in Digikam::AlbumManager::startScan (this=0x7ffff7dd8d20
<_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>)
    at /b/dktemp/digikam-v5.5.0/core/libs/album/albummanager.cpp:1071
#22 0x00007ffff754f4b4 in Digikam::DigikamApp::DigikamApp (this=0x80b1b0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /b/dktemp/digikam-v5.5.0/core/app/main/digikamapp.cpp:262
#23 0x0000000000404e7b in main (argc=1, argv=<optimized out>) at
/b/dktemp/digikam-v5.5.0/core/app/main/main.cpp:201
(gdb) 

More people having the same or similar problem:
http://digikam.1695700.n4.nabble.com/Dgk-5-5-very-slow-start-td4695333i20.html

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


More information about the Digikam-devel mailing list