Bug 69642 - on opening an email, the body seems empty, but it isnt
Summary: on opening an email, the body seems empty, but it isnt
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 20:04 UTC by Peter Hagen
Modified: 2008-06-23 08:06 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 Peter Hagen 2003-12-04 20:04:26 UTC
Version:           1.5.4 (using KDE 3.1.4)
Installed from:    SuSE
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-99-athlon

when opening an email (IMAP) it displays the "fancy header", but sometimes it doesnt display the email content. If i switch to fixed font or for example another encoding type, then the content becomes visible. 

after trying to reproduce the problem by opening all kinds of different emails, i found out, when i go to the configuration and modify something (and turn it back to the original state) and click [ok], he will open the last email.. with the body!!... dont know if this is really a bug... or maybe it has something to do with 'the fancy headers!!'...
Comment 1 Ingo Klöcker 2003-12-05 10:56:47 UTC
You are the first one to report this although KDE 3.1 is out for more than 10 months. It very likely that the IMAP server you are using is the culprit. Maybe it sometimes doesn't answer?

A lot has been changed in the IMAP code since KDE 3.1 and unfortunately we don't have the resources to fix non-grave problems in KDE 3.1. Therefore I close your bug report with the hope that it's fixed in KDE 3.2. If you should be able to reproduce the bug with KDE 3.2 (e.g. with KDE 3.2 Beta 2 which should be available in the next few days) then please reopen this bug report and give us some details about your IMAP server.

Thanks for taking the time to file a bug report!
Comment 2 Trejkaz Xaoza 2008-01-11 04:29:57 UTC
I experience an issue a lot like this on KMail 1.9.6 / KDE 3.5.8.  Sometimes the fancy header will render, sometimes it will be empty, sometimes the whole mail will appear.  No errors are displayed, the progress bar at the bottom right claims that nothing is happening.

Some emails don't exhibit the problem at all (this alone would explain why the developer found it hard to reproduce) and emails which do exhibit the problem continue to exhibit it forever whereas emails which don't exhibit the problem never exhibit it in the future either.

Changing the font sometimes works, sometimes doesn't, and sometimes changes between the two states where the message body isn't shown.

Additionally, if I continue to click around when this happens, KMail ultimately dies with a segmentation fault.  The following is the part of the output which is not just "(no debugging symbols found)" printed over 9,000 times.

#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb5e6a875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5e6c201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb60766e0 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0xb6073f65 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb6073fa2 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb6074865 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb502b321 in KMReaderWin::setMsg () from /usr/lib/libkmailprivate.so
#14 0xb5196262 in KMMainWidget::slotMsgSelected ()
   from /usr/lib/libkmailprivate.so
#15 0xb51a92f0 in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#16 0xb66af893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0xb4fcea4e in KMHeaders::selected () from /usr/lib/libkmailprivate.so
#18 0xb4fd6593 in KMHeaders::highlightMessage ()
   from /usr/lib/libkmailprivate.so
#19 0xb4fd697c in KMHeaders::highlightMessage ()
   from /usr/lib/libkmailprivate.so
#20 0xb4fdf306 in KMHeaders::qt_invoke () from /usr/lib/libkmailprivate.so
#21 0xb66af893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb6a537cd in QListView::currentChanged () from /usr/lib/libqt-mt.so.3
#23 0xb67a9e9f in QListView::setCurrentItem () from /usr/lib/libqt-mt.so.3
#24 0xb67adc93 in QListView::contentsMousePressEventEx ()
   from /usr/lib/libqt-mt.so.3
#25 0xb67ae398 in QListView::contentsMousePressEvent ()
   from /usr/lib/libqt-mt.so.3
#26 0xb70130cc in KListView::contentsMousePressEvent ()
   from /usr/lib/libkdeui.so.4
#27 0xb4fd6ab9 in KMHeaders::contentsMousePressEvent ()
   from /usr/lib/libkmailprivate.so
#28 0xb67e50b9 in QScrollView::viewportMousePressEvent ()
   from /usr/lib/libqt-mt.so.3
#29 0xb67e652c in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#30 0xb67ae806 in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#31 0xb4fd0809 in KMHeaders::eventFilter () from /usr/lib/libkmailprivate.so
#32 0xb66aee40 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#33 0xb66aeebe in QObject::event () from /usr/lib/libqt-mt.so.3
#34 0xb66e65b3 in QWidget::event () from /usr/lib/libqt-mt.so.3
#35 0xb6646af0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#36 0xb6648cae in QApplication::notify () from /usr/lib/libqt-mt.so.3
#37 0xb6e0cca2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#38 0xb65d927d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#39 0xb65d7ee2 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#40 0xb65d5fcc in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#41 0xb65ed1a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#42 0xb66611ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#43 0xb6660fde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#44 0xb6648699 in QApplication::exec () from /usr/lib/libqt-mt.so.3

Comment 3 Ronny Standtke 2008-06-23 08:04:23 UTC
I just stumbled over exactly this bug and Kontact just crashed with the same backtrace on my system. (Kubuntu 8.04 with KDE-3.5.9)
Comment 4 Ronny Standtke 2008-06-23 08:06:29 UTC
> ... then please reopen this bug report ...

How do I do this?