Bug 284772

Summary: Akonadi-Crash while trying out IMAP server settings
Product: [Applications] kontact Reporter: Thomas Fischer <fischer>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Compress stdout+stderr output of akonadiconsole

Description Thomas Fischer 2011-10-23 11:43:46 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-gentoo-r3-tf i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I recently upgrade from KDE 4.6.5 to 4.7.2 and created a new account to avoid interference with old settings. To read my emails, I added an IMAP account to Kontact/KMail, but as I was not sure about which authentication settings to use (the automatically detected settings did not work either), I tried various settings.
One thing that was odd was that Kontact asked me repeatedly about my KWallet password. Connecting did not work, as I got a dialog asking me if I want to reconfigure this account or try again (or cancel). Trying out various combinations of connection settings, I got this crash eventually.

As a site note, the list view in the tab for receiving email configuration has a layout problem with the button on retrieval options if there is a message in the list view which is too long to be shown in the given space in one line.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0xb22fe710 (LWP 32449))]

Thread 2 (Thread 0xb1203b70 (LWP 32463)):
#0  0xb7719424 in __kernel_vsyscall ()
#1  0xb4387ebc in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb616af27 in __pthread_cond_wait (cond=0xb6042770, mutex=0xb6042758) at forward.c:139
#3  0xb5b5321c in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb603d680) at wtf/FastMalloc.cpp:2378
#4  0xb5b53259 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb603d680) at wtf/FastMalloc.cpp:1497
#5  0xb4383b4c in start_thread (arg=0xb1203b70) at pthread_create.c:301
#6  0xb615e94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb22fe710 (LWP 32449)):
[KCrash Handler]
#7  0xb7719424 in __kernel_vsyscall ()
#8  0xb60bfdca in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb60c12dc in abort () at abort.c:92
#10 0xb6e2c068 in qt_message_output (msgType=QtFatalMsg, buf=0x998cc10 "ASSERT: \"parentCollection != m_rootCollection\" in file /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreemodel_p.cpp, line 635") at global/qglobal.cpp:2282
#11 0xb6e2c1ff in qt_message (msgType=<value optimized out>, msg=0xb6fac768 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfe77c84 "`\332\240\264\300\330\240\264{\002") at global/qglobal.cpp:2328
#12 0xb6e2c2fc in qFatal (msg=0xb6fac768 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#13 0xb6e2c549 in qt_assert (assertion=0xb4a0da60 "parentCollection != m_rootCollection", file=0xb4a0d8c0 "/var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreemodel_p.cpp", line=635) at global/qglobal.cpp:2027
#14 0xb4952447 in Akonadi::EntityTreeModelPrivate::retrieveAncestors (this=0x94a0fe8, collection=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreemodel_p.cpp:635
#15 0xb4955e84 in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0x94a0fe8, collection=..., parent=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreemodel_p.cpp:730
#16 0xb494721c in Akonadi::EntityTreeModel::qt_metacall (this=0x93ca3c0, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfe77f34) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/entitytreemodel.moc:161
#17 0xb6f43083 in QMetaObject::metacall (object=0x93ca3c0, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbfe77f34) at kernel/qmetaobject.cpp:237
#18 0xb6f56450 in QMetaObject::activate (sender=0x9476310, m=0xb4acb594, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3278
#19 0xb498de7e in Akonadi::Monitor::collectionAdded (this=0x9476310, _t1=..., _t2=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/monitor.moc:211
#20 0xb499161d in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x94749f0, msg=..., col=..., par=..., dest=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/monitor_p.cpp:590
#21 0xb49937c8 in Akonadi::MonitorPrivate::emitNotification (this=0x94749f0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/monitor_p.cpp:281
#22 0xb490a90e in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x94749f0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:60
#23 0xb4990f8e in Akonadi::MonitorPrivate::flushPipeline (this=0x94749f0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/monitor_p.cpp:425
#24 0xb49910a6 in Akonadi::MonitorPrivate::dataAvailable (this=0x94749f0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/monitor_p.cpp:434
#25 0xb498e2e6 in Akonadi::Monitor::qt_metacall (this=0x9476310, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe7831c) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/monitor.moc:156
#26 0xb490a841 in Akonadi::ChangeRecorder::qt_metacall (this=0x9476310, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfe7831c) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/changerecorder.moc:72
#27 0xb6f43083 in QMetaObject::metacall (object=0x9476310, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfe7831c) at kernel/qmetaobject.cpp:237
#28 0xb6f56450 in QMetaObject::activate (sender=0x930f2a0, m=0xb4aca2a8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#29 0xb49408c0 in Akonadi::EntityCacheBase::dataAvailable (this=0x930f2a0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/entitycache_p.moc:88
#30 0xb49968be in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::fetchResult(KJob*) () from /usr/lib/libakonadi-kde.so.4
#31 0xb494093c in Akonadi::EntityCacheBase::qt_metacall (this=0x930f2a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe784e8) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/entitycache_p.moc:77
#32 0xb6f43083 in QMetaObject::metacall (object=0x930f2a0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfe784e8) at kernel/qmetaobject.cpp:237
#33 0xb6f56450 in QMetaObject::activate (sender=0x9353160, m=0xb72ba508, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3278
#34 0xb7183566 in KJob::result (this=0x9353160, _t1=0x9353160) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2_build/kdecore/kjob.moc:194
#35 0xb71835b6 in KJob::emitResult (this=0x9353160) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:312
#36 0xb498922c in Akonadi::JobPrivate::delayedEmitResult (this=0x9979ac8) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/job.cpp:144
#37 0xb4989e24 in Akonadi::Job::qt_metacall (this=0x9353160, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x9883898) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/job.moc:91
#38 0xb491636b in Akonadi::CollectionFetchJob::qt_metacall (this=0x9353160, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9883898) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/collectionfetchjob.moc:75
#39 0xb6f43083 in QMetaObject::metacall (object=0x9353160, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x9883898) at kernel/qmetaobject.cpp:237
#40 0xb6f4dc6f in QMetaCallEvent::placeMetaCall (this=0x9126b48, object=0x9353160) at kernel/qobject.cpp:535
#41 0xb6f4ea1c in QObject::event (this=0x9353160, e=0x0) at kernel/qobject.cpp:1217
#42 0xb640d37f in QApplicationPrivate::notify_helper (this=0x9130448, receiver=0x9353160, e=0x9126b48) at kernel/qapplication.cpp:4462
#43 0xb6415292 in QApplication::notify (this=0xbfe78e30, receiver=0x9353160, e=0x9126b48) at kernel/qapplication.cpp:3862
#44 0xb74b06ec in KApplication::notify (this=0xbfe78e30, receiver=0x9353160, event=0x9126b48) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#45 0xb6f3bb15 in QCoreApplication::notifyInternal (this=0xbfe78e30, receiver=0x9353160, event=0x9126b48) at kernel/qcoreapplication.cpp:731
#46 0xb6f3d0d0 in sendEvent (receiver=0x0, event_type=0, data=0x9110c50) at kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9110c50) at kernel/qcoreapplication.cpp:1372
#48 0xb6f3d37a in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#49 0xb6f6bf93 in sendPostedEvents (s=0x9138100) at kernel/qcoreapplication.h:220
#50 postEventSourceDispatch (s=0x9138100) at kernel/qeventdispatcher_glib.cpp:277
#51 0xb4246990 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0xb424aa88 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0xb424ac3d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0xb6f6bb96 in QEventDispatcherGlib::processEvents (this=0x91109b8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#55 0xb64d235c in QGuiEventDispatcherGlib::processEvents (this=0x91109b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0xb6f3a5ef in QEventLoop::processEvents (this=0xbfe78d94, flags=) at kernel/qeventloop.cpp:149
#57 0xb6f3aa15 in QEventLoop::exec (this=0xbfe78d94, flags=...) at kernel/qeventloop.cpp:201
#58 0xb6f3d422 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#59 0xb640bb06 in QApplication::exec () at kernel/qapplication.cpp:3736
#60 0x0804ba12 in main (argc=) at /var/tmp/portage/kde-base/kontact-4.7.2/work/kontact-4.7.2/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Thomas Fischer 2011-10-24 19:40:52 UTC
I continued to figure out how to configure my mail account without crashing Akonadi. This time, I used akonadiconsole to access the IMAP folder's configuration dialog (the same one accessible from within KMail).

