Bug 236537

Summary: kmail IMAP crash when walking through and deleteing messages
Product: [Unmaintained] kmail Reporter: Per Lindahl <per.lindahl>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Per Lindahl 2010-05-06 11:15:21 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I was deleting messages one after another jumping to the next email before kmail had removed it from the list. Kmail had been running for approx 15 hours.

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

Thread 2 (Thread 0x7fd83ff8f710 (LWP 18483)):
#0  0x00007fd85cb59f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd8545084a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd8545088fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd85d4c4566 in QEventDispatcherGlib::processEvents (this=0x7fd8380008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd85d499992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fd85d499d6c in QEventLoop::exec (this=0x7fd83ff8ecf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fd85d3a3d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd85d47a178 in QInotifyFileSystemWatcherEngine::run (this=0x1cae0a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd85d3a6775 in QThreadPrivate::start (arg=0x1cae0a0) at thread/qthread_unix.cpp:248
#9  0x00007fd85afb09ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd85cb6669d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd86004d820 (LWP 18451)):
[KCrash Handler]
#5  QList (this=0x400000000000) at /usr/include/qt4/QtCore/qlist.h:114
#6  KMail::FolderJob::msgList (this=0x400000000000) at ../../kmail/folderjob.cpp:120
#7  0x00007fd85ea835e3 in KMAcctImap::ignoreJobsForMessage (this=0x169db90, msg=0x1dcf3b0) at ../../kmail/kmacctimap.cpp:217
#8  0x00007fd85eb94b77 in KMMoveCommand::execute (this=0x358d9d0) at ../../kmail/kmcommands.cpp:2192
#9  0x00007fd85eb8634a in KMCommand::slotPostTransfer (this=0x358d9d0, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:291
#10 0x00007fd85eb8fc83 in KMCommand::qt_metacall (this=0x358d9d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb22c3a00) at ./kmcommands.moc:93
#11 0x00007fd85eb8ff30 in KMMoveCommand::qt_metacall (this=0x7fffb22c3600, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x194e0) at ./kmcommands.moc:1971
#12 0x00007fd85d4ade3f in QMetaObject::activate (sender=0x358d9d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x194e0) at kernel/qobject.cpp:3293
#13 0x00007fd85eb8101e in KMCommand::messagesTransfered (this=0x7fffb22c3600, _t1=KMCommand::OK) at ./kmcommands.moc:108
#14 0x00007fd85eb9764c in KMCommand::transferSelectedMsgs (this=0x358d9d0) at ../../kmail/kmcommands.cpp:389
#15 0x00007fd85eb97858 in KMCommand::slotStart (this=0x358d9d0) at ../../kmail/kmcommands.cpp:283
#16 0x00007fd85eb8fc66 in KMCommand::qt_metacall (this=0x358d9d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb22c3c60) at ./kmcommands.moc:92
#17 0x00007fd85eb8ff30 in KMMoveCommand::qt_metacall (this=0x7fffb22c3600, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x194e0) at ./kmcommands.moc:1971
#18 0x00007fd85d4ade3f in QMetaObject::activate (sender=0x1a25e60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x194e0) at kernel/qobject.cpp:3293
#19 0x00007fd85d4b565f in QSingleShotTimer::timerEvent (this=0x1a25e60) at kernel/qtimer.cpp:308
#20 0x00007fd85d4aaa63 in QObject::event (this=0x1a25e60, e=0x7fffb22c43c0) at kernel/qobject.cpp:1212
#21 0x00007fd85d96e22c in QApplicationPrivate::notify_helper (this=0x13114a0, receiver=0x1a25e60, e=0x7fffb22c43c0) at kernel/qapplication.cpp:4300
#22 0x00007fd85d9746fb in QApplication::notify (this=0x7fffb22c4830, receiver=0x1a25e60, e=0x7fffb22c43c0) at kernel/qapplication.cpp:4183
#23 0x00007fd85fa70526 in KApplication::notify (this=0x7fffb22c4830, receiver=0x1a25e60, event=0x7fffb22c43c0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007fd85d49b06c in QCoreApplication::notifyInternal (this=0x7fffb22c4830, receiver=0x1a25e60, event=0x7fffb22c43c0) at kernel/qcoreapplication.cpp:704
#25 0x00007fd85d4c7d42 in QCoreApplication::sendEvent (this=0x12f1240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x12f1240) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007fd85d4c4824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#28 0x00007fd8545048c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007fd854508748 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007fd8545088fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007fd85d4c4513 in QEventDispatcherGlib::processEvents (this=0x12ae000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#32 0x00007fd85da1e46e in QGuiEventDispatcherGlib::processEvents (this=0x7fffb22c3600, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fd85d499992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#34 0x00007fd85d499d6c in QEventLoop::exec (this=0x7fffb22c4660, flags=) at kernel/qeventloop.cpp:201
#35 0x00007fd85d49daab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 235831, bug 231756.

Possible duplicates by query: bug 235831, bug 234577, bug 231756, bug 231225, bug 229376.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-05-27 15:32:34 UTC

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