Bug 209629

Summary: Kmail crashed when using a filter
Product: [Applications] kontact Reporter: Darek <gdarecki>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darek 2009-10-06 14:22:18 UTC
Application that crashed: kontact
Version of the application: 4.3.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I chose a massage on an imap-server to be filtered as a spam. Instead of moving it to a spam folder on the server (filtering rule is defined in such a way) Kmail waited for a while and then crashed. 

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 0 (LWP 3886)]

Thread 5 (Thread 0xa9cf5b90 (LWP 4020)):
#0  0xb7fd0430 in __kernel_vsyscall ()
#1  0xb50fd0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59762ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b5a172 in QWaitCondition::wait (this=0x8ba51d8, mutex=0x8b73f98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0b3c148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ba51c0, th=0x9715a38) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0b3eeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b7e928, th=0x9715a38) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0b3ad2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ba51c0, th=0x9715a38) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0b3efea in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9715a38) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9715a38, previous=0x94ec908) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0b3cfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa9cf5330, parent=0x8ba51c0, th=0x9715a38) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#10 0xb0b3d5fb in ThreadWeaver::Thread::run (this=0x9715a38) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#11 0xb5b59132 in QThreadPrivate::start (arg=0x9715a38) at thread/qthread_unix.cpp:188
#12 0xb50f94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb596749e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa94f4b90 (LWP 4023)):
#0  0xb7fd0430 in __kernel_vsyscall ()
#1  0xb50fd0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59762ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b5a172 in QWaitCondition::wait (this=0x8ba51d8, mutex=0x8b73f98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0b3c148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ba51c0, th=0x9856760) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0b3eeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b7e928, th=0x9856760) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0b3ad2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ba51c0, th=0x9856760) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0b3efea in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9856760) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9856760, previous=0x9efb9c8) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0b3cfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa94f4330, parent=0x8ba51c0, th=0x9856760) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#10 0xb0b3d5fb in ThreadWeaver::Thread::run (this=0x9856760) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#11 0xb5b59132 in QThreadPrivate::start (arg=0x9856760) at thread/qthread_unix.cpp:188
#12 0xb50f94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb596749e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa8cf3b90 (LWP 4032)):
#0  0xb7fd0430 in __kernel_vsyscall ()
#1  0xb50fd0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59762ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b5a172 in QWaitCondition::wait (this=0x8ba51d8, mutex=0x8b73f98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0b3c148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ba51c0, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0b3eeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b7e928, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0b3ad2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ba51c0, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0b3efea in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9987208, previous=0x0) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0b3f009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9987208, previous=0x0) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb0b3f009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9987208, previous=0x0) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb0b3f009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9987208, previous=0x0) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb0b3f009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#16 0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x9987208, previous=0x9f09258) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#17 0xb0b3cfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa8cf3330, parent=0x8ba51c0, th=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#18 0xb0b3d5fb in ThreadWeaver::Thread::run (this=0x9987208) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#19 0xb5b59132 in QThreadPrivate::start (arg=0x9987208) at thread/qthread_unix.cpp:188
#20 0xb50f94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#21 0xb596749e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa84f2b90 (LWP 4035)):
#0  0xb7fd0430 in __kernel_vsyscall ()
#1  0xb50fd0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59762ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b5a172 in QWaitCondition::wait (this=0x8ba51d8, mutex=0x8b73f98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0b3c148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ba51c0, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0b3eeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8b7e928, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0b3ad2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ba51c0, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0b3efea in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x98afa00, previous=0x0) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0b3f009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x98afa00, previous=0x0) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb0b3f009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8b7e928, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb0b3c6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ba51c0, th=0x98afa00, previous=0x9f75d78) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb0b3cfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa84f2330, parent=0x8ba51c0, th=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#14 0xb0b3d5fb in ThreadWeaver::Thread::run (this=0x98afa00) at /build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#15 0xb5b59132 in QThreadPrivate::start (arg=0x98afa00) at thread/qthread_unix.cpp:188
#16 0xb50f94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb596749e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4867700 (LWP 3886)):
[KCrash Handler]
#6  KMail::FolderJob::msgList (this=0x96d6430) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  0xb0ed8e2b in KMAcctImap::ignoreJobsForMessage (this=0x8badb70, msg=0xa15f208) at /build/buildd/kdepim-4.3.1/kmail/kmacctimap.cpp:215
#8  0xb0ef0c55 in KMFolderImap::ignoreJobsForMessage (this=0x8b7fe98, msg=0xa15f208) at /build/buildd/kdepim-4.3.1/kmail/kmfolderimap.cpp:1564
#9  0xb100ae4e in KMMoveCommand::execute (this=0x9f77000) at /build/buildd/kdepim-4.3.1/kmail/kmcommands.cpp:2090
#10 0xb0fef4b2 in KMCommand::slotPostTransfer (this=0x9f77000, result=KMCommand::OK) at /build/buildd/kdepim-4.3.1/kmail/kmcommands.cpp:274
#11 0xb0ff97f4 in KMCommand::qt_metacall (this=0x9f77000, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfdecb3c) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:87
#12 0xb100cc6a in KMMoveCommand::qt_metacall (this=0x9f77000, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfdecb3c) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:1706
#13 0xb100cd32 in KMTrashMsgCommand::qt_metacall (this=0x9f77000, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfdecb3c) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:1758
#14 0xb5c631b8 in QMetaObject::activate (sender=0x9f77000, from_signal_index=4, to_signal_index=4, argv=0xbfdecb3c) at kernel/qobject.cpp:3113
#15 0xb5c63e42 in QMetaObject::activate (sender=0x9f77000, m=0xb14265f4, local_signal_index=0, argv=0xbfdecb3c) at kernel/qobject.cpp:3187
#16 0xb0feb4e3 in KMCommand::messagesTransfered (this=0x9f77000, _t1=KMCommand::OK) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:102
#17 0xb100906c in KMCommand::transferSelectedMsgs (this=0x9f77000) at /build/buildd/kdepim-4.3.1/kmail/kmcommands.cpp:368
#18 0xb10092c3 in KMCommand::slotStart (this=0x9f77000) at /build/buildd/kdepim-4.3.1/kmail/kmcommands.cpp:266
#19 0xb0ff9803 in KMCommand::qt_metacall (this=0x9f77000, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfdecd38) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:86
#20 0xb100cc6a in KMMoveCommand::qt_metacall (this=0x9f77000, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfdecd38) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:1706
#21 0xb100cd32 in KMTrashMsgCommand::qt_metacall (this=0x9f77000, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfdecd38) at /build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmcommands.moc:1758
#22 0xb5c631b8 in QMetaObject::activate (sender=0x977e518, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#23 0xb5c63e42 in QMetaObject::activate (sender=0x977e518, m=0xb5d3f908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#24 0xb5c68f77 in QSingleShotTimer::timeout (this=0x977e518) at .moc/release-shared/qtimer.moc:76
#25 0xb5c6909c in QSingleShotTimer::timerEvent (this=0x977e518) at kernel/qtimer.cpp:298
#26 0xb5c5e16f in QObject::event (this=0x977e518, e=0xbfded1bc) at kernel/qobject.cpp:1075
#27 0xb6110d3c in QApplicationPrivate::notify_helper (this=0x8629040, receiver=0x977e518, e=0xbfded1bc) at kernel/qapplication.cpp:4056
#28 0xb611903e in QApplication::notify (this=0xbfded468, receiver=0x977e518, e=0xbfded1bc) at kernel/qapplication.cpp:3603
#29 0xb6d0a85d in KApplication::notify (this=0xbfded468, receiver=0x977e518, event=0xbfded1bc) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#30 0xb5c4dbcb in QCoreApplication::notifyInternal (this=0xbfded468, receiver=0x977e518, event=0xbfded1bc) at kernel/qcoreapplication.cpp:610
#31 0xb5c7cd51 in QTimerInfoList::activateTimers (this=0x862816c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#32 0xb5c793a0 in timerSourceDispatch (source=0x8628138) at kernel/qeventdispatcher_glib.cpp:165
#33 0xb4d1eb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb4d220eb in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb4d22268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb5c792f8 in QEventDispatcherGlib::processEvents (this=0x8601028, flags={i = -1075915976}) at kernel/qeventdispatcher_glib.cpp:327
#37 0xb61b2a75 in QGuiEventDispatcherGlib::processEvents (this=0x8601028, flags={i = -1075915928}) at kernel/qguieventdispatcher_glib.cpp:202
#38 0xb5c4c1fa in QEventLoop::processEvents (this=0xbfded3e0, flags={i = -1075915864}) at kernel/qeventloop.cpp:149
#39 0xb5c4c642 in QEventLoop::exec (this=0xbfded3e0, flags={i = -1075915800}) at kernel/qeventloop.cpp:201
#40 0xb5c4eae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0xb6110bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x0804bfef in main (argc=1, argv=0xbfded764) at /build/buildd/kdepim-4.3.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-21 16:15:55 UTC
Merging with bug 163071. Thanks

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