Bug 215104

Summary: kmail crash when selecting new IMAP folder, press "v" before content has been loaded
Product: [Unmaintained] kmail Reporter: Michael Monnerie <kde-bugreport>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.12.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Monnerie 2009-11-18 12:59:44 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.1 (KDE 4.3.1) "release 6"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

What I was doing when the application crashed:
I have a big IMAP account. Selecting a new folder takes some time before it's content is displayed. If I press "v" to see the content of a mail before that loading is finished, kmail crashes badly. That is all the time.

If I remember correctly, this also happens when pressing "r" or "f" to reply/forward a mail before the folder has been loaded.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[KCrash Handler]
#5  0x00007fb41cbd24e5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fb41cbd39b0 in abort () at abort.c:88
#7  0x00007fb41cfc1dc5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
#8  0x00007fb41cfc01f6 in __cxxabiv1::__terminate (handler=0x5d82) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#9  0x00007fb41cfc0223 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#10 0x00007fb41cfc0aff in __cxxabiv1::__cxa_pure_virtual () at ../../../../libstdc++-v3/libsupc++/pure.cc:50
#11 0x00007fb40882033a in KMReaderWin::parseMsg (this=0x1ad42d0, aMsg=0x35c02a0) at /usr/src/debug/kdepim-4.3.1/kmail/kmreaderwin.cpp:1681
#12 0x00007fb40880df7a in KMReaderWin::displayMessage (this=0x1ad42d0) at /usr/src/debug/kdepim-4.3.1/kmail/kmreaderwin.cpp:1605
#13 0x00007fb40880e154 in KMReaderWin::updateReaderWin (this=0x1ad42d0) at /usr/src/debug/kdepim-4.3.1/kmail/kmreaderwin.cpp:1545
#14 0x00007fb408816e3d in KMReaderWin::update (this=0x5d82, observable=0x5d82) at /usr/src/debug/kdepim-4.3.1/kmail/kmreaderwin.cpp:947
#15 0x00007fb408a3edc9 in KMail::ISubject::notify (this=0x35c0370) at /usr/src/debug/kdepim-4.3.1/kmail/isubject.cpp:30
#16 0x00007fb40872c2fc in KMMessage::updateBodyPart (this=0x35c02a0, partSpecifier=) at /usr/src/debug/kdepim-4.3.1/kmail/kmmessage.cpp:3235
#17 0x00007fb408a1326a in KMail::ImapJob::slotGetMessageResult (this=0x21ca690, job=<value optimized out>) at /usr/src/debug/kdepim-4.3.1/kmail/imapjob.cpp:435
#18 0x00007fb408a176eb in KMail::ImapJob::qt_metacall (this=0x21ca690, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2245fab0) at /usr/src/debug/kdepim-4.3.1/build/kmail/imapjob.moc:82
#19 0x00007fb41def0fbc in QMetaObject::activate (sender=0xe52f30, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#20 0x00007fb41e2b9102 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#21 0x00007fb41e2b947f in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#22 0x00007fb41b7e42b3 in KIO::SimpleJob::slotFinished (this=0xe52f30) at /usr/src/debug/kdelibs-4.3.1/kio/kio/job.cpp:477
#23 0x00007fb41b7e4773 in KIO::TransferJob::slotFinished (this=0xe52f30) at /usr/src/debug/kdelibs-4.3.1/kio/kio/job.cpp:948
#24 0x00007fb41b7e3081 in KIO::TransferJob::qt_metacall (this=0xe52f30, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2245fed0) at /usr/src/debug/kdelibs-4.3.1/build/kio/jobclasses.moc:343
#25 0x00007fb41def0fbc in QMetaObject::activate (sender=0x22d4800, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#26 0x00007fb41b8a6961 in KIO::SlaveInterface::dispatch (this=0x22d4800, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.3.1/kio/kio/slaveinterface.cpp:175
#27 0x00007fb41b8a3213 in KIO::SlaveInterface::dispatch (this=0x22d4800) at /usr/src/debug/kdelibs-4.3.1/kio/kio/slaveinterface.cpp:91
#28 0x00007fb41b895fed in KIO::Slave::gotInput (this=0x22d4800) at /usr/src/debug/kdelibs-4.3.1/kio/kio/slave.cpp:322
#29 0x00007fb41b89810c in KIO::Slave::qt_metacall (this=0x22d4800, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff22460290) at /usr/src/debug/kdelibs-4.3.1/build/kio/slave.moc:76
#30 0x00007fb41def0fbc in QMetaObject::activate (sender=0x22e2950, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#31 0x00007fb41b7b1457 in KIO::ConnectionPrivate::dequeue (this=0x22eb090) at /usr/src/debug/kdelibs-4.3.1/kio/kio/connection.cpp:82
#32 0x00007fb41b7b157d in KIO::Connection::qt_metacall (this=0x22e2950, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x2c2d040) at /usr/src/debug/kdelibs-4.3.1/build/kio/connection.moc:73
#33 0x00007fb41deeb2d9 in QObject::event (this=0x22e2950, e=0x31e8060) at kernel/qobject.cpp:1111
#34 0x00007fb41d3a72ac in QApplicationPrivate::notify_helper (this=0x641a30, receiver=0x22e2950, e=0x31e8060) at kernel/qapplication.cpp:4065
#35 0x00007fb41d3ae57e in QApplication::notify (this=0x7fff22460c50, receiver=0x22e2950, e=0x31e8060) at kernel/qapplication.cpp:4030
#36 0x00007fb41e8548d6 in KApplication::notify (this=0x7fff22460c50, receiver=0x22e2950, event=0x31e8060) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#37 0x00007fb41dedbddc in QCoreApplication::notifyInternal (this=0x7fff22460c50, receiver=0x22e2950, event=0x31e8060) at kernel/qcoreapplication.cpp:610
#38 0x00007fb41dedc9ea in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#39 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#40 0x00007fb41df04803 in sendPostedEvents () at kernel/qcoreapplication.h:218
#41 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#42 0x00007fb416adcdde in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#43 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#44 0x00007fb416ae07a8 in g_main_context_iterate (context=0x6441f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#45 0x00007fb416ae08d0 in IA__g_main_context_iteration (context=0x6441f0, may_block=1) at gmain.c:2654
#46 0x00007fb41df043a3 in QEventDispatcherGlib::processEvents (this=0x60ee60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#47 0x00007fb41d43a31e in QGuiEventDispatcherGlib::processEvents (this=0x5d82, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x00007fb41deda712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007fb41dedaae4 in QEventLoop::exec (this=0x7fff22460b90, flags=) at kernel/qeventloop.cpp:201
#50 0x00007fb41dedcc99 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#51 0x0000000000403f67 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-18 22:49:17 UTC
This looks like bug 180741. Can you check
https://bugs.kde.org/show_bug.cgi?id=180741#c41 ? Thanks
Comment 2 Michael Monnerie 2009-11-19 05:55:13 UTC
I've looked at bug 180741, but I can't find how to turn off the preview window. I use the german kmail, but I try to translate: Would I find the setting under "view" or "settings -> configure kmail"? (I use kontact).
Comment 3 Dario Andres 2009-11-21 22:55:40 UTC
@Michael: KMail Settings -> Appearance -> Layout -> Message Preview Pane
Comment 4 Dario Andres 2009-12-14 22:40:29 UTC
- Have you check this ? Thanks
Comment 5 Michael Monnerie 2009-12-15 10:27:26 UTC
Did now, and it seems to solve it. But that's just a workaround. Maybe now that the reason is clear, there will be a fix? Should be simple as "wait until preview is finished before processing other keystrokes".
Comment 6 Dario Andres 2009-12-15 12:53:40 UTC
Merging with bug 208245. We should wait for a KMail developer to check this.. in any case.. the bug is well known. Thanks

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