Bug 309147 - KMail crashed after editing the local subscriptions
Summary: KMail crashed after editing the local subscriptions
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-28 14:17 UTC by Elias Probst
Modified: 2017-01-07 21:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2012-10-28 14:17:18 UTC
Application: kontact (4.9.2)
KDE Platform Version: 4.9.2 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.6.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
→ Rightclicked on the toplevel element of an IMAP account
→ Selected "Manage Local Subscriptions" from the context menu
→ De-selected some directories
→ Clicked OK to confirm
→ KMail crashed

After restarting KMail, the changed subscription settings were actually applied and trying to reproduce this issue didn't work.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc4067b6780 (LWP 958))]

Thread 3 (Thread 0x7fc401a41700 (LWP 959)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc4196cfe54 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fc414af4d96 in start_thread (arg=0x7fc401a41700) at pthread_create.c:305
#3  0x00007fc41a86546d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc401140700 (LWP 960)):
#0  0x00007fc41a857a6d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fc413d0a550 in read (__nbytes=16, __buf=0x7fc40113fc50, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x64aec0) at gwakeup.c:212
#3  0x00007fc413ccd2e4 in g_main_context_check (context=0x7fc3fc0009a0, max_priority=2147483647, fds=0x7fc3fc0029c0, n_fds=1) at gmain.c:2980
#4  0x00007fc413ccd72c in g_main_context_iterate (context=0x7fc3fc0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3143
#5  0x00007fc413ccd8a4 in g_main_context_iteration (context=0x7fc3fc0009a0, may_block=1) at gmain.c:3207
#6  0x00007fc41bca28e6 in QEventDispatcherGlib::processEvents (this=0x7fc3fc0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fc41bc724f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fc41bc727a5 in QEventLoop::exec (this=0x7fc40113fde0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fc41bb6cd38 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fc41bb6f3f6 in QThreadPrivate::start (arg=0x85b510) at thread/qthread_unix.cpp:338
#11 0x00007fc414af4d96 in start_thread (arg=0x7fc401140700) at pthread_create.c:305
#12 0x00007fc41a86546d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc4067b6780 (LWP 958)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x7ea7c40, source_parent=..., parent_mapping=0x7eb7150, orient=132807936, start=21118432, end=12, delta_item_count=1, remove=true) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x00007fc41b59a06e in QSortFilterProxyModelPrivate::source_items_removed (this=0x7ea7c40, source_parent=..., start=12, end=12, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:890
#8  0x00007fc41bc7cb7a in QMetaMethod::invoke (this=0x7ffffa81ef10, object=0x7ea7400, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#9  0x00007fc41bc7d8f7 in QMetaObject::invokeMethod (obj=0x7ea7400, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#10 0x00007fc41c6e5b9e in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7fc41c893994 "_q_sourceRowsRemoved", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#11 invokeRowsRemoved (end=12, start=12, source_parent=..., this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kdeui/itemviews/krecursivefilterproxymodel.cpp:88
#12 KRecursiveFilterProxyModelPrivate::sourceRowsRemoved (this=0x7ea74d0, source_parent=..., start=<optimized out>, end=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kdeui/itemviews/krecursivefilterproxymodel.cpp:250
#13 0x00007fc41bc88fcb in QMetaObject::activate (sender=0x7ea6fd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffa81f240) at kernel/qobject.cpp:3547
#14 0x00007fc41bcd3fd4 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=<optimized out>, _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#15 0x00007fc41bc6d9bb in QAbstractItemModel::endRemoveRows (this=0x7ea6fd0) at kernel/qabstractitemmodel.cpp:2487
#16 0x00007fc41bc88fcb in QMetaObject::activate (sender=0x7ea6540, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffa81f410) at kernel/qobject.cpp:3547
#17 0x00007fc41bcd3fd4 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=<optimized out>, _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#18 0x00007fc41bc6d9bb in QAbstractItemModel::endRemoveRows (this=0x7ea6540) at kernel/qabstractitemmodel.cpp:2487
#19 0x00007fc41bc88fcb in QMetaObject::activate (sender=0xbfb470, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffa81f5e0) at kernel/qobject.cpp:3547
#20 0x00007fc41bcd3fd4 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=<optimized out>, _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#21 0x00007fc41bc6d9bb in QAbstractItemModel::endRemoveRows (this=0xbfb470) at kernel/qabstractitemmodel.cpp:2487
#22 0x00007fc41b59d320 in QSortFilterProxyModelPrivate::remove_source_items (this=0x96d3a0, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:539
#23 0x00007fc41b59ecc1 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x96d3a0, source_parent=..., start=12, end=12, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#24 0x00007fc41bc88fcb in QMetaObject::activate (sender=0xb59070, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffa81f8e0) at kernel/qobject.cpp:3547
#25 0x00007fc41bcd3f84 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#26 0x00007fc41bc6a788 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=12, last=12) at kernel/qabstractitemmodel.cpp:2470
#27 0x00007fc416fa61e5 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0xd5b860, collection=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/entitytreemodel_p.cpp:805
#28 0x00007fc41bc88fcb in QMetaObject::activate (sender=0xc89790, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffa81fbc0) at kernel/qobject.cpp:3547
#29 0x00007fc416fdc115 in Akonadi::Monitor::collectionUnsubscribed (this=<optimized out>, _t1=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2_build/akonadi/monitor.moc:273
#30 0x00007fc416fde6a0 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0xce3340, msg=..., col=..., par=<optimized out>, dest=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/monitor_p.cpp:630
#31 0x00007fc416fe1621 in Akonadi::MonitorPrivate::emitNotification (this=0xce3340, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/monitor_p.cpp:286
#32 0x00007fc416f42701 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xce3340, msg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/changerecorder_p.cpp:51
#33 0x00007fc416fdff6d in Akonadi::MonitorPrivate::dispatchNotifications (this=0xce3340) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/monitor_p.cpp:448
#34 0x00007fc416fe1c0a in Akonadi::MonitorPrivate::slotNotify (this=0xce3340, msgs=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/monitor_p.cpp:419
#35 0x00007fc416f43302 in Akonadi::ChangeRecorderPrivate::slotNotify (this=<optimized out>, msgs=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/changerecorder_p.cpp:42
#36 0x00007fc41bc88fcb in QMetaObject::activate (sender=0xbc9f50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffa8201b0) at kernel/qobject.cpp:3547
#37 0x00007fc417069132 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=<optimized out>, _t1=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2_build/akonadi/notificationsourceinterface.moc:105
#38 0x00007fc417069174 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_static_metacall (_o=0xbc9f50, _c=<optimized out>, _id=<optimized out>, _a=0x7ffffa8202e0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2_build/akonadi/notificationsourceinterface.moc:54
#39 0x00007fc41706932b in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0xbc9f50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffffa8202e0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2_build/akonadi/notificationsourceinterface.moc:95
#40 0x00007fc417321f0a in QDBusConnectionPrivate::deliverCall (this=0x628ae0, object=0xbc9f50, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#41 0x00007fc41bc88406 in QObject::event (this=0xbc9f50, e=<optimized out>) at kernel/qobject.cpp:1195
#42 0x00007fc41b008344 in QApplicationPrivate::notify_helper (this=0x63f800, receiver=0xbc9f50, e=0x650a040) at kernel/qapplication.cpp:4557
#43 0x00007fc41b00ce1f in QApplication::notify (this=<optimized out>, receiver=0xbc9f50, e=0x650a040) at kernel/qapplication.cpp:4418
#44 0x00007fc41c7250e6 in KApplication::notify (this=0x7ffffa820f10, receiver=0xbc9f50, event=0x650a040) at /var/tmp/portage/kde-base/kdelibs-4.9.2/work/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#45 0x00007fc41bc7378b in QCoreApplication::notifyInternal (this=0x7ffffa820f10, receiver=0xbc9f50, event=0x650a040) at kernel/qcoreapplication.cpp:915
#46 0x00007fc41bc76d57 in sendEvent (event=0x650a040, receiver=0xbc9f50) at kernel/qcoreapplication.h:231
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6076a0) at kernel/qcoreapplication.cpp:1539
#48 0x00007fc41bca26f3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=0x63df50) at kernel/qeventdispatcher_glib.cpp:279
#50 0x00007fc413ccd4a2 in g_main_dispatch (context=0x64ab30) at gmain.c:2539
#51 g_main_context_dispatch (context=0x64ab30) at gmain.c:3075
#52 0x00007fc413ccd7e8 in g_main_context_iterate (context=0x64ab30, block=1, dispatch=1, self=<optimized out>) at gmain.c:3146
#53 0x00007fc413ccd8a4 in g_main_context_iteration (context=0x64ab30, may_block=1) at gmain.c:3207
#54 0x00007fc41bca288f in QEventDispatcherGlib::processEvents (this=0x608b60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#55 0x00007fc41b0ad97e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007fc41bc724f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007fc41bc727a5 in QEventLoop::exec (this=0x7ffffa820e60, flags=...) at kernel/qeventloop.cpp:204
#58 0x00007fc41bc771fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#59 0x00000000004041df in main (argc=1, argv=0x7ffffa821538) at /var/tmp/portage/kde-base/kontact-4.9.2/work/kontact-4.9.2/kontact/src/main.cpp:219

Possible duplicates by query: bug 306051.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:25:57 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:49:07 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.