Bug 300908 - Kontact crashed while deleting subfolders
Summary: Kontact crashed while deleting subfolders
Status: RESOLVED DUPLICATE of bug 295622
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-31 07:19 UTC by sandhaus
Modified: 2012-07-03 13:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.03 KB, text/plain)
2012-06-09 18:36 UTC, Daniel L McGrew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sandhaus 2012-05-31 07:19:24 UTC
Application: kontact (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

to purge my folders i deleted mails and if a subfolder was empty i deleted this folder.
kontact crashed while deleting an empty subfolder.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8f117007c0 (LWP 3025))]

Thread 4 (Thread 0x7f8ef50bf700 (LWP 3034)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8f0df00dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f8f0df00f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f8f093c7e9a in start_thread (arg=0x7f8ef50bf700) at pthread_create.c:308
#4  0x00007f8f0ec324bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8ef47a6700 (LWP 3035)):
#0  0x00007f8f0ec250bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f8f08f3588f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8f08efaabd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8f08efaf96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8f08efb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8f0f3a7426 in QEventDispatcherGlib::processEvents (this=0x7f8eec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f8f0f376c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8f0f376ed7 in QEventLoop::exec (this=0x7f8ef47a5dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8f0f275fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f8f0f278fcb in QThreadPrivate::start (arg=0x1256d10) at thread/qthread_unix.cpp:298
#10 0x00007f8f093c7e9a in start_thread (arg=0x7f8ef47a6700) at pthread_create.c:308
#11 0x00007f8f0ec324bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8ea719c700 (LWP 3463)):
#0  0x00007f8f0ec26b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8f08efaff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8f08efb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8f0f3a7426 in QEventDispatcherGlib::processEvents (this=0x7f8ea0003b30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8f0f376c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8f0f376ed7 in QEventLoop::exec (this=0x7f8ea719bd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f8f0f275fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f8f0f3569ff in QInotifyFileSystemWatcherEngine::run (this=0x1697cf0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8f0f278fcb in QThreadPrivate::start (arg=0x1697cf0) at thread/qthread_unix.cpp:298
#9  0x00007f8f093c7e9a in start_thread (arg=0x7f8ea719c700) at pthread_create.c:308
#10 0x00007f8f0ec324bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8f117007c0 (LWP 3025)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fffc48b50c0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x15ce9e0, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f8f10a6129a in parent (this=0x7fffc48b5110) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x1744340, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007f8f10a6129a in parent (this=0x7fffc48b5170) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#11 KIdentityProxyModel::parent (this=0x1744e30, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#12 0x00007f8f0f36e5d3 in parent (this=0x7fffc48b51e0) at kernel/qabstractitemmodel.h:393
#13 QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=0x1744e60, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:726
#14 0x00007f8f0f371d48 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=0, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2471
#15 0x00007f8f10a61e9d in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=0, end=0) at ../../kdeui/itemviews/kidentityproxymodel.cpp:715
#16 0x00007f8f0f38c281 in QMetaObject::activate (sender=0x1744340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc48b5450) at kernel/qobject.cpp:3547
#17 0x00007f8f0f3d8694 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#18 0x00007f8f0f371d38 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=0, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2470
#19 0x00007f8f10a61e9d in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=0, end=0) at ../../kdeui/itemviews/kidentityproxymodel.cpp:715
#20 0x00007f8f0f38c281 in QMetaObject::activate (sender=0x15ce9e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc48b5650) at kernel/qobject.cpp:3547
#21 0x00007f8f0f3d8694 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#22 0x00007f8f0f371d38 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=0, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2470
#23 0x00007f8f1031a98d in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x16a6bd0, source_to_proxy=..., proxy_to_source=..., proxy_start=0, proxy_end=<optimized out>, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:557
#24 0x00007f8f1031f43a in QSortFilterProxyModelPrivate::remove_source_items (this=0x16a6bd0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:539
#25 0x00007f8f10320e04 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x16a6bd0, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#26 0x00007f8f0f38c281 in QMetaObject::activate (sender=0x1559f90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc48b5990) at kernel/qobject.cpp:3547
#27 0x00007f8f0f3d8694 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#28 0x00007f8f0f371d38 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=0, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2470
#29 0x00007f8f0b786aa4 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0x16aa090, collection=...) at ../../akonadi/entitytreemodel_p.cpp:805
#30 0x00007f8f0f38c281 in QMetaObject::activate (sender=0x168d480, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc48b5c40) at kernel/qobject.cpp:3547
#31 0x00007f8f0b7be555 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at ./monitor.moc:259
#32 0x00007f8f0b7c2289 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x168d770, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:617
#33 0x00007f8f0b7c3efa in Akonadi::MonitorPrivate::emitNotification (this=0x168d770, msg=...) at ../../akonadi/monitor_p.cpp:285
#34 0x00007f8f0b722991 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x168d770, msg=...) at ../../akonadi/changerecorder_p.h:60
#35 0x00007f8f0b7c40bd in Akonadi::MonitorPrivate::dispatchNotifications (this=0x168d770) at ../../akonadi/monitor_p.cpp:447
#36 0x00007f8f0b7c4744 in Akonadi::MonitorPrivate::slotNotify (this=0x168d770, msgs=...) at ../../akonadi/monitor_p.cpp:418
#37 0x00007f8f0b722c58 in Akonadi::ChangeRecorderPrivate::slotNotify (this=<optimized out>, msgs=...) at ../../akonadi/changerecorder_p.h:51
#38 0x00007f8f0f38c281 in QMetaObject::activate (sender=0x159f5d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc48b6370) at kernel/qobject.cpp:3547
#39 0x00007f8f0b8481c2 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=<optimized out>, _t1=...) at notificationsourceinterface.moc:105
#40 0x00007f8f0b8481fa in OrgFreedesktopAkonadiNotificationSourceInterface::qt_static_metacall (_o=0x159f5d0, _c=<optimized out>, _id=<optimized out>, _a=0x7fffc48b65a0) at notificationsourceinterface.moc:54
#41 0x00007f8f0b8483ab in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x159f5d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc48b65a0) at notificationsourceinterface.moc:95
#42 0x00007f8f0bafa37b in QDBusConnectionPrivate::deliverCall (this=0x1080bf0, object=0x159f5d0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#43 0x00007f8f0f391446 in QObject::event (this=0x159f5d0, e=<optimized out>) at kernel/qobject.cpp:1195
#44 0x00007f8f0fd6c894 in notify_helper (e=0x1ddb0f0, receiver=0x159f5d0, this=0x1097af0) at kernel/qapplication.cpp:4559
#45 QApplicationPrivate::notify_helper (this=0x1097af0, receiver=0x159f5d0, e=0x1ddb0f0) at kernel/qapplication.cpp:4531
#46 0x00007f8f0fd71713 in QApplication::notify (this=0x7fffc48b6fa0, receiver=0x159f5d0, e=0x1ddb0f0) at kernel/qapplication.cpp:4420
#47 0x00007f8f10aa5b46 in KApplication::notify (this=0x7fffc48b6fa0, receiver=0x159f5d0, event=0x1ddb0f0) at ../../kdeui/kernel/kapplication.cpp:311
#48 0x00007f8f0f377e9c in QCoreApplication::notifyInternal (this=0x7fffc48b6fa0, receiver=0x159f5d0, event=0x1ddb0f0) at kernel/qcoreapplication.cpp:876
#49 0x00007f8f0f37bc6a in sendEvent (event=0x1ddb0f0, receiver=0x159f5d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1060380) at kernel/qcoreapplication.cpp:1500
#51 0x00007f8f0f3a6f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007f8f08efac9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f8f08efb060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f8f08efb124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f8f0f3a73bf in QEventDispatcherGlib::processEvents (this=0x1061c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007f8f0fe14d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f8f0f376c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f8f0f376ed7 in QEventLoop::exec (this=0x7fffc48b6f30, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f8f0f37bf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#61 0x0000000000403629 in main (argc=3, argv=0x7fffc48b75c8) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 299495, bug 298963, bug 298516, bug 298141, bug 297430.

Reported using DrKonqi
Comment 1 Daniel L McGrew 2012-06-09 18:36:33 UTC
Created attachment 71686 [details]
New crash information added by DrKonqi

kontact (4.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:
I had made a new folder (Newsletters), Newsletters. Kontact/Kmail would not let me make the folder outside of another folder. So, I made the folder within the inbox folder. Then, I made another folder (NewsAgency) inside the 'Newsletter' folder. I then moved closed the filters box and clicked on the inbox. I moved the folder, 'Newsletters', with the folder 'NewsAgency' inside of it to 'localfolders'. 

- Unusual behavior I noticed:
That's when it crashed. If I simply make a single folder in filters and then move it, there will be no crash. If I make one folder inside of another, that is a subfolder within a folder, and then attempt to move them, it crashed. Once kmail is restarted and I move them, it doesn't crash. 

- Custom settings of the application:
The only custom settings are filters to move mail from the inbox to specific folders, for instance 'Newsletters'/NewsAgency

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=0x7fffe28f7d00) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x28baec0, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f4447b5930a in parent (this=0x7fffe28f7d50) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x2a210e0, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007f4447b5930a in parent (this=0x7fffe28f7db0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
Comment 2 Jekyll Wu 2012-07-03 13:51:22 UTC

*** This bug has been marked as a duplicate of bug 295622 ***