Bug 254956 - kmail crashes when deleting messages
Summary: kmail crashes when deleting messages
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 14:02 UTC by Axel Roebel
Modified: 2017-01-07 21:55 UTC (History)
0 users

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 Axel Roebel 2010-10-22 14:02:33 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.18-164.10.1.el5 x86_64
Distribution: "CentOS release 5.5 (Final)"

-- Information about the crash:
Hello,

Quite regularly kmail crashes when I try to delete messages. This happens rarely at home where I use kubuntu compiled installs, but often at work where I use a version kmail compiled from sources on a CentOS 5 system.
These crashes where present as well in previous version on kde 3.5.9, but less frequent. Once the crash 
happened it remains present after restart and I usually have to remove and recreate the related
mail directories. Recently I tried moving the .kde/share/apps/kmail directory that seems to hold 
the data cache of my imap mail server from my home directory that is living on a nfs server to a local data directory. This reduced the number of crashes significantly. Still for other pop3 based mail servers the local data is hold in
$HOME/Mail dir, and there I have these crashes remaining. AS a conclusion I feel there is a bug in kmail
that is related to timing issues, such that it happens if the underlying file system is not reacting quickly enough.

Cheers 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00002b6b445da994 in KMReaderWin::setMsg () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkmailprivate.so.4
#6  0x00002b6b447d80b9 in KMMainWidget::slotMsgSelected () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkmailprivate.so.4
#7  0x00002b6b447f5970 in KMMainWidget::qt_metacall () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkmailprivate.so.4
#8  0x00002b6b324eb7aa in QMetaObject::activate () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#9  0x00002b6b444cffdf in KMail::MessageListView::Pane::messageSelected () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkmailprivate.so.4
#10 0x00002b6b444d023a in KMail::MessageListView::Pane::qt_metacall () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkmailprivate.so.4
#11 0x00002b6b324eb7aa in QMetaObject::activate () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#12 0x00002b6b444cfe8f in KMail::MessageListView::Widget::messageSelected () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkmailprivate.so.4
#13 0x00002b6b451d077a in MessageList::Core::View::slotSelectionChanged () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libmessagelist.so.4
#14 0x00002b6b451d0c32 in MessageList::Core::View::qt_metacall () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libmessagelist.so.4
#15 0x00002b6b324eb7aa in QMetaObject::activate () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#16 0x00002b6b32f9fd27 in QItemSelectionModel::selectionChanged () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#17 0x00002b6b32fa56f3 in QItemSelectionModel::emitSelectionChanged () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#18 0x00002b6b32fa927a in QItemSelectionModel::select () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#19 0x00002b6b32f8c3fe in ?? () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#20 0x00002b6b32f8d122 in QTreeView::setSelection () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#21 0x00002b6b32f4f50a in QAbstractItemView::mousePressEvent () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#22 0x00002b6b451cfed5 in MessageList::Core::View::mousePressEvent () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libmessagelist.so.4
#23 0x00002b6b32a6dddf in QWidget::event () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#24 0x00002b6b32e260ab in QFrame::event () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#25 0x00002b6b32eb0ee7 in QAbstractScrollArea::viewportEvent () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#26 0x00002b6b32f56b0b in QAbstractItemView::viewportEvent () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#27 0x00002b6b32f8e86a in QTreeView::viewportEvent () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#28 0x00002b6b32eb38d8 in ?? () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#29 0x00002b6b324d8d4f in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#30 0x00002b6b32a130d0 in QApplicationPrivate::notify_helper () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#31 0x00002b6b32a1a237 in QApplication::notify () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#32 0x00002b6b315ac1ab in KApplication::notify () from /net/allegro/data/anasynth/roebel/system64/kde-4.4/lib/libkdeui.so.5
#33 0x00002b6b324d8a54 in QCoreApplication::notifyInternal () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#34 0x00002b6b32a164a6 in QApplicationPrivate::sendMouseEvent () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#35 0x00002b6b32a95b09 in ?? () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#36 0x00002b6b32a94977 in QApplication::x11ProcessEvent () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#37 0x00002b6b32abdb12 in ?? () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#38 0x00002b6b37a50c13 in IA__g_main_context_dispatch (context=0x65b7620) at gmain.c:1960
#39 0x00002b6b37a5400d in g_main_context_iterate (context=0x65b7620, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#40 0x00002b6b37a5450f in IA__g_main_context_iteration (context=0x65b7620, may_block=1) at gmain.c:2654
#41 0x00002b6b32503245 in QEventDispatcherGlib::processEvents () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#42 0x00002b6b32abd93f in ?? () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtGui.so.4
#43 0x00002b6b324d7be5 in QEventLoop::processEvents () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#44 0x00002b6b324d7f3d in QEventLoop::exec () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#45 0x00002b6b324da0a4 in QCoreApplication::exec () from /net/allegro/data/anasynth/roebel/system64/qt462/lib/libQtCore.so.4
#46 0x0000000000404099 in main ()

Possible duplicates by query: bug 247139, bug 246350, bug 223857, bug 211904.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:30:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:55:23 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.