Bug 280958 - Removing non-faces crashes Digikam
Summary: Removing non-faces crashes Digikam
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 2.0.0
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 20:44 UTC by Jeff Robinson
Modified: 2019-12-23 06:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Robinson 2011-08-28 20:44:19 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.4-smp i686
Distribution (Platform): Slackware Packages

-- Information about the crash:
When selecting a group of images were non-faces in the facial recognition section of Digikam, clicking the "delete" button caused Digikam to crash.  Prior to this crash, when trying to "delete" a multiple image selection of non-faces only one image at a time was being removed.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0xb0017740 (LWP 10337))]

Thread 12 (Thread 0xaeae2b70 (LWP 10345)):
#0  0xb4a14210 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4abc107 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x0821fd07 in Digikam::ScanController::run (this=0x86ae8d8) at /usr/src/digikam-2.0.0/core/digikam/database/scancontroller.cpp:618
#3  0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#5  0xb47da15e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xae2e2b70 (LWP 10350)):
#0  0xb4a14210 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4abc107 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0xb67f5950 in Digikam::ParkingThread::run (this=0x883a648) at /usr/src/digikam-2.0.0/core/libs/threads/threadmanager.cpp:119
#3  0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#5  0xb47da15e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xab54fb70 (LWP 10363)):
#0  0xb4a14528 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xab957f49 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xaa8e3b70 (LWP 10365)):
#0  0xb47d2597 in select () from /lib/libc.so.6
#1  0xab9822b4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00000000 in ?? ()

Thread 8 (Thread 0xaa0e3b70 (LWP 10366)):
#0  0xb4a13451 in pthread_mutex_unlock () from /lib/libpthread.so.0
#1  0xb375c1de in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb375c5b1 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb375cac3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb4be8aef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4bbb689 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4bbbada in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4ab8478 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xab9a586a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#10 0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#11 0xb47da15e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xa98e3b70 (LWP 10369)):
#0  0xb47cf71c in poll () from /lib/libc.so.6
#1  0xaad36081 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xa90e3b70 (LWP 10370)):
#0  0xb4a14210 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xab969b18 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa884bb70 (LWP 10614)):
#0  0xb4a14210 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4abc107 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0xa7a65100 in KIPIJPEGLossLessPlugin::ActionThread::run (this=0xa0b40f8) at /usr/src/digikam-2.0.0/extra/kipi-plugins/jpeglossless/plugin/actionthread.cpp:190
#3  0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#5  0xb47da15e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa23ffb70 (LWP 10766)):
#0  0xb4a13490 in pthread_mutex_unlock () from /lib/libpthread.so.0
#1  0xb375c83f in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb375cac3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb4be8aef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb4bbb689 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4bbbada in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb67f4e22 in Digikam::WorkerObjectRunnable::run (this=0xd7704b0) at /usr/src/digikam-2.0.0/core/libs/threads/threadmanager.cpp:196
#7  0xb4ab0d4c in ?? () from /usr/lib/libQtCore.so.4
#8  0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#9  0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#10 0xb47da15e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x946c1b70 (LWP 10768)):
#0  0xb476db04 in _int_malloc () from /lib/libc.so.6
#1  0xb4770369 in _int_realloc () from /lib/libc.so.6
#2  0xb47708c7 in realloc () from /lib/libc.so.6
#3  0xb4ab5964 in qRealloc(void*, unsigned int) () from /usr/lib/libQtCore.so.4
#4  0xb4b1417c in QVectorData::reallocate(QVectorData*, int, int, int) () from /usr/lib/libQtCore.so.4
#5  0xb7787984 in ?? () from /usr/lib/libQtSql.so.4
#6  0xb7796800 in ?? () from /usr/lib/libQtSql.so.4
#7  0xb77952aa in QSqlResult::bindValue(int, QVariant const&, QFlags<QSql::ParamTypeFlag>) () from /usr/lib/libQtSql.so.4
#8  0xb7785375 in QSqlQuery::bindValue(int, QVariant const&, QFlags<QSql::ParamTypeFlag>) () from /usr/lib/libQtSql.so.4
#9  0xb6789080 in Digikam::DatabaseCoreBackend::execQuery (this=0x86d1340, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...)
    at /usr/src/digikam-2.0.0/core/libs/database/databasecorebackend.cpp:1076
#10 0xb67890de in Digikam::DatabaseCoreBackend::execQuery (this=0x86d1340, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...)
    at /usr/src/digikam-2.0.0/core/libs/database/databasecorebackend.cpp:1022
#11 0xb678913c in Digikam::DatabaseCoreBackend::execSql (this=0x86d1340, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=0x0, lastInsertId=0x946c0d90)
    at /usr/src/digikam-2.0.0/core/libs/database/databasecorebackend.cpp:921
