[Bug 246112] New: KMail crashes when deleting emails while it's busy with IMAP transfers

fschmitt at stanford.edu fschmitt at stanford.edu
Thu Jul 29 03:45:52 BST 2010


https://bugs.kde.org/show_bug.cgi?id=246112

           Summary: KMail crashes when deleting emails while it's busy
                    with IMAP transfers
           Product: kontact
           Version: 4.4.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: fschmitt at stanford.edu


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-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When deleting several emails and the connection is slower, the emails to be
deleted will be disabled (greyed out) before they are actually deleted from the
IMAP server and then synchronized/taken off the local email list. When kmail is
busy doing its deletion sync with the IMAP server, it is very fragile. If one
does not wait until it is finished but clicks on one of the greyed out messages
and/or tries to delete more messages, KMail crashes with a seg fault.

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

Thread 2 (Thread 0x7fb0710f3710 (LWP 7832)):
#0  0x00007fb094022f83 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb08cb574a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb08cb578fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fb09540e566 in QEventDispatcherGlib::processEvents (this=0x1cc6f60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fb0953e3992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb0953e3d6c in QEventLoop::exec (this=0x7fb0710f2d90, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007fb0952edd59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007fb0953c4178 in QInotifyFileSystemWatcherEngine::run (this=0x1cc63d0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb0952f0775 in QThreadPrivate::start (arg=0x1cc63d0) at
thread/qthread_unix.cpp:248
#9  0x00007fb08f0ce9ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007fb09402f6fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb096f3f780 (LWP 7644)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x32c8860) at
/usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QList (this=0x32c8860) at /usr/include/qt4/QtCore/qlist.h:114
#7  KMail::FolderJob::msgList (this=0x32c8860) at ../../kmail/folderjob.cpp:120
#8  0x00007fb07c2805e3 in KMAcctImap::ignoreJobsForMessage (this=0x16d27b0,
msg=0x19fc670) at ../../kmail/kmacctimap.cpp:217
#9  0x00007fb07c391b77 in KMMoveCommand::execute (this=0x344fca0) at
../../kmail/kmcommands.cpp:2192
#10 0x00007fb07c38334a in KMCommand::slotPostTransfer (this=0x344fca0,
result=KMCommand::OK) at ../../kmail/kmcommands.cpp:291
#11 0x00007fb07c38cc83 in KMCommand::qt_metacall (this=0x344fca0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe503ccc0)
at ./kmcommands.moc:93
#12 0x00007fb07c38cf30 in KMMoveCommand::qt_metacall (this=0x7fffe503c8c0,
_c=53250144, _id=7, _a=0x60f50) at ./kmcommands.moc:1971
#13 0x00007fb0953f7e3f in QMetaObject::activate (sender=0x344fca0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x60f50) at
kernel/qobject.cpp:3293
#14 0x00007fb07c37e01e in KMCommand::messagesTransfered (this=0x7fffe503c8c0,
_t1=KMCommand::OK) at ./kmcommands.moc:108
#15 0x00007fb07c39464c in KMCommand::transferSelectedMsgs (this=0x344fca0) at
../../kmail/kmcommands.cpp:389
#16 0x00007fb07c394858 in KMCommand::slotStart (this=0x344fca0) at
../../kmail/kmcommands.cpp:283
#17 0x00007fb07c38cc66 in KMCommand::qt_metacall (this=0x344fca0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe503cf20)
at ./kmcommands.moc:92
#18 0x00007fb07c38cf30 in KMMoveCommand::qt_metacall (this=0x7fffe503c8c0,
_c=53250144, _id=7, _a=0x60f50) at ./kmcommands.moc:1971
#19 0x00007fb0953f7e3f in QMetaObject::activate (sender=0x32eb1e0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x60f50) at
kernel/qobject.cpp:3293
#20 0x00007fb0953ff65f in QSingleShotTimer::timerEvent (this=0x32eb1e0) at
kernel/qtimer.cpp:308
#21 0x00007fb0953f4a63 in QObject::event (this=0x32eb1e0, e=0x7fffe503d680) at
kernel/qobject.cpp:1212
#22 0x00007fb09479e22c in QApplicationPrivate::notify_helper (this=0xcfa460,
receiver=0x32eb1e0, e=0x7fffe503d680) at kernel/qapplication.cpp:4300
#23 0x00007fb0947a46fb in QApplication::notify (this=0x7fffe503d9e0,
receiver=0x32eb1e0, e=0x7fffe503d680) at kernel/qapplication.cpp:4183
#24 0x00007fb095dcd526 in KApplication::notify (this=0x7fffe503d9e0,
receiver=0x32eb1e0, event=0x7fffe503d680) at
../../kdeui/kernel/kapplication.cpp:302
#25 0x00007fb0953e506c in QCoreApplication::notifyInternal
(this=0x7fffe503d9e0, receiver=0x32eb1e0, event=0x7fffe503d680) at
kernel/qcoreapplication.cpp:704
#26 0x00007fb095411d42 in QCoreApplication::sendEvent (this=0xd04cc0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xd04cc0) at
kernel/qeventdispatcher_unix.cpp:603
#28 0x00007fb09540e824 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#29 0x00007fb08cb538c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007fb08cb57748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007fb08cb578fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#32 0x00007fb09540e513 in QEventDispatcherGlib::processEvents (this=0xccfd70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007fb09484e46e in QGuiEventDispatcherGlib::processEvents
(this=0x7fffe503c8c0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fb0953e3992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007fb0953e3d6c in QEventLoop::exec (this=0x7fffe503d920, flags=) at
kernel/qeventloop.cpp:201
#36 0x00007fb0953e7aab 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 246069, bug 244057, bug 243282, bug 242494,
bug 241940.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list