Bug 195498 - Kmail crashes on selecting a message while imap caching of the incoming mail folder
Summary: Kmail crashes on selecting a message while imap caching of the incoming mail ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.11.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 21:12 UTC by Krisztián Kádár-Németh
Modified: 2009-06-10 15:29 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 Krisztián Kádár-Németh 2009-06-06 21:12:42 UTC
Version:           1.11.2 (using 4.2.2 (KDE 4.2.2), Mandriva Linux release 2009.1 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.29.3-desktop-1mnb

HOW TO REPRODUCE:
I open Kmail. I have 10 mails in incoming mail folder (gmail), one of them is 8,7 MB (some attachments of pictures), the others are small; none of them are selected. I try to select a mail (click on it in the list), no preview is shown in the bottom. A try another, and another, but nothing happens, none of the selections appear for reading; finally Kmail crashes after a few selection try.

MISCELLANEOUS INFORMATION: 
I noticed, that my network download was fully engaged. I thought Kmail tries to download the 8,7 MB mail (but I did not select this mail or want to download its attachments at all!), but according to the network monitor, the download never stops (I close Kmail after a couple of tens of MB-s). 

RESOLUTION:
If I move the 8,7 MB mail to a subfolder (on the web browser interface of gmail), the problem is solved.

BACKTRACE of the crash:

Application:Kmail
[Thread debugging using libthread_db enabled]
[New Thread 0xb4769930 (LWP 5341)]
0xffffe424 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xb4769930 (LWP 5341))]

Thread 1 (Thread 0xb4769930 (LWP 5341)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6aea7d6 in nanosleep () from /lib/i686/libc.so.6
#2  0xb6aea5be in sleep () from /lib/i686/libc.so.6
#3  0xb7d53844 in ?? () from /usr/lib/libkdeui.so.5
#4  0xb7d54264 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#5  <signal handler called>
#6  0xb12da1f1 in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb11796e6 in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb118f2e5 in ?? () from /usr/lib/libkmailprivate.so.4
#9  0xb10bf52a in ?? () from /usr/lib/libkmailprivate.so.4
#10 0xb1292567 in KMCommand::transferSelectedMsgs () from /usr/lib/libkmailprivate.so.4
#11 0xb1292932 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so.4
#12 0xb128916c in KMCommand::qt_metacall () from /usr/lib/libkmailprivate.so.4
#13 0xb1289be3 in KMReplyToCommand::qt_metacall () from /usr/lib/libkmailprivate.so.4
#14 0xb77ebe45 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb77ed6e5 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb77f14a5 in ?? () from /usr/lib/libQtCore.so.4
#17 0xb77f15ec in ?? () from /usr/lib/libQtCore.so.4
#18 0xb77e603b in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb6da399c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb6dac0e6 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb7ce2c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0xb77d533e in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb780599d in ?? () from /usr/lib/libQtCore.so.4
#24 0xb780227e in ?? () from /usr/lib/libQtCore.so.4
#25 0xb51decea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb51e2354 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb51e24df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb78021da in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb6e47e6a in ?? () from /usr/lib/libQtGui.so.4
#30 0xb77d3903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb77d3d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb77d62b6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb6da3804 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0x0804bb3c in _start ()
Comment 1 Christophe Marin 2009-06-07 11:43:11 UTC
Unfortunately, the backtrace is not useful. If you can reproduce this bug, please read the following page and paste a better one: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Krisztián Kádár-Németh 2009-06-10 10:38:32 UTC
Sorry. Now with the proper debug packages installed, I cannot reproduce the crash again.
If I experience it again later, I will post a better backtrace, I promise. :)