Bug 246069

Summary: kmail crash while moving mail between imap folders
Product: [Applications] kontact Reporter: Thomas Caswell <tcaswell>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Caswell 2010-07-28 19:43:24 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I was moving emails between folders on the gmail servers.  I was sorting email on on folder in to multiple other folders.  

It seemed to be ok if I moved one batch (order 20 emails), waited for that to finish and then move another batch. If I start one batch moving between folders, and then start more (one or several) batchs moving before the first finishes it seems to crash semi-reliably twice in 15 min, but not sure of the exact trigger).

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f5dd6b5f710 (LWP 18416)):
#0  0x00007f5dfaa4df83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5df35824a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f5df35828fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f5dfbe39566 in QEventDispatcherGlib::processEvents (this=0x1c29ef0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f5dfbe0e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f5dfbe0ed6c in QEventLoop::exec (this=0x7f5dd6b5ed90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f5dfbd18d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f5dfbdef178 in QInotifyFileSystemWatcherEngine::run (this=0x1d385e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5dfbd1b775 in QThreadPrivate::start (arg=0x1d385e0) at thread/qthread_unix.cpp:248
#9  0x00007f5df5af99ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5dfaa5a6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5dfd97d780 (LWP 18406)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x384abd0) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QList (this=0x384abd0) at /usr/include/qt4/QtCore/qlist.h:114
#7  KMail::FolderJob::msgList (this=0x384abd0) at ../../kmail/folderjob.cpp:120
#8  0x00007f5de3b8b5e3 in KMAcctImap::ignoreJobsForMessage (this=0x1793770, msg=0x33eeff0) at ../../kmail/kmacctimap.cpp:217
#9  0x00007f5de3c9cb77 in KMMoveCommand::execute (this=0x2afe6e0) at ../../kmail/kmcommands.cpp:2192
#10 0x00007f5de3c8e34a in KMCommand::slotPostTransfer (this=0x2afe6e0, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:291
#11 0x00007f5de3c97c83 in KMCommand::qt_metacall (this=0x2afe6e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3c2a6950) at ./kmcommands.moc:93
#12 0x00007f5de3c97f30 in KMMoveCommand::qt_metacall (this=0x7fff3c2a6550, _c=59026384, _id=96, _a=0x20ab0) at ./kmcommands.moc:1971
#13 0x00007f5dfbe22e3f in QMetaObject::activate (sender=0x2afe6e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20ab0) at kernel/qobject.cpp:3293
#14 0x00007f5de3c8901e in KMCommand::messagesTransfered (this=0x7fff3c2a6550, _t1=KMCommand::OK) at ./kmcommands.moc:108
#15 0x00007f5de3c9f64c in KMCommand::transferSelectedMsgs (this=0x2afe6e0) at ../../kmail/kmcommands.cpp:389
#16 0x00007f5de3c9f858 in KMCommand::slotStart (this=0x2afe6e0) at ../../kmail/kmcommands.cpp:283
#17 0x00007f5de3c97c66 in KMCommand::qt_metacall (this=0x2afe6e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3c2a6bb0) at ./kmcommands.moc:92
#18 0x00007f5de3c97f30 in KMMoveCommand::qt_metacall (this=0x7fff3c2a6550, _c=59026384, _id=96, _a=0x20ab0) at ./kmcommands.moc:1971
#19 0x00007f5dfbe22e3f in QMetaObject::activate (sender=0x28850b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x20ab0) at kernel/qobject.cpp:3293
#20 0x00007f5dfbe2a65f in QSingleShotTimer::timerEvent (this=0x28850b0) at kernel/qtimer.cpp:308
#21 0x00007f5dfbe1fa63 in QObject::event (this=0x28850b0, e=0x7fff3c2a7310) at kernel/qobject.cpp:1212
#22 0x00007f5dfb1c922c in QApplicationPrivate::notify_helper (this=0xfe1bd0, receiver=0x28850b0, e=0x7fff3c2a7310) at kernel/qapplication.cpp:4300
#23 0x00007f5dfb1cf6fb in QApplication::notify (this=0x7fff3c2a7670, receiver=0x28850b0, e=0x7fff3c2a7310) at kernel/qapplication.cpp:4183
#24 0x00007f5dfc7f8526 in KApplication::notify (this=0x7fff3c2a7670, receiver=0x28850b0, event=0x7fff3c2a7310) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00007f5dfbe1006c in QCoreApplication::notifyInternal (this=0x7fff3c2a7670, receiver=0x28850b0, event=0x7fff3c2a7310) at kernel/qcoreapplication.cpp:704
#26 0x00007f5dfbe3cd42 in QCoreApplication::sendEvent (this=0xfefa40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xfefa40) at kernel/qeventdispatcher_unix.cpp:603
#28 0x00007f5dfbe39824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 0x00007f5df357e8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f5df3582748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f5df35828fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f5dfbe39513 in QEventDispatcherGlib::processEvents (this=0xfb5d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f5dfb27946e in QGuiEventDispatcherGlib::processEvents (this=0x7fff3c2a6550, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f5dfbe0e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f5dfbe0ed6c in QEventLoop::exec (this=0x7fff3c2a75b0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f5dfbe12aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

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

Possible duplicates by query: bug 244057, bug 243282, bug 242494, bug 241940, bug 238435.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-12 14:38:29 UTC

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