#12 0xb679431a in Digikam::ThumbnailDB::insertThumbnail (this=0x86d2f70, info=..., lastInsertId=0x946c0e5c) at /usr/src/digikam-2.0.0/core/libs/database/thumbnaildb.cpp:262
#13 0xb67d251a in Digikam::ThumbnailCreator::storeInDatabase (this=0x8859c48, info=..., image=...) at /usr/src/digikam-2.0.0/core/libs/threadimageio/thumbnailcreator.cpp:753
#14 0xb67d4f5f in Digikam::ThumbnailCreator::load (this=0x8859c48, path=..., rect=..., pregenerate=true) at /usr/src/digikam-2.0.0/core/libs/threadimageio/thumbnailcreator.cpp:264
#15 0xb67d51f7 in Digikam::ThumbnailCreator::pregenerate (this=0x8859c48, path=...) at /usr/src/digikam-2.0.0/core/libs/threadimageio/thumbnailcreator.cpp:180
#16 0xb67df7a9 in Digikam::ThumbnailLoadingTask::execute (this=0x8f80e6b8) at /usr/src/digikam-2.0.0/core/libs/threadimageio/thumbnailtask.cpp:79
#17 0xb67b2eb9 in Digikam::LoadSaveThread::run (this=0x8862fe0) at /usr/src/digikam-2.0.0/core/libs/threadimageio/loadsavethread.cpp:118
#18 0xb67f75f2 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x886a2f8) at /usr/src/digikam-2.0.0/core/libs/threads/dynamicthread.cpp:328
#19 0xb4ab0d4c in ?? () from /usr/lib/libQtCore.so.4
#20 0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#21 0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#22 0xb47da15e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa1bffb70 (LWP 10770)):
#0  0xb47cf71c in poll () from /lib/libc.so.6
#1  0xb37695cb in g_poll () from /usr/lib/libglib-2.0.so.0
#2  0xb375c7cb in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb375cac3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb4be8aef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4bbb689 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4bbbada in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb67f4e22 in Digikam::WorkerObjectRunnable::run (this=0xba68b10) at /usr/src/digikam-2.0.0/core/libs/threads/threadmanager.cpp:196
#8  0xb4ab0d4c in ?? () from /usr/lib/libQtCore.so.4
#9  0xb4abb1de in ?? () from /usr/lib/libQtCore.so.4
#10 0xb4a0f830 in start_thread () from /lib/libpthread.so.0
#11 0xb47da15e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb0017740 (LWP 10337)):
[KCrash Handler]
#5  0xb641843e in Digikam::ImageModel::imageInfo (this=0x0, row=0) at /usr/src/digikam-2.0.0/core/libs/models/imagemodel.cpp:191
#6  0xb6418912 in Digikam::ImageModel::retrieveImageInfo (index=...) at /usr/src/digikam-2.0.0/core/libs/models/imagemodel.cpp:302
#7  0x08250958 in Digikam::DigikamImageView::removeFaces (this=0x88ac6d8, indexes=...) at /usr/src/digikam-2.0.0/core/digikam/items/digikamimageview.cpp:264
#8  0x08250ec9 in Digikam::DigikamImageView::qt_metacall (this=0x88ac6d8, _c=QMetaObject::InvokeMetaMethod, _id=150, _a=0xbfd5a328)
    at /usr/src/digikam-2.0.0/build/core/digikam/digikamimageview.moc:186
#9  0xb4bc226a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#10 0xb4bd0885 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x08263b67 in Digikam::FaceRejectionOverlay::rejectFaces (this=0x87f73f8, _t1=...) at /usr/src/digikam-2.0.0/build/core/digikam/facerejectionoverlay.moc:90
#12 0x08263bbb in Digikam::FaceRejectionOverlay::slotClicked (this=0x87f73f8) at /usr/src/digikam-2.0.0/core/digikam/items/facerejectionoverlay.cpp:108
#13 0x08263c51 in Digikam::FaceRejectionOverlay::qt_metacall (this=0x87f73f8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfd5a4c8)
    at /usr/src/digikam-2.0.0/build/core/digikam/facerejectionoverlay.moc:78
#14 0xb4bc226a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb4bd0885 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb58ffa29 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#17 0xb55d9299 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb55da0e4 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb55da39e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb5231f58 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb55d913e in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb51d3d0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb51db2fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb5d49e1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb4bbd06b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0xb51da252 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#27 0xb5264e4c in ?? () from /usr/lib/libQtGui.so.4
#28 0xb52643fb in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb52911f2 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb37590f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb375c990 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0xb375cac3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb4be8ab5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb5290d55 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb4bbb689 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb4bbbada in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb4bbfc6f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0xb51d3da7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0x0830f491 in main (argc=1, argv=0xbfd5b754) at /usr/src/digikam-2.0.0/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 280620.

Possible duplicates by query: bug 280901, bug 280620.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-08-29 04:28:34 UTC

*** This bug has been marked as a duplicate of bug 280620 ***
Comment 2 caulier.gilles 2019-12-23 06:21:45 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