Summary: | Crash on eMail sending since yesterdays git master snapshot built | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Robby Engelmann <robby.engelmann> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | faure, lbeltrame, montel, robby.engelmann |
Priority: | NOR | Keywords: | qt6 |
Version: | Git (master) | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robby Engelmann
2023-12-11 22:06:59 UTC
Hi, backtrace please. Thanks BTW, there is also no pop3 working, but the ews ressource did its job this is what shows up in konsole:
>kmail
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "stateChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMState
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "connectivityChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMConnectivityState
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "deviceTypeChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMDeviceType
qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "meteredChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMMetered
org.kde.pim.kmail_expertplugin: toggle_mimeparttree is not defined
lstFilters 0
lstFilters 7
doh set to "" -- SystemOnly
gpg.qgpgme: found no group for entry verbose of component "tpm2daemon"
gpg.qgpgme: found no group for entry quiet of component "tpm2daemon"
gpg.qgpgme: found no group for entry debug-level of component "tpm2daemon"
gpg.qgpgme: found no group for entry log-file of component "tpm2daemon"
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
The crash occurred when trying to send an email
(gdb) bt #0 0x00007fffe9f536de in Akonadi::ItemCreateJob::doStart() () at /lib64/libKPim6AkonadiCore.so.6 #1 0x00007fffe9f59278 in () at /lib64/libKPim6AkonadiCore.so.6 #2 0x00007fffebdcb2ae in QObject::event(QEvent*) (this=0x55555607e930, e=0x7ffe840026a0) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:1437 #3 0x00007fffecfc094e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55555607e930, e=0x7ffe840026a0) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:3296 #4 0x00007fffebd878b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55555607e930, event=0x7ffe840026a0) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1121 #5 0x00007fffebd878f9 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1539 #6 0x00007fffebd87c17 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5555555adee0) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1901 #7 0x00007fffebfad9e3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5555556051a0) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #8 0x00007fffe8cb1f30 in () at /lib64/libglib-2.0.so.0 #9 0x00007fffe8cb3b58 in () at /lib64/libglib-2.0.so.0 #10 0x00007fffe8cb420c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #11 0x00007fffebfabc6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555555962e0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #12 0x00007fffebd9211b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffc780, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.6.1/build/include/QtCore/../../../src/corelib/global/qflags.h:34 #13 0x00007fffebd8bd46 in QCoreApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.6.1/build/include/QtCore/../../../src/corelib/global/qflags.h:74 #14 0x00007fffec5e268c in QGuiApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/gui/kernel/qguiapplication.cpp:1925 #15 0x00007fffecfbdd85 in QApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:2574 #16 0x0000555555559138 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-24.01.80git.20231211T021212~c1635d35/src/main.cpp:174 does this:
>qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "stateChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMState
>qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "connectivityChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMConnectivityState
>qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "deviceTypeChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMDeviceType
>qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "meteredChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMMetered
hint, that kmail is not able to establish a network connection and this is why no mails can be pop'ed and the sending fails.
And the failed sending triggers a crash?
And the ews ressource works because making use of another connection protocol?
...I am only wildly guessing...
The EWS resource fails for me in the same manner, for the record. The backtrace lacks some debug symbols, here's a more complete one: Thread 1 (Thread 0x7fcbac2de180 (LWP 5068)): [KCrash Handler] #4 0x00007fcb845536de in attributesToProtocolImpl<Akonadi::Item> (ns=false, entity=...) at /usr/src/debug/akonadi-24.01.80git.20231210T222818~b1023dc/src/core/protocolhelper.cpp:93 #5 Akonadi::ProtocolHelper::attributesToProtocol(Akonadi::Item const&, bool) (ns=false, item=...) at /usr/src/debug/akonadi-24.01.80git.20231210T222818~b1023dc/src/core/protocolhelper.cpp:184 #6 Akonadi::ItemCreateJob::doStart() (this=<optimized out>) at /usr/src/debug/akonadi-24.01.80git.20231210T222818~b1023dc/src/core/jobs/itemcreatejob.cpp:158 #7 0x00007fcb84559278 in Akonadi::JobPrivate::startQueued() (this=0x7fcba4055a20) at /usr/src/debug/akonadi-24.01.80git.20231210T222818~b1023dc/src/core/jobs/job.cpp:189 #8 0x00007fcbc1bcb2ae in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6 #9 0x00007fcbc2dc094e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #10 0x00007fcbc1b878b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6 #11 0x00007fcbc1b87c17 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt6Core.so.6 #12 0x00007fcbc1dad9e3 in () at /lib64/libQt6Core.so.6 #13 0x00007fcbb6861f30 in () at /lib64/libglib-2.0.so.0 #14 0x00007fcbb6863b58 in () at /lib64/libglib-2.0.so.0 #15 0x00007fcbb686420c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #16 0x00007fcbc1dabc6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #17 0x00007fcbc1b9211b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #18 0x00007fcbc1b8bd46 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6 #19 0x00005607fa46041d in () #20 0x00007fcbc12281b0 in __libc_start_call_main () at /lib64/libc.so.6 #21 0x00007fcbc1228279 in __libc_start_main_impl () at /lib64/libc.so.6 #22 0x00005607fa4609f5 in () This is right, the EWS fails here as well in terms of sending. I wonder if it's related to 72af8c0b4b20813983a0ee0384ac248e097c4a21. I'll check... I reverted the change and then reinstalled Akonadi. It did not crash, but it did not crash also when I went back again to master... @Robby: Can you try issuing "akonadictl fsck" and see whether this changes anything? akonadictl fsck did not help here, nor directly try to send nor after a restart. still crashing. BTW, this bug started with the same timing: https://bugs.kde.org/show_bug.cgi?id=478504 (In reply to Robby Engelmann from comment #5) > does this: > >qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "stateChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMState > >qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "connectivityChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMConnectivityState > >qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "deviceTypeChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMDeviceType > >qt.dbus.integration: Could not connect "org.freedesktop.NetworkManager" to "meteredChanged" : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMMetered > > hint, that kmail is not able to establish a network connection and this is > why no mails can be pop'ed and the sending fails. > And the failed sending triggers a crash? > And the ews ressource works because making use of another connection > protocol? > ...I am only wildly guessing... No these warnings were harmless and are now fixed in https://codereview.qt-project.org/c/qt/qtbase/+/527739. Works in recent git master snapshots (for over one week) |