Bug 229253 - Kontact Kmail crashes when suppressing message after unshown loosing mouse focus
Summary: Kontact Kmail crashes when suppressing message after unshown loosing mouse focus
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.12.4
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 230934 233066 233425 234556 234896 236155 238829 244568 248897 253208 268683 291104 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-03 14:43 UTC by jolay
Modified: 2012-08-19 10:57 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.15 KB, text/plain)
2010-04-13 16:57 UTC, Parameshwara Bhat
Details
New crash information added by DrKonqi (3.21 KB, text/plain)
2010-04-14 18:37 UTC, Parameshwara Bhat
Details
New crash information added by DrKonqi (3.21 KB, text/plain)
2010-04-14 18:37 UTC, Parameshwara Bhat
Details
New crash information added by DrKonqi (5.24 KB, text/plain)
2010-07-29 14:02 UTC, Daniel Molina Wegener
Details
New crash information added by DrKonqi (7.62 KB, text/plain)
2011-04-20 06:10 UTC, Willy Gommel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jolay 2010-03-03 14:43:27 UTC
Application that crashed: kontact
Version of the application: 4.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
uname -a 
Linux box 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux
System Kubuntu Karmic 9.10

apt-cache policy kontact kmail
kontact:
  Installé : 4:4.3.4-0ubuntu1~karmic1~ppa2
  Candidat : 4:4.3.4-0ubuntu1~karmic1~ppa2
 Table de version :
 *** 4:4.3.4-0ubuntu1~karmic1~ppa2 0
        100 /var/lib/dpkg/status
     4:4.3.2-0ubuntu6 0
        500 http://fr.archive.ubuntu.com karmic/main Packages
kmail:
  Installé : 4:4.3.4-0ubuntu1~karmic1~ppa2
  Candidat : 4:4.3.4-0ubuntu1~karmic1~ppa2
 Table de version :
 *** 4:4.3.4-0ubuntu1~karmic1~ppa2 0
        100 /var/lib/dpkg/status
     4:4.3.2-0ubuntu6 0
        500 http://fr.archive.ubuntu.com karmic/main Packages

Reproduction :
- Select a message in kontact kmail pane
- make kontact loose focus (select another window or open a message)
- go back to kontac window, the focus is still on the selected message
- type "SUPPR" key in order to delete the message
-> kontact crashes


 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb46b3993 in KMail::MessageListView::Widget::getSelectionStats (this=0x8d63980, selectedSernums=..., selectedVisibleSernums=..., allSelectedBelongToSameThread=0xbfc2b49f, 
    includeCollapsedChildren=<value optimized out>) at ../../kmail/messagelistview/widget.cpp:580
#7  0xb46abfc6 in KMail::MessageListView::Pane::getSelectionStats (this=0x8d87d58, selectedSernums=..., selectedVisibleSernums=..., allSelectedBelongToSameThread=0xbfc2b49f, 
    includeCollapsedChildren=51) at ../../kmail/messagelistview/pane.cpp:622
