Bug 245051 - kmail crash after saving as mbox and closing email
Summary: kmail crash after saving as mbox and closing email
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 16:37 UTC by ficusbenjamini
Modified: 2010-12-14 14:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crastext avail when clicking on ShowDetails in the crashMessageGui (6.42 KB, text/plain)
2010-07-18 16:37 UTC, ficusbenjamini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ficusbenjamini 2010-07-18 16:37:14 UTC
Created attachment 49289 [details]
crastext avail when clicking on ShowDetails in the crashMessageGui

Version:           1.10.3 (using KDE 1.2) 
OS:                Linux

Hello KDE Team,

pls. find my bug description below as follows:

openSUSE 11.1 (German)
KMail Version 1.10.3
Unter KDE 4.1.3 (KDE 4.1.3) "release 4.11.1"

Crash ist reproduceable as follows when saving an opened email.

1) open any email
2) File;SaveAs (in the german version I use: Datei;SpeichernUnter)
   * The Address Field (filename) is predfined by the subject string extended by string ".mbox"
   * The Filter Field contains the string "mbox"
3) click Save (in the german version I use:  Speichern)
4) Close saved email and you get the crash with following message (in German)

Ein schwerer Fehler ist aufgetreten
The application KMail (kmail) crashed and caused the signal 11 (SIGSEGV).
Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.

this is independent of having attachment(s) or not

Nevertheless the saved file can be opened and used like a normal opened email.
I use this feature very intensively for archiving my important emails as "original" as possible.
Would be nice to have a feature to search for a string in the dirtree where saved emails are stored.

Thank you very much for the continuous great work you do



Best regards

ficusbenjamini@t-online.de


Anwendung: KMail (kmail), Signal SIGSEGV
[Current thread is 1 (Thread 0xb3806700 (LWP 4504))]

Thread 1 (Thread 0xb3806700 (LWP 4504)):
[KCrash Handler]
#6  0xb6b5980e in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb58d1ab7 in Q3ListView::drawContentsOffset(QPainter*, int, int, int, int, int, int) () from /usr/lib/libQt3Support.so.4
#8  0xb5931f9d in Q3ScrollView::viewportPaintEvent(QPaintEvent*) () from /usr/lib/libQt3Support.so.4
#9  0xb54afcc4 in K3ListView::viewportPaintEvent(QPaintEvent*) () from /usr/lib/libkde3support.so.4
#10 0xb59338da in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt3Support.so.4
#11 0xb58cf306 in Q3ListView::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt3Support.so.4
#12 0xb6b53cc7 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb762bb3a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#14 0xb46d18da in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb46d982a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb526557d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0xb762c961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb47325fe in ?? () from /usr/lib/libQtGui.so.4
#19 0xb4728230 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#20 0xb47289dd in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#21 0xb4727ea8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#22 0xb47289dd in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#23 0xb4727ea8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#24 0xb47289dd in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#25 0xb4727ea8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#26 0xb47289dd in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#27 0xb4727ea8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#28 0xb47289dd in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#29 0xb4727ea8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#30 0xb47289dd in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#31 0xb4727ea8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*) () from /usr/lib/libQtGui.so.4
#32 0xb489681e in ?? () from /usr/lib/libQtGui.so.4
#33 0xb4896d17 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb4729696 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#35 0xb4a7c127 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#36 0xb532a178 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#37 0xb536bb8c in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#38 0xb46d18fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#39 0xb46d982a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0xb526557d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0xb762c961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#42 0xb475a0d6 in QWidgetPrivate::dirtyWidget_sys(QRegion const&, bool) () from /usr/lib/libQtGui.so.4
#43 0xb4894bff in ?? () from /usr/lib/libQtGui.so.4
#44 0xb4895209 in QWidget::repaint(QRegion const&) () from /usr/lib/libQtGui.so.4
#45 0xb47212c1 in QWidget::repaint(QRect const&) () from /usr/lib/libQtGui.so.4
#46 0xb58ce6c0 in Q3ListView::updateDirtyItems() () from /usr/lib/libQt3Support.so.4
#47 0xb5a44fb8 in Q3ListView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt3Support.so.4
#48 0xb54b562a in K3ListView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkde3support.so.4
#49 0xb6b56e7a in ?? () from /usr/lib/libkmailprivate.so.4
#50 0xb7641580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#51 0xb7642302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#52 0xb767c7f7 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#53 0xb7647f9e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#54 0xb763c04f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#55 0xb46d18fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#56 0xb46d975e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#57 0xb526557d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#58 0xb762c961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#59 0xb765ab86 in ?? () from /usr/lib/libQtCore.so.4
#60 0xb7657060 in ?? () from /usr/lib/libQtCore.so.4
#61 0xb40739c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb4077083 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb4077241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb7656fb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0xb476a8f5 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb762b01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#67 0xb762b1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#68 0xb762d895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#69 0xb46d1777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#70 0x0804a8d0 in _start ()

******************* end of crash info **************

Reproducible: Always

Steps to Reproduce:
1) open any email
2) File;SaveAs (in the german version I use: Datei;SpeichernUnter)
   * The Address Field (filename) is predfined by the subject string extended by string ".mbox"
   * The Filter Field contains the string "mbox"
3) click Save (in the german version I use:  Speichern)
4) Close saved email and you get the crash with following message (in German)



Actual Results:  
Kmail closes with error message:

Ein schwerer Fehler ist aufgetreten
The application KMail (kmail) crashed and caused the signal 11 (SIGSEGV).
Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.




Expected Results:  
no crash, email still open, KMail still up

I does what intended e.g. saving email in a mbox file format

sw should have done instead:
no crash, email still open, KMail still up
Comment 1 Dario Andres 2010-12-14 14:26:40 UTC
[Comment from a bug triager]
This specific crash was fixed in the KDE SC 4.2 version (a long time ago). The KMail code was ported to a new set of Qt classes, so the classes involved in this crash are no longer used.
Related to bug 200621.
If you experience a similar crash with an updated KDE SC (4.4.0 or later) please open a new bug report as it is likely to be a different issue
Thanks!