[Bug 275757] New: Kmail2 crash whilst filtering (IMAP-SSL account)

Malcolm Lashley kde-malc at sucks-ass.com
Wed Jun 15 20:26:01 BST 2011


https://bugs.kde.org/show_bug.cgi?id=275757

           Summary: Kmail2 crash whilst filtering (IMAP-SSL account)
           Product: kontact
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde-malc at sucks-ass.com


Application: kontact (4.6.0)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.2"

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

I had multiple issues since upgrading to kmail2, these are the steps leading up
to the crash.

kmail2 was complaing 'Cannot determine the UID for the newly created message on
the server'. I checked serverside and suspected duplicate X-UID in the
(dovecot) mbox file. Since kmail was spamming 10's of these messages, and also
seemed to be pushing the whole inbox (or some large amount of mail) thru
spamassassin on each restart) I removed the IMAP account from the kmail config.
I then switched to thunderbird, created a new IMAP-folder and moved all the
mail to it, hoping a fresh index would help.)

After that I fired up kmail again. (It's a day later, so I have an inbox full
of spam by this point as I rely on kmail to filter it thru my own rules and
then pipe it thru spamassassin.)

I Ctrl-select a bunch of e-mail (about 20) and hit Ctrl-J to filter them
(Having previously disabled automating spam-checks by setting the filter items
not to run on new mail.)

That works mostly fine, messages are marked as spam (I have to pass them thru
the filter again to get the X-Spam-Flay=Y rule to move them to trash, need to
figure that out still).

I go for the big kahuna, selecting 1000+ messages and repeat the process, and
whilst it looked like filtering was done (I'm tailing the spamd logs amongst
other things at this point to check progress) kmail crashed.

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

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

