Bug 176690 - kmail crash after mail delete and sync with disconnected imap (exch2003)
Summary: kmail crash after mail delete and sync with disconnected imap (exch2003)
Status: RESOLVED DUPLICATE of bug 156991
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 10:56 UTC by Luka Renko
Modified: 2009-03-19 00:36 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 Luka Renko 2008-12-02 10:56:51 UTC
Version:           SVN as of 2008-12-01 (using Devel)
Compiler:          g++ (Ubuntu 4.3.2-1ubuntu11) 4.3.2 
OS:                Linux
Installed from:    Compiled sources

I am using kmail embedded in kontact with POP (gmail) and Disconnected IMAP (Exchange 2003) accounts. I was working on Inbox of my IMAP accounts, moving e-mails to some folders and removing some e-mail (moved to trash), then emptying the trash.

Since I use manual mail check, I had performed Manual check of my Disconnected IMAP account, which resulted in crash with the following stack trace:

Application: Kontact (kontact), signal SIGABRT
0x00007f5334f34621 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 11443)]

Thread 2 (Thread 0x40828950 (LWP 11470)):
#0  0x00007f5334f6b482 in select () from /lib/libc.so.6
#1  0x00007f5335cf9006 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f5335c30362 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f53359af3ea in start_thread () from /lib/libpthread.so.0
#4  0x00007f5334f72c6d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f533cd2a6f0 (LWP 11443)):
[KCrash Handler]
#5  0x00007f5334ebefd5 in raise () from /lib/libc.so.6
#6  0x00007f5334ec0b43 in abort () from /lib/libc.so.6
#7  0x00007f5335c286b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f5335c287fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f5323ed38cf in KMail::MessageProperty::forget (msgBase=0x2347790) at /misc/kde/src/4/KDE/kdepim/kmail/messageproperty.cpp:180
#10 0x00007f5323f41c69 in ~KMMsgBase (this=0x2347790) at /misc/kde/src/4/KDE/kdepim/kmail/kmmsgbase.cpp:125
#11 0x00007f5323d9803f in ~KMMessage (this=0x2347790) at /misc/kde/src/4/KDE/kdepim/kmail/kmmessage.cpp:225
#12 0x00007f5323f42a15 in KMMsgList::clear (this=0x19b9e58, doDelete=true, syncDict=false) at /misc/kde/src/4/KDE/kdepim/kmail/kmmsglist.cpp:37
#13 0x00007f5323fb67b9 in KMFolderMaildir::reallyDoClose (this=0x19b9de0) at /misc/kde/src/4/KDE/kdepim/kmail/kmfoldermaildir.cpp:203
#14 0x00007f5323fa3cb8 in KMFolderCachedImap::reallyDoClose (this=0x19b9de0) at /misc/kde/src/4/KDE/kdepim/kmail/kmfoldercachedimap.cpp:238
#15 0x00007f5323ec296e in FolderStorage::close (this=0x19b9de0, aForced=false) at /misc/kde/src/4/KDE/kdepim/kmail/folderstorage.cpp:110
#16 0x00007f5323f8f961 in KMFolderCachedImap::resetSyncState (this=0x19b9de0) at /misc/kde/src/4/KDE/kdepim/kmail/kmfoldercachedimap.cpp:2545
#17 0x00007f5323f68c28 in KMAcctCachedImap::killAllJobs (this=0x19b7080, disconnectSlave=true) at /misc/kde/src/4/KDE/kdepim/kmail/kmacctcachedimap.cpp:110
#18 0x00007f5323f51dff in KMail::ImapAccountBase::handleError (this=0x19b7080, errorCode=124, errorMsg=@0x7fff44d6f7b0, job=0x20f0fc0, context=@0x7fff44d6f9c0, abortSync=false)
    at /misc/kde/src/4/KDE/kdepim/kmail/imapaccountbase.cpp:1015
