Bug 243410 - kontact crashes when deleting emails in imap folders
Summary: kontact crashes when deleting emails in imap folders
Status: RESOLVED DUPLICATE of bug 195859
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 08:40 UTC by Martin Tlustos
Modified: 2010-08-07 18:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tlustos 2010-07-02 08:40:24 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Sometimes (not always) kmail crashes when I delete mutliple emails in an imap folder. It seems to crash when there is still another process going on, like fetching email or performing another delete.

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0x7f9777171710 (LWP 4801)):
#0  0x00007f9793c15f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f978b5b44a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f978b5b48fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f979457c406 in QEventDispatcherGlib::processEvents (this=0x2ccab30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f97945516c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9794551a9c in QEventLoop::exec (this=0x7f9777170cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f97944608db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f9794531dd8 in QInotifyFileSystemWatcherEngine::run (this=0x2c8b8b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9794462f95 in QThreadPrivate::start (arg=0x2c8b8b0) at thread/qthread_unix.cpp:248
#9  0x00007f979206c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f9793c226cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9774891710 (LWP 4819)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9794463fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f979020c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x244f9b0, th=0x2b8fe00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f979020e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2b8fe00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2b8fe00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2b8fe00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2b8fe00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2b8fe00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f979020cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9774890d40, parent=0x244f9b0, th=0x2b8fe00) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007f979020d168 in ThreadWeaver::Thread::run (this=0x2b8fe00) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f9794462f95 in QThreadPrivate::start (arg=0x2b8fe00) at thread/qthread_unix.cpp:248
#12 0x00007f979206c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f9793c226cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9775565710 (LWP 4828)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9794463fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f979020c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x244f9b0, th=0x2a54190) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f979020e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2a54190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f979020cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9775564d40, parent=0x244f9b0, th=0x2a54190) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f979020d168 in ThreadWeaver::Thread::run (this=0x2a54190) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9794462f95 in QThreadPrivate::start (arg=0x2a54190) at thread/qthread_unix.cpp:248
#8  0x00007f979206c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9793c226cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9776970710 (LWP 5146)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9794463fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f979020c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x244f9b0, th=0x2deabb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f979020e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2deabb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2deabb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2deabb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2deabb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f979020cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f977696fd40, parent=0x244f9b0, th=0x2deabb0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f979020d168 in ThreadWeaver::Thread::run (this=0x2deabb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f9794462f95 in QThreadPrivate::start (arg=0x2deabb0) at thread/qthread_unix.cpp:248
#11 0x00007f979206c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f9793c226cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f977616f710 (LWP 5149)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9794463fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23e04b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f979020c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x244f9b0, th=0x2d0f8b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f979020e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2d0f8b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f979020e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23cf680, th=0x2d0f8b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f979020cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f977616ed40, parent=0x244f9b0, th=0x2d0f8b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f979020d168 in ThreadWeaver::Thread::run (this=0x2d0f8b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9794462f95 in QThreadPrivate::start (arg=0x2d0f8b0) at thread/qthread_unix.cpp:248
#9  0x00007f979206c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f9793c226cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9797105820 (LWP 4794)):
[KCrash Handler]
#5  0x00007f9795a86d70 in ?? () from /usr/lib/libkmailprivate.so.4
#6  0x00007f9795ca225d in ?? () from /usr/lib/libkmailprivate.so.4
#7  0x00007f9795ca3aa2 in ?? () from /usr/lib/libkmailprivate.so.4
#8  0x00007f9794566036 in QMetaObject::activate (sender=0x2eaf0f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd0ed9578) at kernel/qobject.cpp:3295
#9  0x00007f979655d95b in KJob::processedSize (this=0x3, _t1=0x2eaf0f0, _t2=5803) at ./kjob.moc:243
#10 0x00007f979655edf2 in KJob::setProcessedAmount (this=<value optimized out>, unit=KJob::Bytes, amount=<value optimized out>) at ../../kdecore/jobs/kjob.cpp:267
#11 0x00007f9790e49265 in KIO::SimpleJob::qt_metacall (this=0x2eaf0f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd0ed9830) at ./jobclasses.moc:175
#12 0x00007f9790e49350 in KIO::TransferJob::qt_metacall (this=0x3, _c=48951536, _id=0, _a=0x7fffd0ed9578) at ./jobclasses.moc:355
#13 0x00007f9794566036 in QMetaObject::activate (sender=0x28ebd70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd0ed9578) at kernel/qobject.cpp:3295
#14 0x00007f9790f07b72 in KIO::SlaveInterface::processedSize (this=0x3, _t1=5803) at ./slaveinterface.moc:239
#15 0x00007f9790f0a903 in KIO::SlaveInterface::dispatch (this=0x28ebd70, _cmd=11, rawdata=...) at ../../kio/kio/slaveinterface.cpp:242
#16 0x00007f9790f080d3 in KIO::SlaveInterface::dispatch (this=0x28ebd70) at ../../kio/kio/slaveinterface.cpp:91
#17 0x00007f9790efc536 in KIO::Slave::gotInput (this=0x28ebd70) at ../../kio/kio/slave.cpp:324
#18 0x00007f9790efc71c in KIO::Slave::qt_metacall (this=0x28ebd70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd0ed9c20) at ./slave.moc:82
#19 0x00007f9794566036 in QMetaObject::activate (sender=0x2b101b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd0ed9578) at kernel/qobject.cpp:3295
#20 0x00007f9790e199d7 in KIO::ConnectionPrivate::dequeue (this=0x29f6620) at ../../kio/kio/connection.cpp:82
#21 0x00007f9790e19afd in KIO::Connection::qt_metacall (this=0x2b101b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2e58790) at ./connection.moc:79
#22 0x00007f9794562b79 in QObject::event (this=0x2b101b0, e=0x2c889a0) at kernel/qobject.cpp:1248
#23 0x00007f9794a27c0c in QApplicationPrivate::notify_helper (this=0x20aa850, receiver=0x2b101b0, e=0x2c889a0) at kernel/qapplication.cpp:4302
#24 0x00007f9794a2e0eb in QApplication::notify (this=0x7fffd0eda840, receiver=0x2b101b0, e=0x2c889a0) at kernel/qapplication.cpp:4185
#25 0x00007f9796b2ea16 in KApplication::notify (this=0x7fffd0eda840, receiver=0x2b101b0, event=0x2c889a0) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f9794552d9c in QCoreApplication::notifyInternal (this=0x7fffd0eda840, receiver=0x2b101b0, event=0x2c889a0) at kernel/qcoreapplication.cpp:726
#27 0x00007f9794556454 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1fb18b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1fb18b0) at kernel/qcoreapplication.cpp:1367
#29 0x00007f979457c873 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f978b5b08c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f978b5b4748 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f978b5b48fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f979457c3b3 in QEventDispatcherGlib::processEvents (this=0x1fb1000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007f9794ad818e in QGuiEventDispatcherGlib::processEvents (this=0x3, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f97945516c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f9794551a9c in QEventLoop::exec (this=0x7fffd0eda670, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f979455673b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#39 0x0000000000403482 in _start ()

Possible duplicates by query: bug 242458, bug 238152, bug 231888, bug 218941, bug 200148.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-08-07 18:41:36 UTC

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