[Digikam-users] Albumview freezes - need help debugging

Christoph Huckle chrihuc at gmail.com
Sun Aug 3 12:29:50 BST 2014


Cool thanks, will look into that.

OpenCV realized that this is a nightmare when I first tried to compile it.
Will see what I can find there.

BR.
Chris.


2014-08-03 11:39 GMT+02:00 Gilles Caulier <caulier.gilles at gmail.com>:

> To have full debug it's simple. Look here :
>
>
> https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/bootstrap.linux#L30
>
> This cmake option add all debug symbols. You can use this
> bootstrap.linux script if you want to configure all source code
>
> The Face recognition crash sound like an OpenCV library install
> problem. I'm sure. I spend a lots of time to hack libkface and found
> serious problem from OPenCV if not all relevant library components are
> not installed. OpenCV is a worse puzzle.
>
> I hack libkface a lots in all conditions, and now it must not crash as
> well if all components are there...
>
> Gilles Caulier
>
> 2014-08-03 11:18 GMT+02:00 Christoph Huckle <chrihuc at gmail.com>:
> > Okay got digikam working again.
> > Somehow the MySQL tabel was corrupt. After clearing out the ImageTags
> table
> > and repopulating it, all my versions (Win and Linux) are working again.
> >
> > Nevertheless (since face recognition is crashing), is there somewhere an
> > instruction how to build with full debug options?
> >
> > BR
> > Chris.
> >
> >
> > 2014-07-25 20:39 GMT+02:00 Christoph Huckle <chrihuc at gmail.com>:
> >
> >> Hello,
> >>
> >> on my latest  setup with digikam I am experiencing hangs on certain
> >> Albumviews.
> >> I'm running 4.2 on Opensuse 13.1 on an Microsoft Surface Pro 3. All
> >> pictures are on a NAS the database runs on a server as MySQL.
> >>
> >> With kdebugdialog enabled and gdb I get the following outputs if I let
> it
> >> freeze:
> >>
> >> digikam(2337)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset:
> ----
> >> digikam(2337)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset:
> ----
> >> digikam(2337)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset:
> ----
> >> digikam(2337)/kio (Scheduler) KIO::SchedulerPrivate::doJob:
> >> KIO::SimpleJob(0x3a57180)
> >> digikam(2337)/kio (KIOJob) KIO::TransferJob::slotFinished:
> >> KUrl("digikamalbums:/2011 22 Melb & Tasi/2011 09 26 Melb
> >>
> Central/?albumRoot=%2Fhome%2Fchris%2Fmnt%2FPhotos%2F2011&albumRootId=10&databaseType=QMYSQL&databaseName=digikam&connectOptions=&hostName=192.168.1.10&port=0&userName=digikam_sp3&password=***")
> >> digikam(2337)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished:
> >> KIO::SpecialJob(0x3a57180) KIO::Slave(0x4e9c840)
> >> [Thread 0x7fffb7ffe700 (LWP 2416) exited]
> >> [Thread 0x7fffb6ffc700 (LWP 2415) exited]
> >> [Thread 0x7fffcf7fe700 (LWP 2411) exited]
> >> [Thread 0x7fffb67fb700 (LWP 2417) exited]
> >>
> >> this is then the backtrace output:
> >> #0  0x00007fffeec3a006 in __memcpy_sse2_unaligned () from
> /lib64/libc.so.6
> >> #1  0x00007ffff475aa23 in QConcatenable<QString>::appendTo (a=...,
> >> out=@0x7fffffffc428: 0x6ec5fe0) at
> /usr/include/QtCore/qstringbuilder.h:277
> >> #2  0x00007ffff47664f9 in
> >> QConcatenable<QStringBuilder<QStringBuilder<QString, char>, QString>
> >> >::appendTo<QChar> (p=..., out=@0x7fffffffc428: 0x6ec5fe0) at
> >> /usr/include/QtCore/qstringbuilder.h:404
> >> #3  0x00007ffff47617f5 in QStringBuilder<QStringBuilder<QString, char>,
> >> QString>::convertTo<QString> (this=0x7fffffffc4e0) at
> >> /usr/include/QtCore/qstringbuilder.h:126
> >> #4  0x00007ffff475dc89 in QStringBuilder<QStringBuilder<QString, char>,
> >> QString>::operator QString (this=0x7fffffffc4e0) at
> >> /usr/include/QtCore/qstringbuilder.h:139
> >> #5  0x00007ffff47f8c5a in Digikam::TagsCache::tagPath (this=0xf63b50,
> >> id=36, slashPolicy=Digikam::TagsCache::NoLeadingSlash) at
> >> /home/chris/dk/core/libs/database/tagscache.cpp:373
> >> #6  0x00007ffff47f8e32 in Digikam::TagsCache::tagPaths (this=0xf63b50,
> >> ids=..., slashPolicy=Digikam::TagsCache::NoLeadingSlash,
> >> hiddenTagsPolicy=Digikam::TagsCache::NoHiddenTags)
> >>     at /home/chris/dk/core/libs/database/tagscache.cpp:396
> >> #7  0x00000000004b729b in
> >> Digikam::ImagePropertiesSideBarDB::setImagePropertiesInformation
> >> (this=0x1ee57e0, url=...) at
> >>
> /home/chris/dk/core/libs/imageproperties/imagepropertiessidebardb.cpp:627
> >> #8  0x00000000004b5195 in
> >> Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=0x1ee57e0,
> >> tab=0x1f02ef0) at
> >>
> /home/chris/dk/core/libs/imageproperties/imagepropertiessidebardb.cpp:274
> >> #9  0x00000000004b4c36 in Digikam::ImagePropertiesSideBarDB::itemChanged
> >> (this=0x1ee57e0, infos=..., rect=..., img=0x0, history=...)
> >>     at
> >>
> /home/chris/dk/core/libs/imageproperties/imagepropertiessidebardb.cpp:199
> >> #10 0x00000000004b4ab5 in Digikam::ImagePropertiesSideBarDB::itemChanged
> >> (this=0x1ee57e0, infos=...) at
> >>
> /home/chris/dk/core/libs/imageproperties/imagepropertiessidebardb.cpp:175
> >> #11 0x00000000006d4610 in
> Digikam::DigikamView::slotDispatchImageSelected
> >> (this=0x10a3a40) at
> /home/chris/dk/core/digikam/views/digikamview.cpp:1330
> >> #12 0x00000000006ce2cf in Digikam::DigikamView::qt_static_metacall
> >> (_o=0x10a3a40, _c=QMetaObject::InvokeMetaMethod, _id=92,
> _a=0x7fffffffcde0)
> >>     at /home/chris/dk/build/core/digikam/digikamview.moc:340
> >> #13 0x00007ffff0ed0d68 in QMetaObject::activate(QObject*, QMetaObject
> >> const*, int, void**) () from /usr/lib64/libQtCore.so.4
> >> #14 0x00007ffff0ed4f31 in QObject::event(QEvent*) () from
> >> /usr/lib64/libQtCore.so.4
> >> #15 0x00007fffefdbf8ac in QApplicationPrivate::notify_helper(QObject*,
> >> QEvent*) () from /usr/lib64/libQtGui.so.4
> >> #16 0x00007fffefdc5e70 in QApplication::notify(QObject*, QEvent*) ()
> from
> >> /usr/lib64/libQtGui.so.4
> >> #17 0x00007ffff192618a in KApplication::notify(QObject*, QEvent*) ()
> from
> >> /usr/lib64/libkdeui.so.5
> >> #18 0x00007ffff0ebd0ad in QCoreApplication::notifyInternal(QObject*,
> >> QEvent*) () from /usr/lib64/libQtCore.so.4
> >> #19 0x00007ffff0eec83c in ?? () from /usr/lib64/libQtCore.so.4
> >> #20 0x00007ffff0ee9b59 in ?? () from /usr/lib64/libQtCore.so.4
> >> #21 0x00007fffe7acb316 in g_main_context_dispatch () from
> >> /usr/lib64/libglib-2.0.so.0
> >> #22 0x00007fffe7acb668 in ?? () from /usr/lib64/libglib-2.0.so.0
> >> #23 0x00007fffe7acb70c in g_main_context_iteration () from
> >> /usr/lib64/libglib-2.0.so.0
> >> #24 0x00007ffff0ee9d55 in
> >>
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> >> () from /usr/lib64/libQtCore.so.4
> >> #25 0x00007fffefe5c936 in ?? () from /usr/lib64/libQtGui.so.4
> >> #26 0x00007ffff0ebbd0f in
> >> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> >> /usr/lib64/libQtCore.so.4
> >> #27 0x00007ffff0ebc005 in
> >> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> >> /usr/lib64/libQtCore.so.4
> >> #28 0x00007ffff0ec113b in QCoreApplication::exec() () from
> >> /usr/lib64/libQtCore.so.4
> >> #29 0x0000000000754204 in main (argc=1, argv=0x7fffffffdd98) at
> >> /home/chris/dk/core/digikam/main/main.cpp:236
> >>
> >> what else can I do to provide more useful information?
> >> As said it only happens on certain folders.
> >>
> >> BR
> >> Chris.
> >
> >
> >
> > _______________________________________________
> > Digikam-users mailing list
> > Digikam-users at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20140803/3e32f940/attachment.html>


More information about the Digikam-users mailing list