Bug 277650 - Kmail2 crash whilst syncing mail
Summary: Kmail2 crash whilst syncing mail
Status: RESOLVED DUPLICATE of bug 276875
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 20:40 UTC by Malcolm Lashley
Modified: 2011-07-14 10:43 UTC (History)
0 users

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 Malcolm Lashley 2011-07-12 20:40:11 UTC
Application: kontact (4.6.1)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

Mail was syncing/spam filtering thru spamassassin. I had gotten a bunch of 'conflict resolution' popups in a row and it would carry on for a bit - after a dozen or so Kmail2 crashed. I was having similar crashes with kmail 4.6.1, this crash with 4.6.2 but the backtrace is different and I'm not familiar enough with the kmail2 source to tell if the root-cause is the same, certainly the usage pattern leadining up to the crash is similar.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fd61c20e700 (LWP 21170)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd63046c074 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fd62bd91d4c in start_thread (arg=0x7fd61c20e700) at pthread_create.c:301
#3  0x00007fd630fdd40d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd612855700 (LWP 21178)):
#0  0x00007fd630fd45e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd62b83304d in g_main_context_poll (context=0xdbb4d0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3404
#2  g_main_context_iterate (context=0xdbb4d0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3086
#3  0x00007fd62b83357d in g_main_context_iteration (context=0xdbb4d0, may_block=1) at gmain.c:3154
#4  0x00007fd631721d96 in QEventDispatcherGlib::processEvents (this=0xb80ba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd6316f6222 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd6316f6464 in QEventLoop::exec (this=0x7fd612854de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd63160c5a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fd6316d7e08 in QInotifyFileSystemWatcherEngine::run (this=0xdb7460) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fd63160edf5 in QThreadPrivate::start (arg=0xdb7460) at thread/qthread_unix.cpp:320
#10 0x00007fd62bd91d4c in start_thread (arg=0x7fd612855700) at pthread_create.c:301
#11 0x00007fd630fdd40d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd6339e0760 (LWP 21168)):
[KCrash Handler]
#6  0x00007fd63170abce in QMetaObject::addGuard (ptr=0x7ffff7bceaa0) at kernel/qobject.cpp:413
#7  0x00007fd62ec9f80d in QPointer (this=0xd66f10, kiddo=<value optimized out>) at /usr/include/qt4/QtCore/qpointer.h:60
#8  KPIM::ProgressItem::removeChild (this=0xd66f10, kiddo=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1/libkdepim/progressmanager.cpp:72
#9  0x00007fd62ec9f8bf in KPIM::ProgressItem::setComplete (this=0x916ad00) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1/libkdepim/progressmanager.cpp:57
#10 0x00007fd62eca1159 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x94b10c0, instance=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1/libkdepim/agentprogressmonitor.cpp:87
#11 0x00007fd62eca12ca in KPIM::AgentProgressMonitor::qt_metacall (this=0x94b0f60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff7bcec00) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.1/work/kdepim-common-libs-4.6.1_build/libkdepim/agentprogressmonitor.moc:78
#12 0x00007fd63170b537 in QMetaObject::activate (sender=0xa0c390, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff7bcec00) at kernel/qobject.cpp:3278
#13 0x00007fd62e14f575 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5_build/akonadi/agentmanager.moc:177
#14 0x00007fd62e153d31 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0xa0cc10, identifier=<value optimized out>, status=0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5/akonadi/agentmanager.cpp:129
#15 0x00007fd62e15610e in Akonadi::AgentManager::qt_metacall (this=0xa0c390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff7bced80) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5_build/akonadi/agentmanager.moc:131
#16 0x00007fd63170b537 in QMetaObject::activate (sender=0xa08eb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff7bced80) at kernel/qobject.cpp:3278
#17 0x00007fd62e271eeb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5_build/akonadi/agentmanagerinterface.moc:285
#18 0x00007fd62e2723a5 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0xa08eb0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffff7bcf550) at /var/tmp/portage/kde-base/kdepimlibs-4.6.5/work/kdepimlibs-4.6.5_build/akonadi/agentmanagerinterface.moc:167
#19 0x00007fd62e51cb5a in QDBusConnectionPrivate::deliverCall (this=0x629ad0, object=0xa08eb0, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:941
#20 0x00007fd62e526eaf in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#21 0x00007fd63170b03a in QObject::event (this=0xa08eb0, e=<value optimized out>) at kernel/qobject.cpp:1217
#22 0x00007fd6320b1644 in QApplicationPrivate::notify_helper (this=0x637020, receiver=0xa08eb0, e=0x917c220) at kernel/qapplication.cpp:4462
#23 0x00007fd6320b61ca in QApplication::notify (this=<value optimized out>, receiver=0xa08eb0, e=0x917c220) at kernel/qapplication.cpp:4341
#24 0x00007fd632da5826 in KApplication::notify (this=0x7ffff7bd0150, receiver=0xa08eb0, event=0x917c220) at /var/tmp/portage/kde-base/kdelibs-4.6.5/work/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#25 0x00007fd6316f6e5b in QCoreApplication::notifyInternal (this=0x7ffff7bd0150, receiver=0xa08eb0, event=0x917c220) at kernel/qcoreapplication.cpp:731
#26 0x00007fd6316fa614 in sendEvent (receiver=0x0, event_type=0, data=0x60d450) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60d450) at kernel/qcoreapplication.cpp:1372
#28 0x00007fd631721ba3 in sendPostedEvents (s=0x63a5c0) at kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x63a5c0) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fd62b832afe in g_main_dispatch (context=0x63a4e0) at gmain.c:2440
#31 g_main_context_dispatch (context=0x63a4e0) at gmain.c:3013
#32 0x00007fd62b8332e8 in g_main_context_iterate (context=0x63a4e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#33 0x00007fd62b83357d in g_main_context_iteration (context=0x63a4e0, may_block=1) at gmain.c:3154
#34 0x00007fd631721d3f in QEventDispatcherGlib::processEvents (this=0x6323d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fd632156b0e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fd6316f6222 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fd6316f6464 in QEventLoop::exec (this=0x7ffff7bd00a0, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fd6316fa8cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x0000000000403fef in main (argc=4, argv=0x7ffff7bd0778) at /var/tmp/portage/kde-base/kontact-4.6.1/work/kontact-4.6.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Malcolm Lashley 2011-07-12 20:43:41 UTC
Correction for 4.6.2 and 4.6.1 in the description above, please substitute 4.6.1 and 4.6.0 respectively... my apologies.
Comment 2 Malcolm Lashley 2011-07-12 20:47:38 UTC
Possible duplicate of 276875 which has KPIM::ProgressItem::removeChild in the stacktrace, but this new stacktrace has QMetaObject::addGuard in the uppermost stack frame which the other defect does not.
Comment 3 Christophe Marin 2011-07-14 10:43:02 UTC

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