Dgk 5.5 very slow start

classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Dgk 5.5 very slow start

Gilles Caulier-4
No. A core dump do not help.

We need to know if search albums exists in your collection, as map, similarity, advanced, etc...

I suspect a problem at startup to update the search albums with the contents of DB.

Gilles Caulier

2017-04-09 21:02 GMT+02:00 Hella Breitkopf <[hidden email]>:
Since on my computer the pause is about 15 - 20 Minutes
(for > 50 000 Pictures) I am motivated to enhance my
debugging efforts (as far as I am able to, I am a sysadmin,
not a software developer)

Would a core-dump help?

Best wishes,
Hella
--
[hidden email]
http://www.unixwitch.de

Reply | Threaded
Open this post in threaded view
|

Re: Dgk 5.5 very slow start

Jānis Elmeris
In reply to this post by Hella Breitkopf
I get a similar backtrace as Hella:
> #2  0x000000000047f9b7 in execute_command_internal ()
> #3  0x0000000000480c11 in execute_command ()
Is there an appimage for debugging to get a more meaningful backtrace? (I'm using appimage because the latest digiKam the package manager source for my distribution offers is 4.14.)
Reply | Threaded
Open this post in threaded view
|

Re: Dgk 5.5 very slow start

Gilles Caulier-4
There is a "debug" option to pass to appimage bundle from CLI. This will start digiKam in gdb.

Note: for more options use "help" CLI option.

Gilles Caulier

2017-04-10 9:20 GMT+02:00 Jānis Elmeris <[hidden email]>:
I get a similar backtrace as Hella:
> #2  0x000000000047f9b7 in execute_command_internal ()
> #3  0x0000000000480c11 in execute_command ()
Is there an appimage for debugging to get a more meaningful backtrace? (I'm
using appimage because the latest digiKam the package manager source for my
distribution offers is 4.14.)



--
View this message in context: http://digikam.1695700.n4.nabble.com/Dgk-5-5-very-slow-start-tp4695333p4695586.html
Sent from the digikam-users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Dgk 5.5 very slow start

Jānis Elmeris
Thank you! This is the backtrace I get.

I tried it several times interrupting and continuing the program. 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@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@entry=0x7ffff7dd8d20 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>, _t1=_t1@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@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@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)
Reply | Threaded
Open this post in threaded view
|

Re: Dgk 5.5 very slow start

Gilles Caulier-4
This backtrace help better. Please report the dysfunction in bugzilla, into search-Fuzzy section. The problem is when the similarity search album are restored from database.

Gilles Caulier

2017-04-10 11:07 GMT+02:00 Jānis Elmeris <[hidden email]>:
Thank you! This is the backtrace I get.

I tried it several times interrupting and continuing the program. 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@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@entry=0x7ffff7dd8d20
<_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>,
_t1=_t1@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@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@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)




--
View this message in context: http://digikam.1695700.n4.nabble.com/Dgk-5-5-very-slow-start-tp4695333p4695588.html
Sent from the digikam-users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Dgk 5.5 very slow start

Jānis Elmeris
12