Bug 262538 - KMail crashes when pressing reply button while opening new folder
Summary: KMail crashes when pressing reply button while opening new folder
Status: RESOLVED DUPLICATE of bug 233574
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: 2011-01-08 16:38 UTC by Wonko
Modified: 2011-02-14 17:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.64 KB, text/plain)
2011-02-14 17:05 UTC, Wonko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wonko 2011-01-08 16:38:22 UTC
Application: kontact (4.4.9)
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-ck-r3 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
When pressing the 'Reply' button while changing into another folder (before a new mail message is selected), KMail crashes instantly.

This happens every time. Steps to reproduce:
1. select any message, so the 'Reply' button is sensitive
2. select another mail folder (no matter if local or IMAP)
3. press 'Reply' quickly
4. kmail crashes

Actually, it was kontact that crashed, did not try standalone kmail.

Drkonqui  found no usable backtrace when the first crash happened, but now it did.
In case you guys cannot reproduce this, I can compile kmail with debug output.

There are LOTS of duplicates suggested by drkonqui, but most are about deleting messages. Maybe the general problem ist that things are being initated while no message is selected, be it because the folder is being changed, or a message was deleted, or whatever.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fc0b0e19373 in KMCommand::slotStart() () from /usr/lib/libkmailprivate.so.4
#7  0x00007fc0b0e2400e in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#8  0x00007fc0c96e2982 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fc0c9bc8be4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007fc0c9bcd62a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007fc0cad54e46 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#12 0x00007fc0c96ceac3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fc0c96d220c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fc0c96f8f03 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fc0c21dabd2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007fc0c21db380 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#17 0x00007fc0c21db61d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007fc0c96f908f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fc0c9c6c57e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fc0c96cded2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fc0c96ce114 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fc0c96d24b3 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#23 0x000000000040446e in main ()

Possible duplicates by query: bug 262472, bug 262442, bug 262334, bug 261750, bug 259621.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-14 14:02:40 UTC
Unfortunately, the backtrace is not helpful.
If you can reproduce this bug, please install the debug package and paste a better one.
More informations on this page: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Wonko 2011-02-14 17:05:00 UTC
Created attachment 57252 [details]
New crash information added by DrKonqi

kontact (4.4.10) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

It still happens with kmail 4.4.10, although I neeed a couple of tries until I hit the reply button fast enough.

-- Backtrace (Reduced):
#7  0x00007f1086cce9c6 in KMCommand::slotStart (this=0xe653e0) at /var/portage/tmp/portage/kde-base/kmail-4.4.10/work/kmail-4.4.10/kmail/kmcommands.cpp:265
#8  0x00007f1086cd965e in KMCommand::qt_metacall (this=0xe653e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x21c57b0) at /var/portage/tmp/portage/kde-base/kmail-4.4.10/work/kmail-4.4.10_build/kmail/kmcommands.moc:92
#9  0x00007f10a0faa972 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f10a1964be4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f10a196962a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
Comment 3 Wonko 2011-02-14 17:10:50 UTC
Does this help? If needed, I can also recompile QtCore, QtGui and whatever you like with debug information.
Comment 4 Christophe Marin 2011-02-14 17:15:14 UTC
Thanks. Merging with bug 233574

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