#19 0x00007f5323f55314 in KMail::ImapAccountBase::handleJobError (this=0x19b7080, job=0x20f0fc0, context=@0x7fff44d6f9c0, abortSync=false) at /misc/kde/src/4/KDE/kdepim/kmail/imapaccountbase.cpp:367
#20 0x00007f5323f56452 in KMail::ImapAccountBase::handlePutError (this=0x19b7080, job=0x20f0fc0, jd=@0x23a0618, folder=0x19bc290) at /misc/kde/src/4/KDE/kdepim/kmail/imapaccountbase.cpp:959
#21 0x00007f53240eaff2 in KMail::CachedImapJob::slotPutMessageResult (this=0x2471f50, job=0x20f0fc0) at /misc/kde/src/4/KDE/kdepim/kmail/cachedimapjob.cpp:482
#22 0x00007f53240ed785 in KMail::CachedImapJob::qt_metacall (this=0x2471f50, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff44d6fbc0) at /misc/kde/build/4/KDE/kdepim/kmail/cachedimapjob.moc:107
#23 0x00007f5335d2d134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0x00007f533636bea9 in KJob::result (this=0x20f0fc0, _t1=0x20f0fc0) at /misc/kde/build/4/KDE/kdelibs/kdecore/kjob.moc:186
#25 0x00007f533636c38d in KJob::emitResult (this=0x20f0fc0) at /misc/kde/src/4/KDE/kdelibs/kdecore/jobs/kjob.cpp:294
#26 0x00007f533839bdf7 in KIO::SimpleJob::slotFinished (this=0x20f0fc0) at /misc/kde/src/4/KDE/kdelibs/kio/kio/job.cpp:489
#27 0x00007f533839c1c3 in KIO::TransferJob::slotFinished (this=0x20f0fc0) at /misc/kde/src/4/KDE/kdelibs/kio/kio/job.cpp:957
#28 0x00007f5338399a70 in KIO::SimpleJob::slotError (this=0x20f0fc0, err=124, errorText=@0x7fff44d70230) at /misc/kde/src/4/KDE/kdelibs/kio/kio/job.cpp:501
#29 0x00007f533839b5cb in KIO::SimpleJob::qt_metacall (this=0x20f0fc0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff44d70080) at /misc/kde/build/4/KDE/kdelibs/kio/jobclasses.moc:155
#30 0x00007f53383a2708 in KIO::TransferJob::qt_metacall (this=0x20f0fc0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fff44d70080) at /misc/kde/build/4/KDE/kdelibs/kio/jobclasses.moc:324
#31 0x00007f5335d2d134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0x00007f533844001a in KIO::SlaveInterface::error (this=0x21a9bf0, _t1=124, _t2=@0x7fff44d70230) at /misc/kde/build/4/KDE/kdelibs/kio/slaveinterface.moc:151
#33 0x00007f5338441c34 in KIO::SlaveInterface::dispatch (this=0x21a9bf0, _cmd=102, rawdata=@0x7fff44d70290) at /misc/kde/src/4/KDE/kdelibs/kio/kio/slaveinterface.cpp:208
#34 0x00007f533844192b in KIO::SlaveInterface::dispatch (this=0x21a9bf0) at /misc/kde/src/4/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#35 0x00007f5338435647 in KIO::Slave::gotInput (this=0x21a9bf0) at /misc/kde/src/4/KDE/kdelibs/kio/kio/slave.cpp:322
#36 0x00007f5338436835 in KIO::Slave::qt_metacall (this=0x21a9bf0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff44d703f0) at /misc/kde/build/4/KDE/kdelibs/kio/slave.moc:75
#37 0x00007f5335d2d134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0x00007f533836e5ea in KIO::Connection::readyRead (this=0x21039b0) at /misc/kde/build/4/KDE/kdelibs/kio/connection.moc:84
#39 0x00007f533836f3f2 in KIO::ConnectionPrivate::dequeue (this=0x1df4ce0) at /misc/kde/src/4/KDE/kdelibs/kio/kio/connection.cpp:82
#40 0x00007f5338370286 in KIO::Connection::qt_metacall (this=0x21039b0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x24497a0) at /misc/kde/build/4/KDE/kdelibs/kio/connection.moc:72
#41 0x00007f5335d27da5 in QObject::event () from /usr/lib/libQtCore.so.4
#42 0x00007f5336b2ec3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#43 0x00007f5336b369ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#44 0x00007f53379295c8 in KApplication::notify (this=0x7fff44d70e70, receiver=0x21039b0, event=0x23a03f0) at /misc/kde/src/4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#45 0x00007f5335d18d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#46 0x00007f5335d199fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#47 0x00007f5335d414d3 in ?? () from /usr/lib/libQtCore.so.4
#48 0x00007f532fdc2d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0x00007f532fdc650d in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x00007f532fdc66cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0x00007f5335d4115f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#52 0x00007f5336bc0a6f in ?? () from /usr/lib/libQtGui.so.4
#53 0x00007f5335d17682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0x00007f5335d1780d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0x00007f5335d19cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0x00000000004042e3 in main (argc=1, argv=0x7fff44d71368) at /misc/kde/src/4/KDE/kdepim/kontact/src/main.cpp:218


It seems that the problem is reproducible.
Comment 1 Luka Renko 2008-12-02 11:04:38 UTC
I have tried Rebuild Index, but it did not help. Then I decided to also perform Refresh cache (losing all my local changes) and this seems to have workaround the issue for now. Will report back if this reappears.
Comment 2 Oliver Putz 2008-12-02 12:45:57 UTC
Same backtrace and description as bug #176571. (Which in turn was marked as a duplicate of bug #156991)

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