Thread 2 (Thread 0x7f004ace1700 (LWP 21883)):
#0  0x00007f00694c15e3 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0063d2004d in g_main_context_poll (context=0xe13fa0, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:3404
#2  g_main_context_iterate (context=0xe13fa0, block=1, dispatch=1, self=<value
optimized out>) at gmain.c:3086
#3  0x00007f0063d2057d in g_main_context_iteration (context=0xe13fa0,
may_block=1) at gmain.c:3154
#4  0x00007f0069c0ed96 in QEventDispatcherGlib::processEvents (this=0xb16be0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0069be3222 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0069be3464 in QEventLoop::exec (this=0x7f004ace0de0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f0069af95a4 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#8  0x00007f0069bc4e08 in QInotifyFileSystemWatcherEngine::run (this=0xdddd40)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0069afbdf5 in QThreadPrivate::start (arg=0xdddd40) at
thread/qthread_unix.cpp:320
#10 0x00007f006427ed4c in start_thread (arg=0x7f004ace1700) at
pthread_create.c:301
#11 0x00007f00694ca40d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f006becd760 (LWP 21876)):
[KCrash Handler]
#6  0x00007f006718d1f2 in node_create (this=0x7f006977af60) at
/usr/include/qt4/QtCore/qmap.h:453
#7  QMap<KPIM::ProgressItem*, bool>::detach_helper (this=0x7f006977af60) at
/usr/include/qt4/QtCore/qmap.h:760
#8  0x00007f006718d293 in detach (this=0x7f006977af60, akey=@0x7fff8fd7c328) at
/usr/include/qt4/QtCore/qmap.h:202
#9  QMap<KPIM::ProgressItem*, bool>::remove (this=0x7f006977af60,
akey=@0x7fff8fd7c328) at /usr/include/qt4/QtCore/qmap.h:660
#10 0x00007f006718c69b in KPIM::ProgressItem::removeChild (this=0x7f006977af28,
kiddo=0xa720420) at
/var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/libkdepim/progressmanager.cpp:73
#11 0x00007f006718c701 in KPIM::ProgressItem::setComplete (this=0xa720420) at
/var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/libkdepim/progressmanager.cpp:58
#12 0x00007f006718db7d in
KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0xa638420,
instance=...) at
/var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/libkdepim/agentprogressmonitor.cpp:86
#13 0x00007f006718dc5a in KPIM::AgentProgressMonitor::qt_metacall
(this=0x9607460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff8fd7c470) at
/var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0_build/libkdepim/agentprogressmonitor.moc:78
#14 0x00007f0069bf8537 in QMetaObject::activate (sender=0x94ff50, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8fd7c470)
at kernel/qobject.cpp:3278
#15 0x00007f006663c575 in Akonadi::AgentManager::instanceStatusChanged
(this=<value optimized out>, _t1=<value optimized out>) at
/var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4_build/akonadi/agentmanager.moc:177
#16 0x00007f0066640d31 in
Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0xadd590,
identifier=<value optimized out>, status=0, msg=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/akonadi/agentmanager.cpp:129
#17 0x00007f006664310e in Akonadi::AgentManager::qt_metacall (this=0x94ff50,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8fd7c5f0)
at
/var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4_build/akonadi/agentmanager.moc:131
#18 0x00007f0069bf8537 in QMetaObject::activate (sender=0xa60b10, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8fd7c5f0)
at kernel/qobject.cpp:3278
#19 0x00007f006675eeeb 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.4/work/kdepimlibs-4.6.4_build/akonadi/agentmanagerinterface.moc:285
#20 0x00007f006675f3a5 in
OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0xa60b10,
_c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff8fd7cdc0) at
/var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4_build/akonadi/agentmanagerinterface.moc:167
#21 0x00007f0066a09b5a in QDBusConnectionPrivate::deliverCall (this=0x6297e0,
object=0xa60b10, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:941
#22 0x00007f0066a13eaf in QDBusCallDeliveryEvent::placeMetaCall (this=<value
optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#23 0x00007f0069bf803a in QObject::event (this=0xa60b10, e=<value optimized
out>) at kernel/qobject.cpp:1217
#24 0x00007f006a59e644 in QApplicationPrivate::notify_helper (this=0x636e30,
receiver=0xa60b10, e=0xba0dcf0) at kernel/qapplication.cpp:4462
#25 0x00007f006a5a31ca in QApplication::notify (this=<value optimized out>,
receiver=0xa60b10, e=0xba0dcf0) at kernel/qapplication.cpp:4341
#26 0x00007f006b292886 in KApplication::notify (this=0x7fff8fd7d9c0,
receiver=0xa60b10, event=0xba0dcf0) at
/var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#27 0x00007f0069be3e5b in QCoreApplication::notifyInternal
(this=0x7fff8fd7d9c0, receiver=0xa60b10, event=0xba0dcf0) at
kernel/qcoreapplication.cpp:731
#28 0x00007f0069be7614 in sendEvent (receiver=0x0, event_type=0, data=0x60d450)
at kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x60d450) at kernel/qcoreapplication.cpp:1372
#30 0x00007f0069c0eba3 in sendPostedEvents (s=0x63cac0) at
kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0x63cac0) at
kernel/qeventdispatcher_glib.cpp:277
#32 0x00007f0063d1fafe in g_main_dispatch (context=0x63c9e0) at gmain.c:2440
#33 g_main_context_dispatch (context=0x63c9e0) at gmain.c:3013
#34 0x00007f0063d202e8 in g_main_context_iterate (context=0x63c9e0, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:3091
#35 0x00007f0063d2057d in g_main_context_iteration (context=0x63c9e0,
may_block=1) at gmain.c:3154
#36 0x00007f0069c0ed3f in QEventDispatcherGlib::processEvents (this=0x62e760,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f006a643b0e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f0069be3222 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f0069be3464 in QEventLoop::exec (this=0x7fff8fd7d910, flags=...) at
kernel/qeventloop.cpp:201
#40 0x00007f0069be78cb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#41 0x0000000000403fef in main (argc=1, argv=0x7fff8fd7dfe8) at
/var/tmp/portage/kde-base/kontact-4.6.0/work/kontact-4.6.0/kontact/src/main.cpp:218

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

Possible duplicates by query: bug 223455.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list