Bug 146069 - KMail 1.9.7 corrupts(?) local IMAP cache and crashes (SIGABRT) when reading data from it
Summary: KMail 1.9.7 corrupts(?) local IMAP cache and crashes (SIGABRT) when reading d...
Status: RESOLVED DUPLICATE of bug 116372
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.7
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 14:47 UTC by Bartosz Kwitniewski
Modified: 2007-05-28 15:56 UTC (History)
0 users

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 Bartosz Kwitniewski 2007-05-28 14:47:27 UTC
Version:           1.9.7 (using KDE KDE 3.5.7)
Installed from:    Unlisted Binary Package
Compiler:          gcc 4.1.2 
OS:                Linux

Last time i have received 3 HTML emails containing jpg images as attachments - everything was fine. I've closed KMail, started again and there was no problem reading them. Next day I have received some email from bugtraq then I noticed that those 3 earlier messages were marked as "unread". When i've clicked on one of them there was only blank page in view window. After selecting second email only header showed up (From, To, Date). Third email also gave blank page. Then I've selected email from buqtraq - it showed up fine, then again one of those 3 emails - then KMail crashed.

It kept crashing when trying to read those messages until I've moved .kde/share/apps/kmail folder. After recreating cache everything was fine.

It is not the first time it happens. KMail is closed correctly every time, hard drive does not have any bad blocks.

I'm using KMail and KDE shipped with Arch Linux.

Remote server is dovecot 1.0-rc29



Message from stderr after selecting email:

kmail: (0, last 0) foto XXXXXXXXX@interia.pl, readyToShow true
pure virtual method called
terminate called without an active exception
*** KMail got signal 6 (Crashing)
KCrash: Application 'lt-kmail' crashing...



Backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1259641104 (LWP 3833)]
[New Thread -1287533680 (LWP 3837)]
[New Thread -1279140976 (LWP 3836)]
[New Thread -1270748272 (LWP 3835)]
[New Thread -1262355568 (LWP 3834)]
[KCrash handler]
#6  0xb7f17410 in __kernel_vsyscall ()
#7  0xb5abf721 in raise () from /lib/libc.so.6
#8  0xb5ac0ef8 in abort () from /lib/libc.so.6
#9  0xb5ca4ff0 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0xb5ca2a15 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.6
#11 0xb5ca2a52 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb5ca3145 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb7c0404b in KMReaderWin::setMsg (this=0x81f5c78, aMsg=0x8377030, 
    force=false) at kmreaderwin.cpp:1176
#14 0xb7d534a4 in KMMainWidget::slotMsgSelected (this=0x818bbe8, 
    msg=0x8377030) at kmmainwidget.cpp:2039
#15 0xb7d6662c in KMMainWidget::qt_invoke (this=0x818bbe8, _id=54, 
    _o=0xbf8bd4e8) at kmmainwidget.moc:507
#16 0xb60c5b59 in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#17 0xb7bb1736 in KMHeaders::selected (this=0x81ae3e0, t0=0x8377030)
    at kmheaders.moc:250
#18 0xb7bb7f4d in KMHeaders::highlightMessage (this=0x81ae3e0, lvi=0x83392d0, 
    markitread=false) at kmheaders.cpp:2033
#19 0xb7bba5be in KMHeaders::highlightMessage (this=0x81ae3e0, i=0x83392d0)
    at kmheaders.cpp:2282
#20 0xb7bbfc97 in KMHeaders::qt_invoke (this=0x81ae3e0, _id=106, 
    _o=0xbf8bd624) at kmheaders.moc:295
#21 0xb60c5b59 in QObject::activate_signal () from /opt/qt/lib/libqt-mt.so.3
#22 0xb6403a51 in QListView::currentChanged () from /opt/qt/lib/libqt-mt.so.3
#23 0xb61a4c0e in QListView::setCurrentItem () from /opt/qt/lib/libqt-mt.so.3
#24 0xb61a789b in QListView::contentsMousePressEventEx ()
   from /opt/qt/lib/libqt-mt.so.3
#25 0xb61a8364 in QListView::contentsMousePressEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#26 0xb6924887 in KListView::contentsMousePressEvent ()
   from /opt/kde/lib/libkdeui.so.4
#27 0xb7bba826 in KMHeaders::contentsMousePressEvent (this=0x81ae3e0, 
    e=0xbf8bd974) at kmheaders.cpp:2194
#28 0xb61da42f in QScrollView::viewportMousePressEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#29 0xb61d80a9 in QScrollView::eventFilter () from /opt/qt/lib/libqt-mt.so.3
#30 0xb61a5a46 in QListView::eventFilter () from /opt/qt/lib/libqt-mt.so.3
#31 0xb7bc0cc6 in KMHeaders::eventFilter (this=0x81ae3e0, o=0x81add50, 
    e=0xbf8bdf44) at kmheaders.cpp:244
#32 0xb60c5466 in QObject::activate_filters () from /opt/qt/lib/libqt-mt.so.3
#33 0xb60c54cb in QObject::event () from /opt/qt/lib/libqt-mt.so.3
#34 0xb60fe60c in QWidget::event () from /opt/qt/lib/libqt-mt.so.3
#35 0xb6067407 in QApplication::internalNotify ()
   from /opt/qt/lib/libqt-mt.so.3
#36 0xb606839b in QApplication::notify () from /opt/qt/lib/libqt-mt.so.3
#37 0xb675f112 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#38 0xb6006eb9 in QETWidget::translateMouseEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#39 0xb6005bc1 in QApplication::x11ProcessEvent ()
   from /opt/qt/lib/libqt-mt.so.3
#40 0xb6016501 in QEventLoop::processEvents () from /opt/qt/lib/libqt-mt.so.3
#41 0xb607dcd1 in QEventLoop::enterLoop () from /opt/qt/lib/libqt-mt.so.3
#42 0xb607db76 in QEventLoop::exec () from /opt/qt/lib/libqt-mt.so.3
#43 0xb606706f in QApplication::exec () from /opt/qt/lib/libqt-mt.so.3
#44 0x0804aabf in main (argc=1, argv=0xbf8be5d4) at main.cpp:110



Best regards,
Comment 1 Bartosz Kwitniewski 2007-05-28 14:53:09 UTC
Backtrace is from KMail 1.9.6, not 1.9.7 but 1.9.7 keeps crashing.
Comment 2 Thomas McGuire 2007-05-28 15:56:57 UTC
The crash is already at bug 116372.
The problem about blank messages is at bug 135904.
Therefore I'll close this report as the issues are already reported.

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