kmail no longer displays content of emails

Hi!

Current TW, I tried to set up a new resource, which failed. Ok. But now, kmail no longer displays the content of Emails. I can see the content of an Email by forwarding it: If I type “F” (forward text, not as attachment), I can reade the text of the email in the new window, waiting to be forwarded.

I vacuumed akonadi, stopped it, then started kmail and get these lines:


 kmail
Pass a valid window to KWallet::Wallet::openWallet().
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[1004/185153:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
 void AdblockManager::reloadConfig() false    AdBlock::AdblockManager(0x1da91a0)
akonadi.collectionattributetable                   OK
akonadi.collectionmimetyperelation                 OK
akonadi.collectionpimitemrelation                  OK
akonadi.collectiontable                            OK
akonadi.flagtable                                  OK
akonadi.mimetypetable                              OK
akonadi.parttable                                  OK
akonadi.parttypetable                              OK
akonadi.pimitemflagrelation                        OK
akonadi.pimitemtable                               OK
akonadi.pimitemtagrelation                         OK
akonadi.relationtable                              OK
akonadi.relationtypetable                          OK
akonadi.resourcetable                              OK
akonadi.schemaversiontable                         OK
akonadi.tagattributetable                          OK
akonadi.tagremoteidresourcerelationtable           OK
akonadi.tagtable                                   OK
akonadi.tagtypetable                               OK
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
this does not work on a KActionCollection containing actions!
log_akonadicore: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
log_akonadicore: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
log_akonadicore: Job error:  "Unbekannter Fehler." for collection: QVector() 

log_akonadicore: Job error:  "Unbekannter Fehler." for collection: QVector() 

log_messagelist: Failed to load tags  "Unbekannter Fehler."
log_mailcommon: failed to retrieve tags  "Unbekannter Fehler."
log_kmail: "Unbekannter Fehler."
The hash has changed.
log_akonadiserver: Cannot pause an inactive timer
log_akonadiserver: Cannot pause an inactive timer
log_akonadiserver: Cannot pause an inactive timer
false
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
Invalid URL: QUrl("/home/AW/.kde4/share/apps/korganizer/std.ics")
"Die Datei „/home/AW/.kde4/share/apps/korganizer/std.ics“ lässt sich nicht laden."
log_akonadiserver: Cannot pause an inactive timer
log_akonadiserver: Cannot pause an inactive timer
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: Subtree:  12 QSet(12)
org.kde.akonadi.ETM: collection: "Notizen"
org.kde.akonadi.ETM: Subtree:  15 QSet(15)
org.kde.akonadi.ETM: collection: "Notizen"
org.kde.akonadi.ETM: Fetch job took  163 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 2
org.kde.akonadi.ETM: first fetched collection: "Notizen"
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.akonadi.ETM: Fetch job took  16 msec
org.kde.akonadi.ETM: was item fetch job: items: 4
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
Received signal 4 ILL_ILLOPN 7fe4f329cee0
#0 0x7fe4f36f6b5e <unknown>
#1 0x7fe4f36f6f19 <unknown>
#2 0x7fe4f0cfa650 <unknown>
#3 0x7fe4f329cee0 <unknown>
#4 0x7fe4f4085df0 <unknown>
#5 0x7fe4f40861d1 <unknown>
#6 0x7fe4f4084c6c <unknown>
#7 0x7fe4f40852bc <unknown>
#8 0x7fe4f478e63a <unknown>
#9 0x7fe4f2dcdbbe <unknown>
#10 0x7fe4f2da501f <unknown>
#11 0x7fe4f47a52a6 <unknown>
#12 0x7fe4f2d71988 <unknown>
#13 0x7fe4f34496b2 <unknown>
#14 0x7fe4f3463adf <unknown>
#15 0x7fe4f34687c1 <unknown>
#16 0x7fe4f345aa8d <unknown>
#17 0x7fe4f2700e80 <unknown>
#18 0x7fe4f3395520 <unknown>
#19 0x7fe4f3767989 <unknown>
#20 0x7fe4f3d96174 <unknown>
#21 0x7fe4f3d96989 <unknown>
#22 0x7fe4f3767989 <unknown>
#23 0x7fe4f3713d89 <unknown>
#24 0x7fe4f3714969 <unknown>
#25 0x7fe4f3714e22 <unknown>
#26 0x7fe4f3716c89 <unknown>
#27 0x7fe4f372868a <unknown>
#28 0x7fe4f3713165 <unknown>
#29 0x7fe4f347d3ff <unknown>
#30 0x7fe4f293b7a4 <unknown>
#31 0x7fe4f293bce4 <unknown>
#32 0x7fe4f293a2e1 <unknown>
#33 0x7fe4f1d8f614 QtWebEngine::processMain()
#34 0x000000400733 <unknown>
#35 0x7fe4f0ce6291 __libc_start_main
#36 0x00000040078a <unknown>
  r8: 0000000000000003  r9: 0000000000000020 r10: 0000000000000022 r11: 0000000000000206
 r12: 0000000001287860 r13: 0000000000020000 r14: 0000000001286b10 r15: 00007ffd9a20ec90
  di: 000037fdcd1a1000  si: 000000000001e000  bp: 0000000001220770  bx: 0000000001287868
  dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff88  sp: 00007ffd9a20eb00
  ip: 00007fe4f329cee0 efl: 0000000000010286 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
false
org.kde.akonadi.ETM: Fetch job took  362 msec
org.kde.akonadi.ETM: was item fetch job: items: 4
log_akonadiserver: Cannot pause an inactive timer
org.kde.akonadi.ETM: Subtree:  17 QSet(24, 23, 22, 21, 20, 19, 18, 17)
org.kde.akonadi.ETM: Subtree:  28 QSet(54, 53, 31, 52, 30, 51, 29, 50, 28, 49, 48, 62, 61, 60, 59, 58, 57, 56, 39, 38, 37, 36, 35, 34, 33, 32, 68, 47, 46, 45, 65, 44, 43, 42, 41, 40, 55)
org.kde.akonadi.ETM: Fetch job took  657 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 45
org.kde.akonadi.ETM: first fetched collection: "ZRP"
org.kde.akonadi.ETM: Subtree:  28 QSet(35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 65, 49, 50, 68, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 28, 29, 30, 31, 32, 33, 34)
org.kde.akonadi.ETM: Subtree:  28 QSet(65, 60, 62, 57, 56, 59, 58, 53, 52, 55, 54, 49, 48, 51, 50, 45, 44, 47, 46, 41, 40, 43, 42, 37, 36, 39, 29, 38, 33, 28, 32, 31, 35, 30, 68, 34, 61)
org.kde.akonadi.ETM: Subtree:  17 QSet(18, 24, 21, 20, 23, 22, 17, 19)
org.kde.akonadi.ETM: Fetch job took  472 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 45
org.kde.akonadi.ETM: first fetched collection: "ZRP"
org.kde.akonadi.ETM: collection: "inbox"
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  659 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 9
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  474 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 9
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Fetch job took  3 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 0
org.kde.akonadi.ETM: Fetch job took  5 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 0
org.kde.akonadi.ETM: Subtree:  17 QSet(17, 18, 19, 20, 21, 22, 23, 24)
org.kde.akonadi.ETM: Fetch job took  471 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 45
org.kde.akonadi.ETM: first fetched collection: "ZRP"
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  505 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 9
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Fetch job took  379 msec
org.kde.akonadi.ETM: was item fetch job: items: 2720
org.kde.akonadi.ETM: Fetch job took  285 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 0
log_akonadiserver: Cannot resume a timer that is not paused.
log_messagelist: Requested invariant for storage row index  2720  not found in history
log_messagelist: Requested invariant for storage row index  2720  not found in history
log_messagelist: Could not find invariant to invalidate at current row  2720
Received signal 4 ILL_ILLOPN 7fe4f329cee0
#0 0x7fe4f36f6b5e <unknown>
#1 0x7fe4f36f6f19 <unknown>
#2 0x7fe4f0cfa650 <unknown>
#3 0x7fe4f329cee0 <unknown>
#4 0x7fe4f4085df0 <unknown>
#5 0x7fe4f40861d1 <unknown>
#6 0x7fe4f4084c6c <unknown>
#7 0x7fe4f40852bc <unknown>
#8 0x7fe4f478e63a <unknown>
#9 0x7fe4f2dcdbbe <unknown>
#10 0x7fe4f2da501f <unknown>
#11 0x7fe4f47a52a6 <unknown>
#12 0x7fe4f2d71988 <unknown>
#13 0x7fe4f34496b2 <unknown>
#14 0x7fe4f3463adf <unknown>
#15 0x7fe4f34687c1 <unknown>
#16 0x7fe4f345aa8d <unknown>
#17 0x7fe4f2700e80 <unknown>
#18 0x7fe4f3395520 <unknown>
#19 0x7fe4f3767989 <unknown>
#20 0x7fe4f3d96174 <unknown>
#21 0x7fe4f3d96989 <unknown>
#22 0x7fe4f3767989 <unknown>
#23 0x7fe4f3713d89 <unknown>
#24 0x7fe4f3714969 <unknown>
#25 0x7fe4f3714e22 <unknown>
#26 0x7fe4f3716c89 <unknown>
#27 0x7fe4f372868a <unknown>
#28 0x7fe4f3713165 <unknown>
#29 0x7fe4f347d3ff <unknown>
#30 0x7fe4f293b7a4 <unknown>
#31 0x7fe4f293bce4 <unknown>
#32 0x7fe4f293a2e1 <unknown>
#33 0x7fe4f1d8f614 QtWebEngine::processMain()
#34 0x000000400733 <unknown>
#35 0x7fe4f0ce6291 __libc_start_main
#36 0x00000040078a <unknown>
  r8: 0000000000000003  r9: 0000000000000020 r10: 0000000000000022 r11: 0000000000000206
 r12: 0000000001287fd0 r13: 0000000000020000 r14: 0000000001287280 r15: 00007ffd9a20ec90
  di: 0000214a597c1000  si: 000000000001e000  bp: 0000000001220160  bx: 0000000001287fd8
  dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff88  sp: 00007ffd9a20eb00
  ip: 00007fe4f329cee0 efl: 0000000000010286 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
false
false




Do I really have to delete ~/.local/share/akonadi and ~/.config/akonadi and add all the resources again (and how do you do this, because all my emails are in ~/.local/share/akonadi_maildir_resource_0 ???)

Thanks for your much appreciated help!

With a similar problem I discovered that archiving and restoring emails using the KDE tools worked perfectly, enabling deletion of all settings that might or might not be correct

The error looks like it is related to qtwebengine which has been creating problems over the last weeks. With nouveau, kmail crashes on displaying any HTML mail. With today’s updates the message window does not display anything, even on Intels that were unaffected up to now. I think there is nothing you can do about it other than waiting for fixed packages.

I experience the same and found this bug entry over at Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=1364781
Sounds pretty similar but I have no idea whether to expect the mentioned fix to be present in upstream or not.
Hopefully this gets sorted out quickly…

Yes it is qtwebengine and glibc-2.24 fault. (see mlist)
You can built patched qtwebengine, or wait for fix in OBS.
Or I can share my rpms. I cannot publish them in OBS because I build it with use_proprietary_codecs flag, afaik.

Packages have been rebuilt already, wait for the next snapshot. As soon as kmail gets back its functionality ( don’t have the time to setup an alternative right now ) I’ll ask the maintainers to push fixes for showstoppers like this one through the Tumbleweed Update repo. That would bypass the waiting for a next snapshot.

Thank you very much – now I have a reason to enable the TW Update repository and see if it really works.

It should be enabled and it works. In the past it has been used to f.e. push out openssl fixes. No reply yet, but heck, we’re all over the world.

Fixed package ( tested ) is now in the Tumbleweed update repo. You may need

zypper dup --from XXXXX

where XXXXX is the name of your update repo.

I could see libqt5-qtwebengine-5.7.0-4.1 in the Tumbleweed Update repository with YaST (ncurses), but was disappointed that it did not show in YaST Online Update and could not be installed with “zypper patch”. However it does make KMail usable again, so thanks again.