Bug 482526 - kmail not starting due to ASSERT: “job == mSieveJob”
Summary: kmail not starting due to ASSERT: “job == mSieveJob”
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: sieve (show other bugs)
Version: 6.0.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-06 09:10 UTC by Lieven Tytgat
Modified: 2024-04-11 04:54 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 Lieven Tytgat 2024-03-06 09:10:52 UTC
SUMMARY
***
On upgrading to plastma 6 kmail crashes immediately on startup with an enabled sieve account.

This error has also been reported by another user: https://discuss.kde.org/t/plasma6-kmail-not-starting-sieve/11073
***


STEPS TO REPRODUCE
1. have a kmail account with sieve enabled
2. start kmail

OBSERVED RESULT
DrKonki did not have a crash log for me to submit, even after installing dbgsym packages
kmail crash log:

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
We have an error during reading password  "Entry not found"
We have an error during reading password  "Entry not found"
ASSERT: "job == mSieveJob" in file ./src/ksievecore/vacation/vacationcheckjob.cpp, line 68
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
/tmp/messageviewer_ccVMuo.index.2 was not removed .
/tmp/messageviewer_eGFGXV.index.2 was not removed .
/tmp/messageviewer_WqCvgi.index.vcard-7cfd991f-1fa4-44ba-868c-340823ea69f1 was not removed .
/tmp/messageviewer_ypQApJ.index.vcard-7cfd991f-1fa4-44ba-868c-340823ea69f1 was not removed .
/tmp/messageviewer_ccVMuo.index.2 was removed .
/tmp/messageviewer_eGFGXV.index.2 was removed .
/tmp/messageviewer_WqCvgi.index.vcard-7cfd991f-1fa4-44ba-868c-340823ea69f1 was removed .
/tmp/messageviewer_ypQApJ.index.vcard-7cfd991f-1fa4-44ba-868c-340823ea69f1 was removed .
KCrash: Application 'kmail' crashing... crashRecursionCounter = 2
QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor

The last line is repeated over and over

EXPECTED RESULT
kmail starts normally

SOFTWARE/OS VERSIONS
KDE neon 6.0 (regular ubuntu 22.04 with added neon repository)
KDE Plasma Version: 6.0.0 
KDE Frameworks Version: 6.0.1
Qt Version: 6.6.2

ADDITIONAL INFORMATION
If akonadi is first stopped with “akonadictl stop” it starts ok.
If the “Server Supports Sieve” option is disabled it also starts ok.
If enabling sieve support after starting up it will allow me to edit my sieve scripts.
Stopping akonadi does not result in successfull start in case kmail is started through kontact.