Bug 302359 - crash creating a tag while scanning faces
Summary: crash creating a tag while scanning faces
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 3.0.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-22 17:28 UTC by Jaime Torres
Modified: 2020-08-12 08:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
the backtrace. (66.75 KB, application/octet-stream)
2012-06-22 17:29 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2012-06-22 17:28:49 UTC
I started Detect and recognice faces with Clear uncormirmed results and rescan. Keep on Thumbnails view, with no picture selected.
There is no progress bar, no way to know if it is doing anything, except cpu is busy (but his is another bug).
While it is scanning, I create a tag.
Digikam shows a Dialog probably for each image scanned for faces. In my test, it has been 8 dialogs all asking the same, if I want to apply the changes.
When I press ok in the last one (first to be shown), crash.

Console output:

Object::connect: No such slot Digikam::ContextMenuHelper::slotABCContextMenu() in /g/kdegit/extragear/graphics/digikam/digikam/utils/contextmenuhelper.cpp:578

Related to bug 297558

The crash can be reproduced every time.


Reproducible: Always
Comment 1 Jaime Torres 2012-06-22 17:29:51 UTC
Created attachment 72051 [details]
the backtrace.
Comment 2 caulier.gilles 2012-06-22 18:55:05 UTC
Git commit bd6288c269f9c065bf7c9d285d2a43103eeb1c88 by Gilles Caulier.
Committed on 22/06/2012 at 20:54.
Pushed by cgilles into branch 'master'.

fix broken signal/slot

M  +2    -1    digikam/utils/contextmenuhelper.cpp

http://commits.kde.org/digikam/bd6288c269f9c065bf7c9d285d2a43103eeb1c88
Comment 3 caulier.gilles 2012-06-22 18:56:19 UTC
crash backtrace extracted form your log :

Thread 1 (Thread 0x7f29eacb2900 (LWP 24390)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x54005500417540) at /usr/lib/qt4.5/include/QtCore/qatomic_x86_64.h:121
#7  0x00007f29e715cf3f in Digikam::DSharedDataPointer<Digikam::ImageInfoData>::assign (this=this@entry=0x7f29a865ca48, o=...) at /g/kdegit/extragear/graphics/digikam/libs/dimg/dshareddata.h:230
#8  0x00007f29e715cf8e in Digikam::DSharedDataPointer<Digikam::ImageInfoData>::operator= (this=this@entry=0x7f29a865ca48, o=...) at /g/kdegit/extragear/graphics/digikam/libs/dimg/dshareddata.h:204
#9  0x00007f29e7156c20 in Digikam::ImageInfo::ImageInfo (this=0x7f29a865ca48, info=...) at /g/kdegit/extragear/graphics/digikam/libs/database/imageinfo.cpp:256
#10 0x00000000004a62ba in QList<Digikam::ImageInfo>::append (this=this@entry=0x7fff7ab00e30, t=...) at /usr/lib/qt4.5/include/QtCore/qlist.h:512
#11 0x00000000004a6349 in QList<Digikam::ImageInfo>::operator<< (this=this@entry=0x7fff7ab00e30, t=...) at /usr/lib/qt4.5/include/QtCore/qlist.h:334
#12 0x00000000004b6e10 in Digikam::ImageDescEditTab::setItem (this=0x7f29bc4f7580, info=...) at /g/kdegit/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp:695
#13 0x00000000004adca9 in Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=this@entry=0x7f29be74d600, tab=0x7f29bc4f7580) at /g/kdegit/extragear/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:294
#14 0x00000000004ad6f5 in Digikam::ImagePropertiesSideBarDB::itemChanged (this=this@entry=0x7f29be74d600, infos=..., rect=..., img=img@entry=0x0, history=...) at /g/kdegit/extragear/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:195
#15 0x00000000004ad79f in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x7f29be74d600, infos=...) at /g/kdegit/extragear/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:171
#16 0x00000000006311af in Digikam::DigikamView::slotDispatchImageSelected (this=0x7f29c50fc780) at /g/kdegit/extragear/graphics/digikam/digikam/views/digikamview.cpp:1153
#17 0x00007f29e29c749f in QMetaObject::activate (sender=0x7f29bc09d2a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3547
#18 0x00007f29e29c687c in QObject::event (this=0x7f29bc09d2a0, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:1157
#19 0x00007f29e36ca211 in QApplicationPrivate::notify_helper (this=this@entry=0x7f29c9c91380, receiver=receiver@entry=0x7f29bc09d2a0, e=e@entry=0x7fff7ab01890) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4551
#20 0x00007f29e36cf2b9 in QApplication::notify (this=0x7fff7ab05700, receiver=0x7f29bc09d2a0, e=0x7fff7ab01890) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4412
#21 0x00007f29e4512ece in KApplication::notify (this=0x7fff7ab05700, receiver=0x7f29bc09d2a0, event=0x7fff7ab01890) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#22 0x00007f29e29afced in QCoreApplication::notifyInternal (this=0x7fff7ab05700, receiver=0x7f29bc09d2a0, event=0x7fff7ab01890) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:915
#23 0x00007f29e29e40d2 in QCoreApplication::sendEvent (event=0x7fff7ab01890, receiver=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:231
#24 QTimerInfoList::activateTimers (this=0x7f29c9c5ba20) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:611
#25 0x00007f29e29e0b04 in timerSourceDispatch (source=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:186
Comment 4 caulier.gilles 2012-06-22 19:00:59 UTC
Same backtrace than #282510

Gilles Caulier

*** This bug has been marked as a duplicate of bug 282510 ***
Comment 5 caulier.gilles 2019-12-23 07:17:28 UTC
Problem is fixed with new 7.0.0-beta1 through this long story from this bug

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

You can test digiKam 7.0.0-beta1 with bundle available here:

https://download.kde.org/unstable/digikam/

Don't hesitate to give us a fresh feedback about his entry.

Thanks in advance

Gilles Caulier