Both in this and in the previous crash report, Akonadi crashes as Q_ASSERT/Q_ASSERT_X is violated, therefore one can deduce that I compiled most of KDE/KMail/Kontact/Akonadi with debugging enabled.
Although Q_ASSERTs are only enabled in debug releases, a programmer should still not use them too often for conditions that occur quite often as my case ...

This time, I got this crash report:

Application: Akonadi Console (akonadiconsole), signal: Aborted
[Current thread is 1 (Thread 0xb1cea710 (LWP 3694))]

Thread 2 (Thread 0xb0c2eb70 (LWP 3697)):
#0  0xb7717424 in __kernel_vsyscall ()
#1  0xb4e3debc in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb552cf27 in __pthread_cond_wait (cond=0xb4e06770, mutex=0xb4e06758) at forward.c:139
#3  0xb491721c in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb4e01680) at wtf/FastMalloc.cpp:2378
#4  0xb4917259 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4e01680) at wtf/FastMalloc.cpp:1497
#5  0xb4e39b4c in start_thread (arg=0xb0c2eb70) at pthread_create.c:301
#6  0xb552094e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb1cea710 (LWP 3694)):
[KCrash Handler]
#7  0xb7717424 in __kernel_vsyscall ()
#8  0xb5481dca in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb54832dc in abort () at abort.c:92
#10 0xb68ab068 in qt_message_output (msgType=QtFatalMsg, buf=0x9293f78 "ASSERT: \"!resId.isEmpty()\" in file /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentmanager.cpp, line 402") at global/qglobal.cpp:2282
#11 0xb68ab1ff in qt_message (msgType=<value optimized out>, msg=0xb6a2b768 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfc65714 "*\003b\267\370\001b\267\222\001") at global/qglobal.cpp:2328
#12 0xb68ab2fc in qFatal (msg=0xb6a2b768 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#13 0xb68ab549 in qt_assert (assertion=0xb762032a "!resId.isEmpty()", file=0xb76201f8 "/var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentmanager.cpp", line=402) at global/qglobal.cpp:2027
#14 0xb751cecb in Akonadi::AgentManager::synchronizeCollection (this=0x8b0dfa0, collection=..., recursive=false) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentmanager.cpp:402
#15 0xb75eef61 in Akonadi::StandardActionManager::Private::slotSynchronizeCollection() () from /usr/lib/libakonadi-kde.so.4
#16 0xb75ec2a0 in Akonadi::StandardActionManager::qt_metacall (this=0x8d36508, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc65938) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/standardactionmanager.moc:155
#17 0xb69c2083 in QMetaObject::metacall (object=0x8d36508, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0xbfc65938) at kernel/qmetaobject.cpp:237
#18 0xb69d5450 in QMetaObject::activate (sender=0x8d395d8, m=0xb618cad8, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3278
#19 0xb57e1c22 in QAction::triggered (this=0x8d395d8, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#20 0xb57e30d9 in QAction::activate (this=0x8d395d8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#21 0xb5cb5857 in QMenuPrivate::activateCausedStack (this=0x8d7f5e0, causedStack=..., action=0x8d395d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#22 0xb5cbc5d2 in QMenuPrivate::activateAction (this=0x8d7f5e0, action=0x8d395d8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#23 0xb5cbfb64 in QMenu::mouseReleaseEvent (this=0x8d7cce0, e=0xbfc66304) at widgets/qmenu.cpp:2306
#24 0xb66b357d in KMenu::mouseReleaseEvent (this=0x8d7cce0, e=0xbfc66304) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464
#25 0xb584b140 in QWidget::event (this=0x8d7cce0, event=0xbfc66304) at kernel/qwidget.cpp:8259
#26 0xb5cbe0da in QMenu::event (this=0x8d7cce0, e=0xbfc66304) at widgets/qmenu.cpp:2415
#27 0xb57ea37f in QApplicationPrivate::notify_helper (this=0x89cfe90, receiver=0x8d7cce0, e=0xbfc66304) at kernel/qapplication.cpp:4462
#28 0xb57f250a in QApplication::notify (this=0xbfc67c58, receiver=0x8d7cce0, e=0xbfc66304) at kernel/qapplication.cpp:4023
#29 0xb65e36ec in KApplication::notify (this=0xbfc67c58, receiver=0x8d7cce0, event=0xbfc66304) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#30 0xb69bab15 in QCoreApplication::notifyInternal (this=0xbfc67c58, receiver=0x8d7cce0, event=0xbfc66304) at kernel/qcoreapplication.cpp:731
#31 0xb57ee012 in sendSpontaneousEvent (receiver=0x8d7cce0, event=0xbfc66304, alienWidget=0x0, nativeWidget=0x8d7cce0, buttonDown=0xb61a8c40, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#32 QApplicationPrivate::sendMouseEvent (receiver=0x8d7cce0, event=0xbfc66304, alienWidget=0x0, nativeWidget=0x8d7cce0, buttonDown=0xb61a8c40, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#33 0xb588325a in QETWidget::translateMouseEvent (this=0x8d7cce0, event=0xbfc66770) at kernel/qapplication_x11.cpp:4395
#34 0xb5882862 in QApplication::x11ProcessEvent (this=0xbfc67c58, event=0xbfc66770) at kernel/qapplication_x11.cpp:3465
#35 0xb58afa93 in x11EventSourceDispatch (s=0x89d3540, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb37c0990 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb37c4a88 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb37c4c3d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb69eab96 in QEventDispatcherGlib::processEvents (this=0x89b59f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0xb58af35c in QGuiEventDispatcherGlib::processEvents (this=0x89b59f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb69b95ef in QEventLoop::processEvents (this=0xbfc66a60, flags=) at kernel/qeventloop.cpp:149
#42 0xb69b9a15 in QEventLoop::exec (this=0xbfc66a60, flags=...) at kernel/qeventloop.cpp:201
#43 0xb5cb9839 in QMenu::exec (this=0x8d7cce0, p=..., action=0x0) at widgets/qmenu.cpp:2059
#44 0xb757a386 in Akonadi::EntityTreeView::contextMenuEvent (this=0x8cbd788, event=0xbfc6748c) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreeview.cpp:278
#45 0xb584beab in QWidget::event (this=0x8cbd788, event=0xbfc6748c) at kernel/qwidget.cpp:8426
#46 0xb5c6f0aa in QFrame::event (this=0x8cbd788, e=0xbfc6748c) at widgets/qframe.cpp:557
#47 0xb5d0c907 in QAbstractScrollArea::viewportEvent (this=0xe6e, e=0x6) at widgets/qabstractscrollarea.cpp:1043
#48 0xb5dcc335 in QAbstractItemView::viewportEvent (this=0x8cbd788, event=0xbfc6748c) at itemviews/qabstractitemview.cpp:1628
#49 0xb5e114d4 in QTreeView::viewportEvent (this=0x8cbd788, event=0xbfc6748c) at itemviews/qtreeview.cpp:1256
#50 0xb5d0f246 in viewportEvent (this=0x8be78e0, o=0x8c4f0b0, e=0xbfc6748c) at widgets/qabstractscrollarea_p.h:100
#51 QAbstractScrollAreaFilter::eventFilter (this=0x8be78e0, o=0x8c4f0b0, e=0xbfc6748c) at widgets/qabstractscrollarea_p.h:116
#52 0xb69ba7be in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x89cfe90, receiver=0x8c4f0b0, event=0xbfc6748c) at kernel/qcoreapplication.cpp:846
#53 0xb57ea36f in QApplicationPrivate::notify_helper (this=0x89cfe90, receiver=0x8c4f0b0, e=0xbfc6748c) at kernel/qapplication.cpp:4458
#54 0xb57f2a3e in QApplication::notify (this=0xbfc67c58, receiver=0x8c4f0b0, e=0xbfc6748c) at kernel/qapplication.cpp:4102
#55 0xb65e36ec in KApplication::notify (this=0xbfc67c58, receiver=0x8c4f0b0, event=0xbfc6748c) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#56 0xb69bab15 in QCoreApplication::notifyInternal (this=0xbfc67c58, receiver=0x8c4f0b0, event=0xbfc6748c) at kernel/qcoreapplication.cpp:731
#57 0xb5887c93 in QCoreApplication::sendSpontaneousEvent (receiver=0x8c4f0b0, event=0xbfc6748c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#58 0xb588394a in QETWidget::translateMouseEvent (this=0x8cbdb18, event=0xbfc678d0) at kernel/qapplication_x11.cpp:4466
#59 0xb5882862 in QApplication::x11ProcessEvent (this=0xbfc67c58, event=0xbfc678d0) at kernel/qapplication_x11.cpp:3465
#60 0xb58afa93 in x11EventSourceDispatch (s=0x89d3540, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0xb37c0990 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb37c4a88 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb37c4c3d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb69eab96 in QEventDispatcherGlib::processEvents (this=0x89b59f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#65 0xb58af35c in QGuiEventDispatcherGlib::processEvents (this=0x89b59f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb69b95ef in QEventLoop::processEvents (this=0xbfc67bc4, flags=) at kernel/qeventloop.cpp:149
#67 0xb69b9a15 in QEventLoop::exec (this=0xbfc67bc4, flags=...) at kernel/qeventloop.cpp:201
#68 0xb69bc422 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#69 0xb57e8b06 in QApplication::exec () at kernel/qapplication.cpp:3736
#70 0x0807e604 in ?? ()
#71 0xb546ec93 in __libc_start_main (main=0x807dd70, argc=1, ubp_av=0xbfc67df4, init=0x808dd19 <__libc_csu_init>, fini=0x808dd14 <__libc_csu_fini>, rtld_fini=0xb7726a76 <_dl_fini>, stack_end=0xbfc67dec) at libc-start.c:226
#72 0x0805d071 in _start ()
Comment 2 Thomas Fischer 2011-10-27 18:46:07 UTC
Created attachment 64948 [details]
Compress stdout+stderr output of akonadiconsole
Comment 3 Thomas Fischer 2011-10-27 18:51:07 UTC
More tests on this subject. This is how I got today's crash:
1. Stopped Akonadi via  akonadictl stop  (checked with ... status that it is actually stopped)
2. Started AkonadiConsole. Chose "native" configuration for IMAP account and actually got a combination, where Akonadi claimed to be connected to IMAP server
3. Switch to AkonadiConsole's second tab (browser)
4. Picked an arbitrary folder on the IMAP server; though not sure if it was there from a previous attempt or freshly fetched. Selected "Synchronize Folder (F5)".
5. Crash.