#8  0xb455c40c in KMMainWidget::updateMessageActions (this=0x8c02340) at ../../kmail/kmmainwidget.cpp:4274
#9  0xb455de90 in KMMainWidget::updateMessageMenu (this=0x8c02340) at ../../kmail/kmmainwidget.cpp:4251
#10 0xb46b6aa6 in KMail::MessageListView::Widget::viewMessageListContextPopupRequest (this=0x8d63980, selectedItems=..., globalPos=...) at ../../kmail/messagelistview/widget.cpp:608
#11 0xb470a9c7 in KMail::MessageListView::Core::View::mousePressEvent (this=0x8c3e6f0, e=0xbfc2be40) at ../../kmail/messagelistview/core/view.cpp:2015
#12 0x01145ff6 in QWidget::event (this=0x8c3e6f0, event=0xbfc2be40) at kernel/qwidget.cpp:7545
#13 0x014f5633 in QFrame::event (this=0x8c3e6f0, e=0xbfc2be40) at widgets/qframe.cpp:559
#14 0x01594494 in QAbstractScrollArea::viewportEvent (this=0x33, e=0x0) at widgets/qabstractscrollarea.cpp:962
#15 0x01648087 in QAbstractItemView::viewportEvent (this=0x8c3e6f0, event=0xbfc2be40) at itemviews/qabstractitemview.cpp:1476
#16 0x01683434 in QTreeView::viewportEvent (this=0x8c3e6f0, event=0xbfc2be40) at itemviews/qtreeview.cpp:1266
#17 0x01596a95 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8d78238, o=0x8c3ebf8, e=0xbfc2be40) at widgets/qabstractscrollarea_p.h:100
#18 QAbstractScrollAreaFilter::eventFilter (this=0x8d78238, o=0x8c3ebf8, e=0xbfc2be40) at widgets/qabstractscrollarea_p.h:111
#19 0x00df283a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x88aaac0, receiver=0x8c3ebf8, event=0xbfc2be40) at kernel/qcoreapplication.cpp:726
#20 0x010f0f2c in QApplicationPrivate::notify_helper (this=0x88aaac0, receiver=0x8c3ebf8, e=0xbfc2be40) at kernel/qapplication.cpp:4052
#21 0x010f9033 in QApplication::notify (this=0xbfc2d824, receiver=0x8c3ebf8, e=0xbfc2be40) at kernel/qapplication.cpp:3758
#22 0x008a71aa in KApplication::notify (this=0xbfc2d824, receiver=0x8c3ebf8, event=0xbfc2be40) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00df36cb in QCoreApplication::notifyInternal (this=0xbfc2d824, receiver=0x8c3ebf8, event=0xbfc2be40) at kernel/qcoreapplication.cpp:610
#24 0x010f7f6e in QCoreApplication::sendSpontaneousEvent (receiver=0x8c3ebf8, event=0xbfc2be40, alienWidget=0x8c3ebf8, nativeWidget=0x88ae8f8, buttonDown=0x196baa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#25 QApplicationPrivate::sendMouseEvent (receiver=0x8c3ebf8, event=0xbfc2be40, alienWidget=0x8c3ebf8, nativeWidget=0x88ae8f8, buttonDown=0x196baa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#26 0x011667c0 in QETWidget::translateMouseEvent (this=0x88ae8f8, event=0xbfc2d48c) at kernel/qapplication_x11.cpp:4409
#27 0x01165c4b in QApplication::x11ProcessEvent (this=0xbfc2d824, event=0xbfc2d48c) at kernel/qapplication_x11.cpp:3428
#28 0x01192502 in x11EventSourceDispatch (s=0x889c3a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x0201ce88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x02020730 in ?? () from /lib/libglib-2.0.so.0
#31 0x02020863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00e1e02c in QEventDispatcherGlib::processEvents (this=0x887b9f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#33 0x01191be5 in QGuiEventDispatcherGlib::processEvents (this=0x887b9f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x00df1c79 in QEventLoop::processEvents (this=0xbfc2d784, flags=) at kernel/qeventloop.cpp:149
#35 0x00df20ca in QEventLoop::exec (this=0xbfc2d784, flags=...) at kernel/qeventloop.cpp:201
#36 0x00df453f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#37 0x010f0dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#38 0x0804b4e6 in main (argc=1, argv=0xbfc2da44) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-04-05 22:58:33 UTC
*** Bug 230934 has been marked as a duplicate of this bug. ***
Comment 2 Björn Ruberg 2010-04-05 23:00:48 UTC
*** Bug 233066 has been marked as a duplicate of this bug. ***
Comment 3 Björn Ruberg 2010-04-05 23:55:46 UTC
*** Bug 233425 has been marked as a duplicate of this bug. ***
Comment 4 jolay 2010-04-06 13:17:15 UTC
The same bug happens on Opensuse 11.2
rpm -qf /usr/bin/kontact
   kontact-4.3.5-0.1.4.x86_64
