Bug 267501

Summary: Kmail crashes when deleting an IMAP email
Product: [Applications] kontact Reporter: Chris <crglasoe>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.10   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2011-03-02 21:16:44 UTC
Application: kontact (4.4.10)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Crashed when deleting an email in an IMAP folder.  Why does this happen?  Simple things shouldn't cause a crash like this.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f8fdf2c8710 (LWP 13854)):
#0  0x00007f8ff73fb39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8ffd5572bb in wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8fe34b93f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10d5b80, th=0x1dc5f80) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f8fe34bbe45 in waitForAvailableJob (this=0x83ef70, th=0x1dc5f80) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x1dc5f80) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f8fe34b97ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f8fdf2c7e30, parent=0x10d5b80, th=0x1dc5f80) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f8fe34b9878 in ThreadWeaver::Thread::run (this=0x1dc5f80) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f8ffd556bf5 in QThreadPrivate::start (arg=0x1dc5f80) at thread/qthread_unix.cpp:248
#9  0x00007f8ff73f6a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8ffc2d582d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8fdcf77710 (LWP 13858)):
#0  0x00007f8ff73fb39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8ffd5572bb in wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8fe34b93f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10d5b80, th=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f8fe34bbe45 in waitForAvailableJob (this=0x83ef70, th=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f8fe34bbe5e in ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f8fe34bbe5e in ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f8fe34b97ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f8fdcf76e30, parent=0x10d5b80, th=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#9  0x00007f8fe34b9878 in ThreadWeaver::Thread::run (this=0x1dd8d70) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#10 0x00007f8ffd556bf5 in QThreadPrivate::start (arg=0x1dd8d70) at thread/qthread_unix.cpp:248
#11 0x00007f8ff73f6a4f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f8ffc2d582d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8fde2a1710 (LWP 14130)):
#0  0x00007f8ff73fb39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8ffd5572bb in wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8fe34b93f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10d5b80, th=0x2201a90) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f8fe34bbe45 in waitForAvailableJob (this=0x83ef70, th=0x2201a90) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x2201a90) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f8fe34bbe5e in ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x2201a90) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f8fe34b97ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f8fde2a0e30, parent=0x10d5b80, th=0x2201a90) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f8fe34b9878 in ThreadWeaver::Thread::run (this=0x2201a90) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f8ffd556bf5 in QThreadPrivate::start (arg=0x2201a90) at thread/qthread_unix.cpp:248
#10 0x00007f8ff73f6a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f8ffc2d582d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8fd7fff710 (LWP 14133)):
#0  0x00007f8ff73fb39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8ffd5572bb in wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x847a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8fe34b93f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10d5b80, th=0x181f0c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f8fe34bbe45 in waitForAvailableJob (this=0x83ef70, th=0x181f0c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x83ef70, th=0x181f0c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f8fe34b97ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f8fd7ffee30, parent=0x10d5b80, th=0x181f0c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f8fe34b9878 in ThreadWeaver::Thread::run (this=0x181f0c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f8ffd556bf5 in QThreadPrivate::start (arg=0x181f0c0) at thread/qthread_unix.cpp:248
#9  0x00007f8ff73f6a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8ffc2d582d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8fd77fe710 (LWP 14176)):
#0  0x00007f8ff73fb709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8ffd557222 in wait (this=<value optimized out>, mutex=0x1756230, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1756230, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8ffd54d0d0 in QThreadPoolThread::run (this=0xcfe350) at concurrent/qthreadpool.cpp:140
#4  0x00007f8ffd556bf5 in QThreadPrivate::start (arg=0xcfe350) at thread/qthread_unix.cpp:248
#5  0x00007f8ff73f6a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8ffc2d582d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8fff145760 (LWP 13493)):
[KCrash Handler]
#6  ref (this=0x1221680) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x1221680) at /usr/include/QtCore/qlist.h:114
#8  KMail::FolderJob::msgList (this=0x1221680) at /usr/src/debug/kdepim-4.4.10/kmail/folderjob.cpp:120
#9  0x00007f8fe390777b in KMAcctImap::ignoreJobsForMessage (this=0xf90060, msg=0x27626b0) at /usr/src/debug/kdepim-4.4.10/kmail/kmacctimap.cpp:217
#10 0x00007f8fe3a1534f in KMMoveCommand::execute (this=0xfea180) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:2208
#11 0x00007f8fe3a0a88a in KMCommand::slotPostTransfer (this=0xfea180, result=KMCommand::OK) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:295
#12 0x00007f8fe3a101d3 in KMCommand::qt_metacall (this=0xfea180, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204a9e60)
    at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:93
#13 0x00007f8fe3a14c50 in KMMoveCommand::qt_metacall (this=0xfea180, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204a9e60)
    at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:1971
#14 0x00007f8ffd651a1f in QMetaObject::activate (sender=0xfea180, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff204a9e60) at kernel/qobject.cpp:3295
#15 0x00007f8fe39ffc8e in KMCommand::messagesTransfered (this=<value optimized out>, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:108
#16 0x00007f8fe3a078e4 in KMCommand::transferSelectedMsgs (this=0xfea180) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:393
#17 0x00007f8fe3a0fcc8 in KMCommand::slotStart (this=0xfea180) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:287
#18 0x00007f8fe3a101b6 in KMCommand::qt_metacall (this=0xfea180, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204aa0b0)
    at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:92
#19 0x00007f8fe3a14c50 in KMMoveCommand::qt_metacall (this=0xfea180, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204aa0b0)
    at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:1971
#20 0x00007f8ffd651a1f in QMetaObject::activate (sender=0x21f3fb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#21 0x00007f8ffd656dbf in QSingleShotTimer::timerEvent (this=0x21f3fb0) at kernel/qtimer.cpp:308
#22 0x00007f8ffd64f22e in QObject::event (this=0x21f3fb0, e=0x7fff204aa860) at kernel/qobject.cpp:1212
#23 0x00007f8ffca2f4d4 in QApplicationPrivate::notify_helper (this=0x63d220, receiver=0x21f3fb0, e=0x7fff204aa860) at kernel/qapplication.cpp:4302
#24 0x00007f8ffca37aca in QApplication::notify (this=<value optimized out>, receiver=0x21f3fb0, e=0x7fff204aa860) at kernel/qapplication.cpp:4185
#25 0x00007f8ffdf63876 in KApplication::notify (this=0x7fff204aaca0, receiver=0x21f3fb0, event=0x7fff204aa860) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#26 0x00007f8ffd63de4c in QCoreApplication::notifyInternal (this=0x7fff204aaca0, receiver=0x21f3fb0, event=0x7fff204aa860) at kernel/qcoreapplication.cpp:726
#27 0x00007f8ffd6690a9 in sendEvent (this=0x64f4e0) at kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x64f4e0) at kernel/qeventdispatcher_unix.cpp:618
#29 0x00007f8ffd665fb4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#30 0x00007f8ff4c88a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f8ff4c89270 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f8ff4c89510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f8ffd66665f in QEventDispatcherGlib::processEvents (this=0x613220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f8ffcad011e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f8ffd63d292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f8ffd63d495 in QEventLoop::exec (this=0x7fff204aabf0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f8ffd64188b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x000000000040417e in main (argc=1, argv=0x7fff204ab288) at /usr/src/debug/kdepim-4.4.10/kontact/src/main.cpp:224

Possible duplicates by query: bug 265639, bug 264828, bug 264191, bug 258950, bug 256992.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-03-02 21:59:28 UTC

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