Bug 280901 - Crash when rejecting faces in different albums
Summary: Crash when rejecting faces in different albums
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 2.1.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 21:42 UTC by Frederic Grelot
Modified: 2019-12-23 06:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (17.07 KB, text/plain)
2011-11-28 22:13 UTC, quamis
Details
New crash information added by DrKonqi (16.80 KB, text/plain)
2011-11-28 22:18 UTC, quamis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Grelot 2011-08-27 21:42:36 UTC
Application: digikam (2.1.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.40-4.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:
I selected several images detected as faces (but that were not), and clicked on the red cross "If this is not a face, reject it". Digikam immediately crashed.
One specificity is that the images were on few different albums (when I reject several faces on the same album, it works OK).
Actually, when I restart digikam, the faces* have been actually rejected

[*] like in my previous bug report, only half of them have been really rejected but that'll be for another bug...

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff7840f3a40 (LWP 25071))]

Thread 10 (Thread 0x7ff77d3ab700 (LWP 25074)):
#0  0x0000003126ed7423 in poll () from /lib64/libc.so.6
#1  0x0000003128a42d24 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003128a4360d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00000031306b4564 in ?? () from /lib64/libgio-2.0.so.0
#4  0x0000003128a683a6 in ?? () from /lib64/libglib-2.0.so.0
#5  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7ff7719a6700 (LWP 25076)):
#0  0x000000312720b4b5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003133e745db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005c2270 in Digikam::ScanController::run (this=0x2c4faf0) at /raid/home/goulou/digikam/digikam-sc/core/digikam/database/scancontroller.cpp:647
#3  0x0000003133e74145 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ff7711a5700 (LWP 25082)):
#0  0x000000312720b4b5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003133e745db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff784894687 in Digikam::ParkingThread::run (this=0x2dd62d0) at /raid/home/goulou/digikam/digikam-sc/core/libs/threads/threadmanager.cpp:119
#3  0x0000003133e74145 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff7533a3700 (LWP 25094)):
#0  0x000000312720b81f in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003133e7454e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003133e68edf in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003133e74145 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff76bfff700 (LWP 25108)):
#0  0x0000003126ed7423 in poll () from /lib64/libc.so.6
#1  0x0000003128a42d24 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003128a4325c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003133f84d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x0000003133f596c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x0000003133f598bf in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007ff784893d21 in Digikam::WorkerObjectRunnable::run (this=0x3c557d0) at /raid/home/goulou/digikam/digikam-sc/core/libs/threads/threadmanager.cpp:196
#7  0x0000003133e68e55 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003133e74145 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#10 0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff74decd700 (LWP 25109)):
#0  0x0000003126ed7423 in poll () from /lib64/libc.so.6
#1  0x0000003128a42d24 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003128a4325c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003133f84d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x0000003133f596c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x0000003133f598bf in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007ff784893d21 in Digikam::WorkerObjectRunnable::run (this=0x476fa20) at /raid/home/goulou/digikam/digikam-sc/core/libs/threads/threadmanager.cpp:196
#7  0x0000003133e68e55 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003133e74145 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#10 0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff74d2cb700 (LWP 25112)):
#0  0x000000312720b81f in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003133e7454e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003133e68edf in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003133e74145 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff74caca700 (LWP 25113)):
#0  0x000000313e6094d6 in ?? () from /usr/lib64/libgomp.so.1
#1  0x000000313e607ffe in ?? () from /usr/lib64/libgomp.so.1
#2  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff73ffff700 (LWP 25118)):
#0  0x000000313e6094d6 in ?? () from /usr/lib64/libgomp.so.1
#1  0x000000313e607ffe in ?? () from /usr/lib64/libgomp.so.1
#2  0x0000003127207b31 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003126edfd2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff7840f3a40 (LWP 25071)):
[KCrash Handler]
#6  size (this=) at /usr/include/QtCore/qlist.h:94
#7  size (this=) at /usr/include/QtCore/qlist.h:124
#8  Digikam::ImageModel::imageInfo (this=0x0, row=0) at /raid/home/goulou/digikam/digikam-sc/core/libs/models/imagemodel.cpp:191
#9  0x00007ff784280eab in Digikam::ImageModel::retrieveImageInfo (index=<optimized out>) at /raid/home/goulou/digikam/digikam-sc/core/libs/models/imagemodel.cpp:302
#10 0x00000000005ed9e8 in Digikam::DigikamImageView::removeFaces (this=0x2dcf830, indexes=<optimized out>) at /raid/home/goulou/digikam/digikam-sc/core/digikam/items/digikamimageview.cpp:263
#11 0x00000000005edef7 in Digikam::DigikamImageView::qt_metacall (this=0x2dcf830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff566fd1a0) at /raid/home/goulou/digikam/digikam-sc/build/core/digikam/digikamimageview.moc:186
#12 0x0000003133f6ceba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00000000005ff090 in Digikam::FaceRejectionOverlay::rejectFaces (this=<optimized out>, _t1=<optimized out>) at /raid/home/goulou/digikam/digikam-sc/build/core/digikam/facerejectionoverlay.moc:90
#14 0x00000000005ff18c in Digikam::FaceRejectionOverlay::slotClicked (this=0x2e2aa30) at /raid/home/goulou/digikam/digikam-sc/core/digikam/items/facerejectionoverlay.cpp:108
#15 0x00000000005ff231 in Digikam::FaceRejectionOverlay::qt_metacall (this=0x2e2aa30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff566fd2f0) at /raid/home/goulou/digikam/digikam-sc/build/core/digikam/facerejectionoverlay.moc:78
#16 0x0000003133f6ceba in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00000038c7a18df2 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#18 0x00000038c7762cfe in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00000038c776403b in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00000038c77642ac in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00000038c7407b04 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00000038c73b7444 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00000038c73bcbcb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x0000003a35c41d56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x0000003133f5a1ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x00000038c73b8412 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#27 0x00000038c7434095 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00000038c7432f6a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00000038c745a2ec in ?? () from /usr/lib64/libQtGui.so.4
#30 0x0000003128a427ed in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x0000003128a42fc8 in ?? () from /lib64/libglib-2.0.so.0
#32 0x0000003128a4325c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x0000003133f84d0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00000038c7459fde in ?? () from /usr/lib64/libQtGui.so.4
#35 0x0000003133f596c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x0000003133f598bf in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x0000003133f5da07 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#38 0x0000000000489f6d in main (argc=5, argv=<optimized out>) at /raid/home/goulou/digikam/digikam-sc/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 280618.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-08-27 22:00:10 UTC