rpm -qf /usr/bin/kwin
   kwin-4.3.5-0.2.1.x86_64
rpm -qf /usr/bin/kmail
   kmail-4.3.5-0.1.4.x86_64

Alternative steps for reproduction :
(actions I frequently perform in order to save mails outside kmail folder)
- Open a message from kontact kmail pane
- Save the message, then close it. Kontact gets back the focus automatically
- type "SUPPR" key in order to delete the saved message
(take care not to click on kontact panes)
-> kontact crashes immediately or after clicking on another message.

-- backtrace is incomplete but it is the same bug :
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fd9487035bc in ?? () from /usr/lib64/libkmailprivate.so.4
#6  0x00007fd9485c636e in KMMainWidget::updateMessageActions() () from /usr/lib64/libkmailprivate.so.4
#7  0x00007fd9485dceed in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#8  0x00007fd95de7db7c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x00007fd95de77b23 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#10 0x00007fd95d3352ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fd95d33c58e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007fd95e7e7016 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#13 0x00007fd95de689ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#14 0x00007fd95de942ed in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007fd95de91218 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007fd956a66dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007fd956a6a7b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fd956a6a8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fd95de90f43 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#20 0x00007fd95d3c842e in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007fd95de672e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00007fd95de676b4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x00007fd95de69869 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#24 0x0000000000403f67 in _start ()
Comment 5 Parameshwara Bhat 2010-04-13 16:57:30 UTC
Created attachment 42747 [details]
New crash information added by DrKonqi

kmail crahses after I read and deleted a message in the message list.

Report from Dr.Konqui attached.
Comment 6 Parameshwara Bhat 2010-04-14 18:37:24 UTC
Created attachment 42781 [details]
New crash information added by DrKonqi

One more crash after deleting a read message.

Everyday,I have one crash per mail chcek in the least.

But after restarting,I can check more mails and delete a few as well.
Comment 7 Parameshwara Bhat 2010-04-14 18:37:27 UTC
Created attachment 42782 [details]
New crash information added by DrKonqi

One more crash after deleting a read message.

Everyday,I have one crash per mail chcek in the least.

But after restarting,I can check more mails and delete a few as well.
Comment 8 Jonathan Thomas 2010-04-21 14:02:11 UTC
*** Bug 234556 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Thomas 2010-04-21 14:02:15 UTC
*** Bug 234896 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2010-06-07 00:19:57 UTC
*** Bug 236155 has been marked as a duplicate of this bug. ***
Comment 11 Daniel Molina Wegener 2010-07-29 14:02:05 UTC
Created attachment 49634 [details]
New crash information added by DrKonqi

* I was deleting messages from an IMAP folder when Kontact (KMail) has
crashed. I think that is probably that this issue happens when message
headers and message body were not completely transfered and you
try to delete them.
Comment 12 Björn Ruberg 2010-08-06 21:14:32 UTC
*** Bug 244568 has been marked as a duplicate of this bug. ***
Comment 13 Björn Ruberg 2010-08-06 21:15:02 UTC
*** Bug 238829 has been marked as a duplicate of this bug. ***
Comment 14 Nicolas L. 2010-08-24 14:32:38 UTC
*** Bug 248897 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2011-02-14 16:15:50 UTC
*** Bug 253208 has been marked as a duplicate of this bug. ***
Comment 16 Willy Gommel 2011-04-20 06:10:26 UTC
Created attachment 59146 [details]
New crash information added by DrKonqi

I had just finished transferring a lot of messages to a new folder when this crash happened.

Thank you very much!! :)
Comment 17 Christophe Marin 2011-04-24 14:17:37 UTC
*** Bug 268683 has been marked as a duplicate of this bug. ***
Comment 18 Christophe Marin 2012-01-10 01:03:25 UTC
*** Bug 291104 has been marked as a duplicate of this bug. ***
Comment 19 Myriam Schweingruber 2012-08-19 10:57:03 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding