Bug 278446

Summary: Random KMail crash when downloading mail
Product: [Applications] kmail2 Reporter: Stefano Crocco <stefano.crocco>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefano Crocco 2011-07-25 07:21:40 UTC
Application: kmail (2.1.96)
KDE Platform Version: 4.6.95 (4.7 RC2)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
KMail was sitting in system tray and automatically downloading mail from a POP account when it suddenly crashed

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fea0c6af760 (LWP 2953))]

Thread 2 (Thread 0x7fe9f4ac3700 (LWP 3277)):
#0  0x00007fea077ef49c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe9fe6444bd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fe9fe6445b9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fea077eabda in start_thread () from /lib64/libpthread.so.0
#4  0x00007fea0996f0bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fea0c6af760 (LWP 2953)):
[KCrash Handler]
#6  operator!= (this=0x5dbf868, kiddo=<value optimized out>) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  detach (this=0x5dbf868, kiddo=<value optimized out>) at /usr/include/qt4/QtCore/qmap.h:202
#8  remove (this=0x5dbf868, kiddo=<value optimized out>) at /usr/include/qt4/QtCore/qmap.h:660
#9  KPIM::ProgressItem::removeChild (this=0x5dbf868, kiddo=<value optimized out>) at /var/tmp/paludis/kde-base-kdepim-common-libs-4.6.95/work/kdepim-common-libs-4.6.95/libkdepim/progressmanager.cpp:72
#10 0x00007fea037fe08f in KPIM::ProgressItem::setComplete (this=0x5d58800) at /var/tmp/paludis/kde-base-kdepim-common-libs-4.6.95/work/kdepim-common-libs-4.6.95/libkdepim/progressmanager.cpp:57
#11 0x00007fea037ff97b in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x5e25440, instance=...) at /var/tmp/paludis/kde-base-kdepim-common-libs-4.6.95/work/kdepim-common-libs-4.6.95/libkdepim/agentprogressmonitor.cpp:87
#12 0x00007fea037ffbaa in KPIM::AgentProgressMonitor::qt_metacall (this=0x1d5b7d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff50202af0) at /var/tmp/paludis/kde-base-kdepim-common-libs-4.6.95/work/kdepim-common-libs-4.6.95_build/libkdepim/agentprogressmonitor.moc:78
#13 0x00007fea0a2c964f in QMetaObject::activate (sender=0xc58a80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3278
#14 0x00007fea05dae905 in Akonadi::AgentManager::instanceStatusChanged (this=0xb20020, _t1=<value optimized out>) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95_build/akonadi/agentmanager.moc:177
#15 0x00007fea05db4700 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x9cfc60, identifier=<value optimized out>, status=0, msg=...) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95/akonadi/agentmanager.cpp:129
#16 0x00007fea05db4ee6 in Akonadi::AgentManager::qt_metacall (this=0xc58a80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff50202ca0) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95_build/akonadi/agentmanager.moc:131
#17 0x00007fea0a2c964f in QMetaObject::activate (sender=0xc662a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3278
#18 0x00007fea05ec35bb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=0xb20020, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95_build/akonadi/agentmanagerinterface.moc:285
#19 0x00007fea05ec3b8f in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0xc662a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff502033e0) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95_build/akonadi/agentmanagerinterface.moc:167
#20 0x00007fea07a26879 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:941
#21 0x00007fea07a3063f in QDBusCallDeliveryEvent::placeMetaCall (this=0x7fea0000000a, object=0x20) at qdbusintegrator_p.h:103
#22 0x00007fea0a2c389e in QObject::event (this=0xc662a0, e=0xb20020) at kernel/qobject.cpp:1217
#23 0x00007fea0a7aa69c in QApplicationPrivate::notify_helper (this=0xae5ba0, receiver=0xc662a0, e=0x5935ff0) at kernel/qapplication.cpp:4462
#24 0x00007fea0a7afa3d in QApplication::notify (this=0x7fff50205560, receiver=0xc662a0, e=0x5935ff0) at kernel/qapplication.cpp:4341
#25 0x00007fea0c0abf06 in KApplication::notify (this=0x7fff50205560, receiver=0xc662a0, event=0x5935ff0) at /var/tmp/paludis/kde-base-kdelibs-4.6.95/work/kdelibs-4.6.95/kdeui/kernel/kapplication.cpp:311
#26 0x00007fea0a2b1deb in QCoreApplication::notifyInternal (this=0x7fff50205560, receiver=0xc662a0, event=0x5935ff0) at kernel/qcoreapplication.cpp:731
#27 0x00007fea0a2b4d41 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x950bd0) at kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x950bd0) at kernel/qcoreapplication.cpp:1372
#29 0x00007fea0a2dda83 in sendPostedEvents (s=0xae9440) at kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=0xae9440) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007fea01eff661 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fea01f03cb8 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fea01f03e6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fea0a2dd5e3 in QEventDispatcherGlib::processEvents (this=0x98f510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fea0a85b00e in QGuiEventDispatcherGlib::processEvents (this=0xb20020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fea0a2b0b72 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007fea0a2b0f5d in QEventLoop::exec (this=0x7fff50203ff0, flags=) at kernel/qeventloop.cpp:201
#38 0x00007fea0ba78936 in KJob::exec (this=0x2a89810) at /var/tmp/paludis/kde-base-kdelibs-4.6.95/work/kdelibs-4.6.95/kdecore/jobs/kjob.cpp:204
#39 0x00007fea050553f6 in MailCommon::SearchRuleString::matchesInternal (this=<value optimized out>, msgContents=<value optimized out>) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/mailcommon/searchpattern.cpp:602
#40 0x00007fea050591f6 in MailCommon::SearchRuleString::matches (this=0xde2dc0, item=<value optimized out>) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/mailcommon/searchpattern.cpp:462
#41 0x00007fea05058520 in MailCommon::SearchPattern::matches (this=0xd64c20, item=..., ignoreBody=false) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/mailcommon/searchpattern.cpp:947
#42 0x00007fea05023ccf in MailCommon::FilterManager::Private::isMatching (this=<value optimized out>, item=..., filter=0xd64c20) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/mailcommon/filtermanager.cpp:225
#43 0x00007fea05023fa8 in MailCommon::FilterManager::process (this=0xd5bb50, item=..., set=<value optimized out>, account=true, accountId=<value optimized out>) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/mailcommon/filtermanager.cpp:412
#44 0x00007fea050246b4 in MailCommon::FilterManager::Private::itemAddedFetchResult (this=0xd5a9a0, job=<value optimized out>) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/mailcommon/filtermanager.cpp:193
#45 0x00007fea05025b45 in MailCommon::FilterManager::qt_metacall (this=0xd5bb50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff502049d0) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95_build/mailcommon/filtermanager.moc:100
#46 0x00007fea0a2c964f in QMetaObject::activate (sender=0x26f00e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3278
#47 0x00007fea0ba78532 in KJob::result (this=0xb20020, _t1=0x26f00e0) at /var/tmp/paludis/kde-base-kdelibs-4.6.95/work/kdelibs-4.6.95_build/kdecore/kjob.moc:194
#48 0x00007fea0ba787d0 in KJob::emitResult (this=0x26f00e0) at /var/tmp/paludis/kde-base-kdelibs-4.6.95/work/kdelibs-4.6.95/kdecore/jobs/kjob.cpp:312
#49 0x00007fea05e4b549 in delayedEmitResult (this=0x26f00e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x5d19e40) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95/akonadi/job.cpp:144
#50 Akonadi::Job::qt_metacall (this=0x26f00e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x5d19e40) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95_build/akonadi/job.moc:91
#51 0x00007fea05e389c5 in Akonadi::ItemFetchJob::qt_metacall (this=0xb20020, _c=32, _id=11760592, _a=0x1) at /var/tmp/paludis/kde-base-kdepimlibs-4.6.95/work/kdepimlibs-4.6.95_build/akonadi/itemfetchjob.moc:73
#52 0x00007fea0a2c389e in QObject::event (this=0x26f00e0, e=0xb20020) at kernel/qobject.cpp:1217
#53 0x00007fea0a7aa69c in QApplicationPrivate::notify_helper (this=0xae5ba0, receiver=0x26f00e0, e=0x5e97c60) at kernel/qapplication.cpp:4462
#54 0x00007fea0a7afa3d in QApplication::notify (this=0x7fff50205560, receiver=0x26f00e0, e=0x5e97c60) at kernel/qapplication.cpp:4341
#55 0x00007fea0c0abf06 in KApplication::notify (this=0x7fff50205560, receiver=0x26f00e0, event=0x5e97c60) at /var/tmp/paludis/kde-base-kdelibs-4.6.95/work/kdelibs-4.6.95/kdeui/kernel/kapplication.cpp:311
#56 0x00007fea0a2b1deb in QCoreApplication::notifyInternal (this=0x7fff50205560, receiver=0x26f00e0, event=0x5e97c60) at kernel/qcoreapplication.cpp:731
#57 0x00007fea0a2b4d41 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x950bd0) at kernel/qcoreapplication.h:215
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x950bd0) at kernel/qcoreapplication.cpp:1372
#59 0x00007fea0a2dda83 in sendPostedEvents (s=0xae9440) at kernel/qcoreapplication.h:220
#60 postEventSourceDispatch (s=0xae9440) at kernel/qeventdispatcher_glib.cpp:277
#61 0x00007fea01eff661 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#62 0x00007fea01f03cb8 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#63 0x00007fea01f03e6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#64 0x00007fea0a2dd5e3 in QEventDispatcherGlib::processEvents (this=0x98f510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#65 0x00007fea0a85b00e in QGuiEventDispatcherGlib::processEvents (this=0xb20020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007fea0a2b0b72 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#67 0x00007fea0a2b0f5d in QEventLoop::exec (this=0x7fff50205420, flags=) at kernel/qeventloop.cpp:201
#68 0x00007fea0a2b4f53 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#69 0x0000000000403280 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/paludis/kde-base-kmail-4.6.95/work/kmail-4.6.95/kmail/main.cpp:145

This bug may be a duplicate of or related to bug 276875.

Possible duplicates by query: bug 278174, bug 276875, bug 264662.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-25 08:42:29 UTC

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