*** This bug has been marked as a duplicate of bug 277808 ***
Comment 2 quamis 2011-11-28 22:13:51 UTC
Created attachment 66161 [details]
New crash information added by DrKonqi

digikam (2.1.1) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

rejected multiple faces, in 2 different albums. They were faces, but not people i knew, so i just pressed the "cancel" button while multiple pics were selected

-- Backtrace (Reduced):
#7  size (this=) at /usr/include/qt4/QtCore/qlist.h:94
#8  size (this=) at /usr/include/qt4/QtCore/qlist.h:124
#9  Digikam::ImageModel::imageInfo (this=0x0, row=0) at /build/buildd/digikam-2.1.1/core/libs/models/imagemodel.cpp:191
#10 0xb66eb34c in Digikam::ImageModel::retrieveImageInfo (index=...) at /build/buildd/digikam-2.1.1/core/libs/models/imagemodel.cpp:302
#11 0x08228f7a in Digikam::DigikamImageView::removeFaces (this=0xa70e0e0, indexes=...) at /build/buildd/digikam-2.1.1/core/digikam/items/digikamimageview.cpp:263
Comment 3 quamis 2011-11-28 22:18:14 UTC
Created attachment 66162 [details]
New crash information added by DrKonqi

digikam (2.1.1) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

Re-rejected the faces, this time they were in only one album.

-- Backtrace (Reduced):
#7  size (this=) at /usr/include/qt4/QtCore/qlist.h:94
#8  size (this=) at /usr/include/qt4/QtCore/qlist.h:124
#9  Digikam::ImageModel::imageInfo (this=0x0, row=0) at /build/buildd/digikam-2.1.1/core/libs/models/imagemodel.cpp:191
#10 0xb675c34c in Digikam::ImageModel::retrieveImageInfo (index=...) at /build/buildd/digikam-2.1.1/core/libs/models/imagemodel.cpp:302
#11 0x08228f7a in Digikam::DigikamImageView::removeFaces (this=0xa3a0c20, indexes=...) at /build/buildd/digikam-2.1.1/core/digikam/items/digikamimageview.cpp:263
Comment 4 caulier.gilles 2019-12-23 06:22:29 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