You are not logged in.
Hello,
I was reading an email on Kontact when out of the blue it crashed. I tried restarting the application but it wouldn't open. I tried KMail and it was the same. I rebooted the machine and neither KMail nor Konact would start. I did a sudo pacman -Syu and KMail and Kontact still fail to load. I restarted my machine several more times and I still get the same problem. I'm not sure whate else to do. I don't think it's a problem with my email configuration as I'm still getting desktop notifications when I get an email. I can also open akonadiconsole and I still see all my email folders, etc. It looks like something in KMail got corrupted. I haven't observed this behaviour on other KDE apps (so far!)
I paste here the backtrace from KMail (the one from Kontact is similar):
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#6 0x00007f2a321345c4 in QTextEngine::clearLineData() () from /usr/lib/libQtGui.so.4
#7 0x00007f2a32180eef in ?? () from /usr/lib/libQtGui.so.4
#8 0x00007f2a32352894 in ?? () from /usr/lib/libQtGui.so.4
#9 0x00007f2a32353110 in QTextEdit::resizeEvent(QResizeEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f2a31f1e9c0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f2a322e4b9e in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f2a32b7deb6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x00007f2a31ec811c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f2a31ecef96 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f2a3362f85a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f2a32b7dd4d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007f2a31f1ab31 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQtGui.so.4
#18 0x00007f2a31f1bcc3 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#19 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#20 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#21 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#22 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#23 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#24 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#25 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#26 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#27 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#28 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#29 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#30 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#31 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#32 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#33 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#34 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#35 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#36 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#37 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#38 0x00007f2a31f1bc17 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#39 0x00007f2a31f1bcdf in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#40 0x00007f2a31f1dd12 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#41 0x00007f2a33d57892 in KMKernel::recoverDeadLetters() () from /usr/lib/libkmailprivate.so.4
#42 0x0000000000402f4a in ?? ()
#43 0x00007f2a313ea790 in __libc_start_main () from /usr/lib/libc.so.6
#44 0x0000000000403759 in _start ()Last edited by AMaudio (2015-06-05 08:06:03)
Offline
A bit more info on this. I tried running kmail on the terminal. I ran it several times and most times it just hang. But one time I ran it I got this error message:
$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kmail2(1308): No language dictionaries for the language : "en_US"
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/maldona/.kde4/socket-amadeus/kdeinit4__0
unnamed app(1307): Communication problem with "kmail2" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "Last edited by AMaudio (2015-06-04 23:36:58)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code
Offline
After trying many things that didn't work (such as reinstalling kdepim-kmail and even kde-applications!), I managed to solve this issue by deleting these two directories:
~/.kde4/share/apps/kmail2
~/.kde4/share/apps/kontact
and restarting the machine.
The issue happens again if I try to forward a very specific email that I received. But then you delete these folders, restart and it all starts working again. So there might be a bug on kmail that that particular email is triggering. Will test more and if I'm able to reproduce 100% I'll log a bug with KDE.
Marking thread as solved!
Last edited by AMaudio (2015-06-05 08:10:22)
Offline