Attachment 64948 [details] is the compressed output of akonadiconsole (stdout+stderr) from this session. The crash dialog's backtrace is as follows:

Application: Akonadi Console (akonadiconsole), signal: Aborted
[Current thread is 1 (Thread 0xb1d18710 (LWP 3214))]

Thread 3 (Thread 0xb0c6db70 (LWP 3216)):
#0  0xb7745424 in __kernel_vsyscall ()
#1  0xb5547fa1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb69c1dd4 in QProcessManager::run (this=0xb6b238b0) at io/qprocess_unix.cpp:245
#3  0xb68e4427 in QThreadPrivate::start (arg=0xb6b238b0) at thread/qthread_unix.cpp:320
#4  0xb4e67b4c in start_thread (arg=0xb0c6db70) at pthread_create.c:301
#5  0xb554e94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb0464b70 (LWP 3221)):
#0  0xb7745424 in __kernel_vsyscall ()
#1  0xb4e6bebc in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb555af27 in __pthread_cond_wait (cond=0xb4e34770, mutex=0xb4e34758) at forward.c:139
#3  0xb494521c in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb4e2f680) at wtf/FastMalloc.cpp:2378
#4  0xb4945259 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4e2f680) at wtf/FastMalloc.cpp:1497
#5  0xb4e67b4c in start_thread (arg=0xb0464b70) at pthread_create.c:301
#6  0xb554e94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb1d18710 (LWP 3214)):
[KCrash Handler]
#7  0xb7745424 in __kernel_vsyscall ()
#8  0xb54afdca in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb54b12dc in abort () at abort.c:92
#10 0xb68d9068 in qt_message_output (msgType=QtFatalMsg, buf=0x904d978 "ASSERT: \"!resId.isEmpty()\" in file /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentmanager.cpp, line 402") at global/qglobal.cpp:2282
#11 0xb68d91ff in qt_message (msgType=<value optimized out>, msg=0xb6a59768 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfdfdbe4 "*\343d\267\370\341d\267\222\001") at global/qglobal.cpp:2328
#12 0xb68d92fc in qFatal (msg=0xb6a59768 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#13 0xb68d9549 in qt_assert (assertion=0xb764e32a "!resId.isEmpty()", file=0xb764e1f8 "/var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentmanager.cpp", line=402) at global/qglobal.cpp:2027
#14 0xb754aecb in Akonadi::AgentManager::synchronizeCollection (this=0x897eea0, collection=..., recursive=false) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentmanager.cpp:402
#15 0xb761cf61 in Akonadi::StandardActionManager::Private::slotSynchronizeCollection() () from /usr/lib/libakonadi-kde.so.4
#16 0xb761a2a0 in Akonadi::StandardActionManager::qt_metacall (this=0x8988b18, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfdfde08) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/standardactionmanager.moc:155
#17 0xb69f0083 in QMetaObject::metacall (object=0x8988b18, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0xbfdfde08) at kernel/qmetaobject.cpp:237
#18 0xb6a03450 in QMetaObject::activate (sender=0x89e5560, m=0xb61baad8, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3278
#19 0xb580fc22 in QAction::triggered (this=0x89e5560, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#20 0xb58110d9 in QAction::activate (this=0x89e5560, event=QAction::Trigger) at kernel/qaction.cpp:1257
#21 0xb5ce3857 in QMenuPrivate::activateCausedStack (this=0x8bbdbf0, causedStack=..., action=0x89e5560, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#22 0xb5cea5d2 in QMenuPrivate::activateAction (this=0x8bbdbf0, action=0x89e5560, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#23 0xb5cedb64 in QMenu::mouseReleaseEvent (this=0x8bbb358, e=0xbfdfe7d4) at widgets/qmenu.cpp:2306
#24 0xb66e157d in KMenu::mouseReleaseEvent (this=0x8bbb358, e=0xbfdfe7d4) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464
#25 0xb5879140 in QWidget::event (this=0x8bbb358, event=0xbfdfe7d4) at kernel/qwidget.cpp:8259
#26 0xb5cec0da in QMenu::event (this=0x8bbb358, e=0xbfdfe7d4) at widgets/qmenu.cpp:2415
#27 0xb581837f in QApplicationPrivate::notify_helper (this=0x883fe50, receiver=0x8bbb358, e=0xbfdfe7d4) at kernel/qapplication.cpp:4462
#28 0xb582050a in QApplication::notify (this=0xbfe00128, receiver=0x8bbb358, e=0xbfdfe7d4) at kernel/qapplication.cpp:4023
#29 0xb66116ec in KApplication::notify (this=0xbfe00128, receiver=0x8bbb358, event=0xbfdfe7d4) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#30 0xb69e8b15 in QCoreApplication::notifyInternal (this=0xbfe00128, receiver=0x8bbb358, event=0xbfdfe7d4) at kernel/qcoreapplication.cpp:731
#31 0xb581c012 in sendSpontaneousEvent (receiver=0x8bbb358, event=0xbfdfe7d4, alienWidget=0x0, nativeWidget=0x8bbb358, buttonDown=0xb61d6c40, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#32 QApplicationPrivate::sendMouseEvent (receiver=0x8bbb358, event=0xbfdfe7d4, alienWidget=0x0, nativeWidget=0x8bbb358, buttonDown=0xb61d6c40, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#33 0xb58b125a in QETWidget::translateMouseEvent (this=0x8bbb358, event=0xbfdfec40) at kernel/qapplication_x11.cpp:4395
#34 0xb58b0862 in QApplication::x11ProcessEvent (this=0xbfe00128, event=0xbfdfec40) at kernel/qapplication_x11.cpp:3465
#35 0xb58dda93 in x11EventSourceDispatch (s=0x8842d40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb37ee990 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb37f2a88 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb37f2c3d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb6a18b96 in QEventDispatcherGlib::processEvents (this=0x88259f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0xb58dd35c in QGuiEventDispatcherGlib::processEvents (this=0x88259f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb69e75ef in QEventLoop::processEvents (this=0xbfdfef30, flags=) at kernel/qeventloop.cpp:149
#42 0xb69e7a15 in QEventLoop::exec (this=0xbfdfef30, flags=...) at kernel/qeventloop.cpp:201
#43 0xb5ce7839 in QMenu::exec (this=0x8bbb358, p=..., action=0x0) at widgets/qmenu.cpp:2059
#44 0xb75a8386 in Akonadi::EntityTreeView::contextMenuEvent (this=0x89e2fa8, event=0xbfdff95c) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreeview.cpp:278
#45 0xb5879eab in QWidget::event (this=0x89e2fa8, event=0xbfdff95c) at kernel/qwidget.cpp:8426
#46 0xb5c9d0aa in QFrame::event (this=0x89e2fa8, e=0xbfdff95c) at widgets/qframe.cpp:557
#47 0xb5d3a907 in QAbstractScrollArea::viewportEvent (this=0xc8e, e=0x6) at widgets/qabstractscrollarea.cpp:1043
#48 0xb5dfa335 in QAbstractItemView::viewportEvent (this=0x89e2fa8, event=0xbfdff95c) at itemviews/qabstractitemview.cpp:1628
#49 0xb5e3f4d4 in QTreeView::viewportEvent (this=0x89e2fa8, event=0xbfdff95c) at itemviews/qtreeview.cpp:1256
#50 0xb5d3d246 in viewportEvent (this=0x8a3f928, o=0x89c5c28, e=0xbfdff95c) at widgets/qabstractscrollarea_p.h:100
#51 QAbstractScrollAreaFilter::eventFilter (this=0x8a3f928, o=0x89c5c28, e=0xbfdff95c) at widgets/qabstractscrollarea_p.h:116
#52 0xb69e87be in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x883fe50, receiver=0x89c5c28, event=0xbfdff95c) at kernel/qcoreapplication.cpp:846
#53 0xb581836f in QApplicationPrivate::notify_helper (this=0x883fe50, receiver=0x89c5c28, e=0xbfdff95c) at kernel/qapplication.cpp:4458
#54 0xb5820a3e in QApplication::notify (this=0xbfe00128, receiver=0x89c5c28, e=0xbfdff95c) at kernel/qapplication.cpp:4102
#55 0xb66116ec in KApplication::notify (this=0xbfe00128, receiver=0x89c5c28, event=0xbfdff95c) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#56 0xb69e8b15 in QCoreApplication::notifyInternal (this=0xbfe00128, receiver=0x89c5c28, event=0xbfdff95c) at kernel/qcoreapplication.cpp:731
#57 0xb58b5c93 in QCoreApplication::sendSpontaneousEvent (receiver=0x89c5c28, event=0xbfdff95c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#58 0xb58b194a in QETWidget::translateMouseEvent (this=0x89b3f58, event=0xbfdffda0) at kernel/qapplication_x11.cpp:4466
#59 0xb58b0862 in QApplication::x11ProcessEvent (this=0xbfe00128, event=0xbfdffda0) at kernel/qapplication_x11.cpp:3465
#60 0xb58dda93 in x11EventSourceDispatch (s=0x8842d40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0xb37ee990 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb37f2a88 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb37f2c3d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb6a18b96 in QEventDispatcherGlib::processEvents (this=0x88259f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#65 0xb58dd35c in QGuiEventDispatcherGlib::processEvents (this=0x88259f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb69e75ef in QEventLoop::processEvents (this=0xbfe00094, flags=) at kernel/qeventloop.cpp:149
#67 0xb69e7a15 in QEventLoop::exec (this=0xbfe00094, flags=...) at kernel/qeventloop.cpp:201
#68 0xb69ea422 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#69 0xb5816b06 in QApplication::exec () at kernel/qapplication.cpp:3736
#70 0x0807e604 in ?? ()
#71 0xb549cc93 in __libc_start_main (main=0x807dd70, argc=1, ubp_av=0xbfe002c4, init=0x808dd19 <__libc_csu_init>, fini=0x808dd14 <__libc_csu_fini>, rtld_fini=0xb7754a76 <_dl_fini>, stack_end=0xbfe002bc) at libc-start.c:226
#72 0x0805d071 in _start ()

Any help appreciated. Greetings from a mutt user.
Comment 4 Christophe Marin 2011-10-29 14:13:53 UTC

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