Bug 317440 - Digikam crashes after deleting a tag
Summary: Digikam crashes after deleting a tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 12:58 UTC by jonathan_zaccaria
Modified: 2019-12-25 15:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan_zaccaria 2013-03-27 12:58:22 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-25-generic i686
Distribution: Ubuntu 12.10

-- Information about the crash:
ubuntu 12.10
Digikam 2.8.0
on the right tag list, when I delete a tag, (that is used on somewhere on a photo, but unchecked, because this tag is not used in the current folder), when I click on the box "confirm that you want to delete this tag even if it is used on a photo", Digikam crashes. It happens every time.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaed858c0 (LWP 6921))]

Thread 8 (Thread 0xacaffb40 (LWP 6923)):
#0  0xb7745424 in __kernel_vsyscall ()
#1  0xb472b5f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb30a174b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3092d00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30931db in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xaf91bb7a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb30b8303 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3444d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4739d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xab610b40 (LWP 6924)):
#0  0xb7745424 in __kernel_vsyscall ()
#1  0xb344896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb474764c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a10030 in wait (time=4294967295, this=0xa03fde8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa03fd54, mutex=0xa03fd50, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x081f2389 in Digikam::ScanController::run() ()
#6  0xb4a0fa58 in QThreadPrivate::start (arg=0xa03ec68) at thread/qthread_unix.cpp:338
#7  0xb3444d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4739d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xaacffb40 (LWP 6925)):
#0  0xb2ef7dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb4a6dfb5 in do_gettime (frac=0xaacfedf0, sec=0xaacfede8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4b5536e in QTimerInfoList::updateCurrentTime (this=0xa05e644) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb4b556fa in QTimerInfoList::timerWait (this=0xa05e644, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 5 (Thread 0xaa4feb40 (LWP 6927)):
#0  0xb7745424 in __kernel_vsyscall ()
#1  0xb344896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb474764c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a10030 in wait (time=4294967295, this=0xa0ab5f0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa1c3500, mutex=0xa1c34fc, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb69dbfba in Digikam::ParkingThread::run() () from /usr/lib/libdigikamcore.so.2
#6  0xb4a0fa58 in QThreadPrivate::start (arg=0xa1c34f0) at thread/qthread_unix.cpp:338
#7  0xb3444d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb4739d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa2991b40 (LWP 7016)):
#0  0xb2ef7dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb4a6dfb5 in do_gettime (frac=0xa2990e10, sec=0xa2990e08) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4b5536e in QTimerInfoList::updateCurrentTime (this=0xacb1b2cc) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb4b556fa in QTimerInfoList::timerWait (this=0xacb1b2cc, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 3 (Thread 0xa17ffb40 (LWP 7017)):
#0  0xb47478a4 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb30d3f10 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb30927ba in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3092c92 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3092e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4b5499f in QEventDispatcherGlib::processEvents (this=0xac103bd8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4b2126c in QEventLoop::processEvents (this=this@entry=0xa17ff0b8, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4b21561 in QEventLoop::exec (this=0xa17ff0b8, flags=...) at kernel/qeventloop.cpp:204
#8  0xb69db540 in Digikam::WorkerObjectRunnable::run() () from /usr/lib/libdigikamcore.so.2
#9  0xb4a02444 in QThreadPoolThread::run (this=0xb952520) at concurrent/qthreadpool.cpp:107
#10 0xb4a0fa58 in QThreadPrivate::start (arg=0xb952520) at thread/qthread_unix.cpp:338
#11 0xb3444d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4739d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa4995b40 (LWP 7288)):
#0  0xb7745424 in __kernel_vsyscall ()
#1  0xb472b5f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb30a174b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3092d00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3092e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4b5499f in QEventDispatcherGlib::processEvents (this=0xc043e90, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4b2126c in QEventLoop::processEvents (this=this@entry=0xa49950b8, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4b21561 in QEventLoop::exec (this=0xa49950b8, flags=...) at kernel/qeventloop.cpp:204
#8  0xb69db540 in Digikam::WorkerObjectRunnable::run() () from /usr/lib/libdigikamcore.so.2
#9  0xb4a02444 in QThreadPoolThread::run (this=0xa22c690) at concurrent/qthreadpool.cpp:107
#10 0xb4a0fa58 in QThreadPrivate::start (arg=0xa22c690) at thread/qthread_unix.cpp:338
#11 0xb3444d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4739d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xaed858c0 (LWP 6921)):
[KCrash Handler]
#7  QSortFilterProxyModelPrivate::updateChildrenMapping (this=0xaaa1a30, source_parent=..., parent_mapping=0xad25c48, orient=Qt::Vertical, start=137, end=137, delta_item_count=1, remove=true) at itemviews/qsortfilterproxymodel.cpp:948
#8  0xb56b9f7c in source_items_removed (orient=Qt::Vertical, end=137, start=137, source_parent=..., this=0xaaa1a30) at itemviews/qsortfilterproxymodel.cpp:890
#9  QSortFilterProxyModelPrivate::source_items_removed (this=0xaaa1a30, source_parent=..., start=137, end=137, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:848
#10 0xb56ba15b in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved (this=0xaaa1a30, source_parent=..., start=137, end=137) at itemviews/qsortfilterproxymodel.cpp:1298
#11 0xb4b3aed6 in QMetaObject::activate (sender=0xaaa30e0, m=0x850bde0 <QAbstractItemModel::staticMetaObject>, local_signal_index=7, argv=0xbfd2a6b0) at kernel/qobject.cpp:3547
#12 0xb4b8a8b5 in QAbstractItemModel::rowsRemoved (this=0xaaa30e0, _t1=..., _t2=137, _t3=137) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#13 0xb4b1b77e in QAbstractItemModel::endRemoveRows (this=0xaaa30e0) at kernel/qabstractitemmodel.cpp:2487
#14 0xb56b8735 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0xaaa3108, source_to_proxy=..., proxy_to_source=..., proxy_start=137, proxy_end=137, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:569
#15 0xb56bd4f8 in QSortFilterProxyModelPrivate::remove_source_items (this=0xaaa3108, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:539
#16 0xb56bed2b in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=this@entry=0xaaa3108, source_parent=..., start=start@entry=138, end=end@entry=138, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#17 0xb56bee26 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeRemoved (this=0xaaa3108, source_parent=..., start=138, end=138) at itemviews/qsortfilterproxymodel.cpp:1291
#18 0xb4b3aed6 in QMetaObject::activate (sender=0xaa9d228, m=0x850bde0 <QAbstractItemModel::staticMetaObject>, local_signal_index=6, argv=0xbfd2a930) at kernel/qobject.cpp:3547
#19 0xb4b8a855 in QAbstractItemModel::rowsAboutToBeRemoved (this=0xaa9d228, _t1=..., _t2=138, _t3=138) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#20 0xb4b19468 in QAbstractItemModel::beginRemoveRows (this=0xaa9d228, parent=..., first=138, last=138) at kernel/qabstractitemmodel.cpp:2470
#21 0x08195df0 in Digikam::AbstractAlbumModel::slotAlbumAboutToBeDeleted(Digikam::Album*) ()
#22 0x08194592 in Digikam::AbstractAlbumModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#23 0xb4b3aed6 in QMetaObject::activate (sender=0xa0212a8, m=0x83b4454 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=2, argv=0xbfd2aae8) at kernel/qobject.cpp:3547
#24 0x081bef68 in Digikam::AlbumManager::signalAlbumAboutToBeDeleted(Digikam::Album*) ()
#25 0x081cc9e9 in Digikam::AlbumManager::removeTAlbum(Digikam::TAlbum*) ()
#26 0x081cabc5 in Digikam::AlbumManager::deleteTAlbum(Digikam::TAlbum*, QString&) ()
#27 0x08253d1c in Digikam::TagModificationHelper::slotTagDelete(Digikam::TAlbum*) ()
#28 0x08253faf in Digikam::TagModificationHelper::slotTagDelete() ()
#29 0x08252a3f in Digikam::TagModificationHelper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#30 0xb4b3aed6 in QMetaObject::activate (sender=0xb877328, m=0x850d950 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfd2ad68) at kernel/qobject.cpp:3547
#31 0xb508810d in QAction::triggered (this=this@entry=0xb877328, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#32 0xb50883ac in QAction::activate (this=0xb877328, event=QAction::Trigger) at kernel/qaction.cpp:1257
#33 0xb553a225 in QMenuPrivate::activateCausedStack (this=0xbe8c488, causedStack=..., action=0xb877328, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#34 0xb5541326 in QMenuPrivate::activateAction (this=0xbe8c488, action=0xb877328, action_e=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1120
#35 0xb5542275 in QMenu::mouseReleaseEvent (this=0xbfd2bdb8, e=0xbfd2b5f4) at widgets/qmenu.cpp:2360
#36 0xb5cdafbc in KMenu::mouseReleaseEvent (this=0xbfd2bdb8, e=0xbfd2b5f4) at ../../kdeui/widgets/kmenu.cpp:464
#37 0xb50e86df in QWidget::event (this=0xbfd2bdb8, event=0xbfd2b5f4) at kernel/qwidget.cpp:8371
#38 0xb554276c in QMenu::event (this=0xbfd2bdb8, e=0xbfd2b5f4) at widgets/qmenu.cpp:2469
#39 0xb508f39c in QApplicationPrivate::notify_helper (this=0x9e71f10, receiver=0xbfd2bdb8, e=0xbfd2b5f4) at kernel/qapplication.cpp:4562
#40 0xb5094892 in QApplication::notify (this=0x9e71f10, receiver=0xbfd2bdb8, e=0xbfd2b5f4) at kernel/qapplication.cpp:4105
#41 0xb5c02ec1 in KApplication::notify (this=0xbfd2cf38, receiver=0xbfd2bdb8, event=0xbfd2b5f4) at ../../kdeui/kernel/kapplication.cpp:311
#42 0xb4b2278e in QCoreApplication::notifyInternal (this=0xbfd2cf38, receiver=0xbfd2bdb8, event=0xbfd2b5f4) at kernel/qcoreapplication.cpp:915
#43 0xb5090206 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=0xbfd2bdb8, event=0xbfd2b5f4, alienWidget=0x0, nativeWidget=0xbfd2bdb8, buttonDown=0xb5a20d14 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#45 0xb511b91f in QETWidget::translateMouseEvent (this=0xbfd2bdb8, event=0xbfd2ba1c) at kernel/qapplication_x11.cpp:4556
#46 0xb511a705 in QApplication::x11ProcessEvent (this=0xbfd2cf38, event=0xbfd2ba1c) at kernel/qapplication_x11.cpp:3737
#47 0xb5145dc4 in x11EventSourceDispatch (s=0x9e72c68, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb30929e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb3092d80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb3092e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb4b54981 in QEventDispatcherGlib::processEvents (this=0x9e29010, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0xb51459aa in QGuiEventDispatcherGlib::processEvents (this=0x9e29010, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb4b2126c in QEventLoop::processEvents (this=this@entry=0xbfd2bd08, flags=...) at kernel/qeventloop.cpp:149
#54 0xb4b21561 in QEventLoop::exec (this=0xbfd2bd08, flags=...) at kernel/qeventloop.cpp:204
#55 0xb553eb27 in QMenu::exec (this=0xbfd2bdb8, p=..., action=0x0) at widgets/qmenu.cpp:2113
#56 0x08261b64 in Digikam::ContextMenuHelper::exec(QPoint const&, QAction*) ()
#57 0x081e6ec1 in Digikam::AbstractAlbumTreeView::contextMenuEvent(QContextMenuEvent*) ()
#58 0xb50e8b85 in QWidget::event (this=0xaa9d4c8, event=0xbfd2c600) at kernel/qwidget.cpp:8538
#59 0xb54f8f15 in QFrame::event (this=0xaa9d4c8, e=0xbfd2c600) at widgets/qframe.cpp:557
#60 0xb5589733 in QAbstractScrollArea::viewportEvent (this=0xaa9d4c8, e=0xbfd2c600) at widgets/qabstractscrollarea.cpp:1043
#61 0xb562a04c in QAbstractItemView::viewportEvent (this=0xaa9d4c8, event=0xbfd2c600) at itemviews/qabstractitemview.cpp:1644
#62 0xb56746c7 in QTreeView::viewportEvent (this=0xaa9d4c8, event=0xbfd2c600) at itemviews/qtreeview.cpp:1257
#63 0x081e57d6 in Digikam::AbstractAlbumTreeView::viewportEvent(QEvent*) ()
#64 0xb558bef6 in viewportEvent (event=0xbfd2c600, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#65 QAbstractScrollAreaFilter::eventFilter (this=0xaa9f960, o=0xaa9d1c0, e=0xbfd2c600) at widgets/qabstractscrollarea_p.h:116
#66 0xb4b228fe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9e71f10, receiver=0xaa9d1c0, event=0xbfd2c600) at kernel/qcoreapplication.cpp:1025
#67 0xb508f36d in QApplicationPrivate::notify_helper (this=0x9e71f10, receiver=0xaa9d1c0, e=0xbfd2c600) at kernel/qapplication.cpp:4558
#68 0xb5094aab in QApplication::notify (this=0xbfd2c380, receiver=0xaa9d1c0, e=0xbfd2c600) at kernel/qapplication.cpp:4184
#69 0xb5c02ec1 in KApplication::notify (this=0xbfd2cf38, receiver=0xaa9d1c0, event=0xbfd2c600) at ../../kdeui/kernel/kapplication.cpp:311
#70 0xb4b2278e in QCoreApplication::notifyInternal (this=0xbfd2cf38, receiver=0xaa9d1c0, event=0xbfd2c600) at kernel/qcoreapplication.cpp:915
#71 0xb511bae8 in sendSpontaneousEvent (event=0xbfd2c5f0, receiver=0xaa9d1c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#72 QETWidget::translateMouseEvent (this=0xaa9d1c0, event=0xbfd2ca4c) at kernel/qapplication_x11.cpp:4627
#73 0xb511a705 in QApplication::x11ProcessEvent (this=0xbfd2cf38, event=0xbfd2ca4c) at kernel/qapplication_x11.cpp:3737
#74 0xb5145dc4 in x11EventSourceDispatch (s=0x9e72c68, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#75 0xb30929e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#76 0xb3092d80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#77 0xb3092e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#78 0xb4b54981 in QEventDispatcherGlib::processEvents (this=0x9e29010, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#79 0xb51459aa in QGuiEventDispatcherGlib::processEvents (this=0x9e29010, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#80 0xb4b2126c in QEventLoop::processEvents (this=this@entry=0xbfd2cd48, flags=...) at kernel/qeventloop.cpp:149
#81 0xb4b21561 in QEventLoop::exec (this=0xbfd2cd48, flags=...) at kernel/qeventloop.cpp:204
#82 0xb4b26cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#83 0xb508cfc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#84 0x082b77bf in main ()

Possible duplicates by query: bug 314152, bug 312372, bug 310950, bug 309061, bug 306051.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-03-28 09:11:27 UTC

*** This bug has been marked as a duplicate of bug 309061 ***
Comment 2 caulier.gilles 2019-12-25 15:44:26 UTC
Not reproducible using digiKam 7.0.0 beta1.