Bug 292134 - Akonadi control crashes after restart
Summary: Akonadi control crashes after restart
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: libakonadi (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 258449 300171 300677 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-21 20:10 UTC by Karel Pazdera
Modified: 2017-01-07 22:34 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karel Pazdera 2012-01-21 20:10:46 UTC
Application: kontact (4.7.4)
KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.2.1-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I  simply restarted Aconadi control by commands akonadictl start, wait until it stops, akonadictl start

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

Thread 3 (Thread 0x7f582e35b700 (LWP 1255)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f583ff14974 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f584072fe60) at wtf/FastMalloc.cpp:2378
#2  0x00007f583ff149a9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f584073df34) at wtf/FastMalloc.cpp:1497
#3  0x00007f583b79fc5c in start_thread (arg=0x7f582e35b700) at pthread_create.c:301
#4  0x00007f5840a8cfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f582da5a700 (LWP 1256)):
#0  0x00007f5840a84353 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f583a5da654 in g_main_context_poll (n_fds=1, fds=0x7c16f0, timeout=-1, context=0x7c1370, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x7c1370, block=1, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007f583a5dab11 in g_main_context_iteration (context=0x7c1370, may_block=1) at gmain.c:3152
#4  0x00007f5841f1a9a6 in QEventDispatcherGlib::processEvents (this=0x679060, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5841eeb262 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5841eeb4a5 in QEventLoop::exec (this=0x7f582da59e20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f5841df2ce8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f5841df598a in QThreadPrivate::start (arg=0x63e050) at thread/qthread_unix.cpp:331
#9  0x00007f583b79fc5c in start_thread (arg=0x7f582da5a700) at pthread_create.c:301
#10 0x00007f5840a8cfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5843643760 (LWP 1254)):
[KCrash Handler]
#6  QHash<QString, QHashDummyValue>::size (this=0x58) at /usr/include/qt4/QtCore/qhash.h:291
#7  0x00007f583dc1867d in QSet<QString>::toList (this=0x58) at /usr/include/qt4/QtCore/qset.h:294
#8  0x00007f583dc19c26 in Akonadi::Monitor::mimeTypesMonitored (this=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/monitor.cpp:192
#9  0x00007f583dbde1d4 in Akonadi::EntityTreeModelPrivate::fillModel (this=0xab0a90) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/entitytreemodel_p.cpp:1682
#10 0x00007f583dbe5088 in Akonadi::EntityTreeModelPrivate::endResetModel (this=0xab0a90) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/entitytreemodel_p.cpp:1648
#11 0x00007f583dbd5f0a in Akonadi::EntityTreeModel::qt_metacall (this=0x9a4390, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff3611b0b0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4_build/akonadi/entitytreemodel.moc:144
#12 0x00007f5841f031df in QMetaObject::activate (sender=0xab95b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#13 0x00007f583dc44958 in Akonadi::ServerManagerPrivate::setState (this=0xab9d20, state=Akonadi::ServerManager::Running) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/servermanager.cpp:88
#14 0x00007f583dc438d5 in Akonadi::ServerManager::qt_metacall (this=0xab95b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3611b3e0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4_build/akonadi/servermanager.moc:86
#15 0x00007f5841f031df in QMetaObject::activate (sender=0x98db30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3611b3e0) at kernel/qobject.cpp:3278
#16 0x00007f583dfaad5f in QDBusServiceWatcher::serviceOwnerChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>) at .moc/debug-shared/moc_qdbusservicewatcher.cpp:146
#17 0x00007f583dfaad9d in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (this=<optimized out>, service=..., oldOwner=..., newOwner=...) at qdbusservicewatcher.cpp:82
#18 0x00007f583dfab8c2 in QDBusServiceWatcher::qt_metacall (this=0x98db30, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3611b500) at .moc/debug-shared/moc_qdbusservicewatcher.cpp:91
#19 0x00007f583df6e7ea in QDBusConnectionPrivate::deliverCall (this=0x62ae40, object=0x98db30, msg=..., metaTypes=<optimized out>, slotIdx=7) at qdbusintegrator.cpp:942
#20 0x00007f583df789ef in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#21 0x00007f5841f02c7a in QObject::event (this=0x98db30, e=<optimized out>) at kernel/qobject.cpp:1217
#22 0x00007f5841210c64 in QApplicationPrivate::notify_helper (this=0x637470, receiver=0x98db30, e=0xcd7bb0) at kernel/qapplication.cpp:4481
#23 0x00007f5841215f61 in QApplication::notify (this=<optimized out>, receiver=0x98db30, e=0xcd7bb0) at kernel/qapplication.cpp:4360
#24 0x00007f5842970a52 in KApplication::notify (this=0x7fff3611f080, receiver=0x98db30, event=0xcd7bb0) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#25 0x00007f5841eec7bb in QCoreApplication::notifyInternal (this=0x7fff3611f080, receiver=0x98db30, event=0xcd7bb0) at kernel/qcoreapplication.cpp:787
#26 0x00007f5841ef06ce in sendEvent (event=0xcd7bb0, receiver=0x98db30) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x609b60) at kernel/qcoreapplication.cpp:1428
#28 0x00007f5841f1a7b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f583a5da142 in g_main_dispatch (context=0x644440) at gmain.c:2441
#31 g_main_context_dispatch (context=0x644440) at gmain.c:3011
#32 0x00007f583a5da938 in g_main_context_iterate (context=0x644440, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#33 0x00007f583a5dab11 in g_main_context_iteration (context=0x644440, may_block=1) at gmain.c:3152
#34 0x00007f5841f1a94f in QEventDispatcherGlib::processEvents (this=0x609340, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f58412c179e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f5841eeb262 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f5841eeb4a5 in QEventLoop::exec (this=0x7fff3611c070, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007f5841708e0e in QDialog::exec (this=0xadba90) at dialogs/qdialog.cpp:552
#39 0x00007f58428dfe66 in KMessageBox::createKMessageBox (dialog=0xadba90, icon=<optimized out>, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:344
#40 0x00007f58428e0b64 in KMessageBox::createKMessageBox (dialog=0xadba90, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=<optimized out>, options=..., details=...) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:159
#41 0x00007f58428e16dc in KMessageBox::errorListWId (parent_id=<optimized out>, text=..., strlist=..., caption=<optimized out>, options=...) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:854
#42 0x00007f58428e18c1 in KMessageBox::error (parent=0x0, text=..., caption=..., options=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:821
#43 0x00007f583dbe2cf6 in Akonadi::EntityTreeModelPrivate::fetchJobDone (this=0xab0a90, job=0xd2a550) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/entitytreemodel_p.cpp:1185
#44 0x00007f583dbd5f25 in Akonadi::EntityTreeModel::qt_metacall (this=0x9a4390, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3611c930) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4_build/akonadi/entitytreemodel.moc:145
#45 0x00007f5841f031df in QMetaObject::activate (sender=0xd2a550, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3611c930) at kernel/qobject.cpp:3278
#46 0x00007f5842362a52 in KJob::result (this=<optimized out>, _t1=0xd2a550) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4_build/kdecore/kjob.moc:194
#47 0x00007f5842362a95 in KJob::emitResult (this=0xd2a550) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:312
#48 0x00007f5842362b4e in KJob::kill (this=0xd2a550, verbosity=KJob::EmitResult) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:112
#49 0x00007f583dc3f5f6 in Akonadi::SessionPrivate::socketDisconnected (this=0xab9ed0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/session.cpp:176
#50 0x00007f583dc3f88e in Akonadi::SessionPrivate::socketError (this=0xab9ed0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/session.cpp:163
#51 0x00007f583dc41c44 in Akonadi::Session::qt_metacall (this=0x99e950, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3611cb00) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4_build/akonadi/session.moc:93
#52 0x00007f5841f031df in QMetaObject::activate (sender=0x968bf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3611cb00) at kernel/qobject.cpp:3278
#53 0x00007f583c7290c1 in QLocalSocket::error (this=<optimized out>, _t1=QLocalSocket::PeerClosedError) at .moc/debug-shared/moc_qlocalsocket.cpp:117
#54 0x00007f583c72c8f6 in QLocalSocketPrivate::_q_error (this=0xa61280, socketError=QAbstractSocket::RemoteHostClosedError) at socket/qlocalsocket_unix.cpp:102
#55 0x00007f583c72923c in QLocalSocket::qt_metacall (this=0x968bf0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3611cc70) at .moc/debug-shared/moc_qlocalsocket.cpp:91
#56 0x00007f5841f031df in QMetaObject::activate (sender=0xa61370, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3611cc70) at kernel/qobject.cpp:3278
#57 0x00007f583c7206d1 in QAbstractSocket::error (this=<optimized out>, _t1=QAbstractSocket::RemoteHostClosedError) at .moc/debug-shared/moc_qabstractsocket.cpp:156
#58 0x00007f583c7240ca in QAbstractSocketPrivate::readFromSocket (this=0xa563c0) at socket/qabstractsocket.cpp:1178
#59 0x00007f583c724493 in QAbstractSocketPrivate::canReadNotification (this=0xa563c0) at socket/qabstractsocket.cpp:618
#60 0x00007f583c711131 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1103
#61 0x00007f5841210c64 in QApplicationPrivate::notify_helper (this=0x637470, receiver=0xab1550, e=0x7fff3611d280) at kernel/qapplication.cpp:4481
#62 0x00007f5841215f61 in QApplication::notify (this=<optimized out>, receiver=0xab1550, e=0x7fff3611d280) at kernel/qapplication.cpp:4360
#63 0x00007f5842970a52 in KApplication::notify (this=0x7fff3611f080, receiver=0xab1550, event=0x7fff3611d280) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#64 0x00007f5841eec7bb in QCoreApplication::notifyInternal (this=0x7fff3611f080, receiver=0xab1550, event=0x7fff3611d280) at kernel/qcoreapplication.cpp:787
#65 0x00007f5841f1a425 in sendEvent (event=0x7fff3611d280, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#66 socketNotifierSourceDispatch (source=0x6445b0) at kernel/qeventdispatcher_glib.cpp:110
#67 0x00007f583a5da142 in g_main_dispatch (context=0x644440) at gmain.c:2441
#68 g_main_context_dispatch (context=0x644440) at gmain.c:3011
#69 0x00007f583a5da938 in g_main_context_iterate (context=0x644440, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#70 0x00007f583a5dab11 in g_main_context_iteration (context=0x644440, may_block=1) at gmain.c:3152
#71 0x00007f5841f1a94f in QEventDispatcherGlib::processEvents (this=0x609340, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#72 0x00007f58412c179e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#73 0x00007f5841eeb262 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#74 0x00007f5841eeb4a5 in QEventLoop::exec (this=0x7fff3611d4c0, flags=...) at kernel/qeventloop.cpp:201
#75 0x00007f5841708e0e in QDialog::exec (this=0x7bbe00) at dialogs/qdialog.cpp:552
#76 0x00007f58428dfe66 in KMessageBox::createKMessageBox (dialog=0x7bbe00, icon=<optimized out>, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:344
#77 0x00007f58428e0b64 in KMessageBox::createKMessageBox (dialog=0x7bbe00, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=<optimized out>, options=..., details=...) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:159
#78 0x00007f58428e16dc in KMessageBox::errorListWId (parent_id=<optimized out>, text=..., strlist=..., caption=<optimized out>, options=...) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:854
#79 0x00007f58428e18c1 in KMessageBox::error (parent=0x0, text=..., caption=..., options=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/dialogs/kmessagebox.cpp:821
#80 0x00007f583dbe2cf6 in Akonadi::EntityTreeModelPrivate::fetchJobDone (this=0xab0a90, job=0xebed70) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/entitytreemodel_p.cpp:1185
#81 0x00007f583dbd5f25 in Akonadi::EntityTreeModel::qt_metacall (this=0x9a4390, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3611dd80) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4_build/akonadi/entitytreemodel.moc:145
#82 0x00007f5841f031df in QMetaObject::activate (sender=0xebed70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3611dd80) at kernel/qobject.cpp:3278
#83 0x00007f5842362a52 in KJob::result (this=<optimized out>, _t1=0xebed70) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4_build/kdecore/kjob.moc:194
#84 0x00007f5842362a95 in KJob::emitResult (this=0xebed70) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:312
#85 0x00007f5842362b4e in KJob::kill (this=0xebed70, verbosity=KJob::EmitResult) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdecore/jobs/kjob.cpp:112
#86 0x00007f583dc4153c in Akonadi::Session::clear (this=0x99e950) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/session.cpp:425
#87 0x00007f583dc4186b in Akonadi::Session::~Session (this=0x99e950, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/session.cpp:394
#88 0x00007f583dc418b9 in Akonadi::Session::~Session (this=0x99e950, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/akonadi/session.cpp:396
#89 0x00007f5841f019d1 in QObjectPrivate::deleteChildren (this=0xa01050) at kernel/qobject.cpp:1955
#90 0x00007f5841f06202 in QObject::~QObject (this=0xa0d070, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#91 0x00007f5829eef5ec in KMKernel::~KMKernel (this=0xa0d070, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.7.4-r1/work/kmail-4.7.4/kmail/kmkernel.cpp:231
#92 0x00007f5829eef6f9 in KMKernel::~KMKernel (this=0xa0d070, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.7.4-r1/work/kmail-4.7.4/kmail/kmkernel.cpp:241
#93 0x00007f582a28b371 in KMailPart::~KMailPart (this=0x86d5d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.7.4-r1/work/kmail-4.7.4/kmail/kmail_part.cpp:139
#94 0x00007f582a28b459 in KMailPart::~KMailPart (this=0x86d5d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.7.4-r1/work/kmail-4.7.4/kmail/kmail_part.cpp:141
#95 0x00007f5842e2ee7c in KontactInterface::Plugin::~Plugin (this=0x899d30, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.4-r1/work/kdepimlibs-4.7.4/kontactinterface/plugin.cpp:90
#96 0x00007f582aad2e60 in KMailPlugin::~KMailPlugin (this=0x899d30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.7.4-r1/work/kmail-4.7.4/kontact/plugins/kmail/kmail_plugin.cpp:159
#97 0x00007f582aad2e99 in KMailPlugin::~KMailPlugin (this=0x899d30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.7.4-r1/work/kmail-4.7.4/kontact/plugins/kmail/kmail_plugin.cpp:163
#98 0x00007f5843267b46 in Kontact::MainWindow::~MainWindow (this=0x7b9da0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kontact-4.7.4/work/kontact-4.7.4/kontact/src/mainwindow.cpp:287
#99 0x00007f5843267c39 in Kontact::MainWindow::~MainWindow (this=0x7b9da0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kontact-4.7.4/work/kontact-4.7.4/kontact/src/mainwindow.cpp:289
#100 0x00007f5841f02ca8 in QObject::event (this=0x7b9da0, e=<optimized out>) at kernel/qobject.cpp:1200
#101 0x00007f584126995c in QWidget::event (this=0x7b9da0, event=0x7272c0) at kernel/qwidget.cpp:8754
#102 0x00007f584165a31b in QMainWindow::event (this=0x7b9da0, event=0x7272c0) at widgets/qmainwindow.cpp:1478
#103 0x00007f5842a6c220 in KXmlGuiWindow::event (this=0x7b9da0, ev=0x7272c0) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/xmlgui/kxmlguiwindow.cpp:126
#104 0x00007f5841210c64 in QApplicationPrivate::notify_helper (this=0x637470, receiver=0x7b9da0, e=0x7272c0) at kernel/qapplication.cpp:4481
#105 0x00007f5841215f61 in QApplication::notify (this=<optimized out>, receiver=0x7b9da0, e=0x7272c0) at kernel/qapplication.cpp:4360
#106 0x00007f5842970a52 in KApplication::notify (this=0x7fff3611f080, receiver=0x7b9da0, event=0x7272c0) at /var/tmp/portage/kde-base/kdelibs-4.7.4/work/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#107 0x00007f5841eec7bb in QCoreApplication::notifyInternal (this=0x7fff3611f080, receiver=0x7b9da0, event=0x7272c0) at kernel/qcoreapplication.cpp:787
#108 0x00007f5841ef06ce in sendEvent (event=0x7272c0, receiver=0x7b9da0) at kernel/qcoreapplication.h:215
#109 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x609b60) at kernel/qcoreapplication.cpp:1428
#110 0x00007f5841f1a7b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#111 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#112 0x00007f583a5da142 in g_main_dispatch (context=0x644440) at gmain.c:2441
#113 g_main_context_dispatch (context=0x644440) at gmain.c:3011
#114 0x00007f583a5da938 in g_main_context_iterate (context=0x644440, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#115 0x00007f583a5dab11 in g_main_context_iteration (context=0x644440, may_block=1) at gmain.c:3152
#116 0x00007f5841f1a94f in QEventDispatcherGlib::processEvents (this=0x609340, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#117 0x00007f58412c179e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#118 0x00007f5841eeb262 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#119 0x00007f5841eeb4a5 in QEventLoop::exec (this=0x7fff3611eff0, flags=...) at kernel/qeventloop.cpp:201
#120 0x00007f5841ef09c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#121 0x000000000040434d in main (argc=1, argv=0x7fff3611f5e8) at /var/tmp/portage/kde-base/kontact-4.7.4/work/kontact-4.7.4/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Allen Winter 2012-01-22 15:25:55 UTC
Git commit d9194563b17e567317fa3b533a0daa0b03e3fd4b by Allen Winter.
Committed on 22/01/2012 at 16:24.
Pushed by winterz into branch 'master'.

in mimeTypesMonitored() and itemsMonitored() don't call toList() on
empty QSets. Since QSets are QHashes and performing operations on
empty QHashes is crashy.
MERGE: 4.8
FIXED-IN: 4.8.1

M  +10   -2    akonadi/monitor.cpp

http://commits.kde.org/kdepimlibs/d9194563b17e567317fa3b533a0daa0b03e3fd4b
Comment 2 Allen Winter 2012-01-22 15:26:55 UTC
Git commit 872548726dd778011a39576c04cbe9f42e9cc1d5 by Allen Winter.
Committed on 22/01/2012 at 16:24.
Pushed by winterz into branch 'KDE/4.8'.

in mimeTypesMonitored() and itemsMonitored() don't call toList() on
empty QSets. Since QSets are QHashes and performing operations on
empty QHashes is crashy.
MERGE: 4.8
FIXED-IN: 4.8.1
(cherry picked from commit d9194563b17e567317fa3b533a0daa0b03e3fd4b)

M  +10   -2    akonadi/monitor.cpp

http://commits.kde.org/kdepimlibs/872548726dd778011a39576c04cbe9f42e9cc1d5
Comment 3 Allen Winter 2012-01-24 20:29:49 UTC
reopen.

my fix was silly and I will revert it.
Comment 4 Christophe Marin 2012-05-18 12:03:50 UTC
*** Bug 300171 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2012-07-03 13:58:20 UTC
*** Bug 300677 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-07-03 13:59:04 UTC
*** Bug 258449 has been marked as a duplicate of this bug. ***
Comment 7 Denis Kurz 2016-09-24 20:39:45 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 22:34:14 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.