Package: kmail Version: 4:16.12.3+p16.04+git20170310.0516-0 Kmail and thus Kontact crash on start with a missing symbol: > $ kmail Pass a valid window to KWallet::Wallet::openWallet(). void AdblockManager::reloadConfig() true AdBlock::AdblockManager(0x1d20730) this does not work on a KActionCollection containing actions! org.kde.akonadi.ETM: GEN true false false org.kde.akonadi.ETM: collection: QVector() org.kde.akonadi.ETM: org.kde.akonadi.ETM: Subtree: 16 QSet(277, 274, 275, 272, 273, 287, 294, 295, 292, 293, 290, 291, 288, 289, 302, 303, 301, 298, 296, 297, 310, 311, 308, 309, 306, 307, 304, 305, 318, 319, 316, 317, 314, 315, 312, 313, 326, 327, 324, 325, 322, 323, 320, 321, 214, 334, 215, 212, 332, 213, 333, 330, 211, 331, 328, 222, 329, 218, 219, 216, 339, 217, 359, 352, 360, 135, 263, 140, 138, 139, 270, 271, 268, 269, 266, 267, 264, 265, 16, 276) org.kde.akonadi.ETM: collection: "trash" org.kde.akonadi.ETM: Subtree: 153 QSet(156, 157, 154, 155, 153, 160, 161, 158, 159) org.kde.akonadi.ETM: Subtree: 162 QSet(168, 166, 167, 164, 165, 358, 162, 356, 163, 357, 354, 355, 353) org.kde.akonadi.ETM: Fetch job took 708 msec org.kde.akonadi.ETM: was collection fetch job: collections: 102 org.kde.akonadi.ETM: first fetched collection: "Local Folders" org.kde.akonadi.ETM: collection: "INBOX" org.kde.akonadi.ETM: collection: "INBOX" org.kde.akonadi.ETM: collection: QVector() org.kde.akonadi.ETM: Fetch job took 892 msec org.kde.akonadi.ETM: was collection fetch job: collections: 11 org.kde.akonadi.ETM: first fetched collection: "Search" org.kde.akonadi.ETM: Fetch job took 882 msec org.kde.akonadi.ETM: was item fetch job: items: 2950 org.kde.akonadi.ETM: Fetch job took 877 msec org.kde.akonadi.ETM: was item fetch job: items: 32 org.kde.akonadi.ETM: Fetch job took 1078 msec org.kde.akonadi.ETM: was item fetch job: items: 80 kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libKF5MessageCore.so.5: undefined symbol: _ZNK5KMime5Types7Mailbox13prettyAddressEv
Adding a list of duplicates that have been wrongly reported to upstream instead of being assigned to KDE Neon Packaging: https://bugs.kde.org/show_bug.cgi?id=378271 https://bugs.kde.org/show_bug.cgi?id=378165
Ok, living without emails for a couple of days becomes difficult. Tried some hacks and fixes and got a temporary workaround. The missing symbol (demangled) is KMime::Types::Mailbox::prettyAddress() from the library libkf5mime5. From the apt update log it seems that one was updated along with libkf5messagecore5 but to a much more recent version. So downgrading that library to before the update seems to fix things. In my case it was the version 16.12.3+p16.04+git20170309.0732-0 so downgrading can be done by e.g. sudo apt install libkf5mime5=16.12.3+p16.04+git20170309.0732-0 Starting kmail/kontact after that will not result in an immediate crash at startup anymore. However, this is just a temporary workaround. Still hoping for the right package update to fix this.
lsb_release -a No LSB modules are available. Distributor ID: neon Description: KDE neon Developer Edition Release: 16.04 Codename: xenial I am just here to post my crashes. March 30 - kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libKF5MessageCore.so.5: undefined symbol: _ZNK5KMime5Types7Mailbox13prettyAddressEv April 7- kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN10MailCommon24FavoriteCollectionWidget19prefereCreateNewTabEb Progress? I guess kmail keeps complaining about different symbols every update
@idoitprone I can confirm the new woes after updating today. Kmail/Kontact crashes again on startup due to a missing symbol. Did some investigation on the new missing symbols and here is how to fix those temporarily by downgrading packages. kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN10MailCommon24FavoriteCollectionWidget19prefereCreateNewTabEb can be fixed by downgrading libkf5mailcommon5 to sudo apt install libkf5mailcommon5=4:16.12.3+p16.04+git20170310.0437-0 then one will run into another missing symbol: kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN4KPIM15ProgressManager18createProgressItemEPNS_12ProgressItemERKN7Akonadi13AgentInstanceERK7QStringS9_S9_bNS1_12CryptoStatusE can be fixed by downgrading libkf5libkdepim5 to sudo apt install libkf5libkdepim5=4:16.12.3+p16.04+git20170310.0145-0 then one will run into another missing symbol: kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN9PimCommon4Util12isImapFolderERKN7Akonadi10CollectionERb can be fixed by downgrading libkf5pimcommon5 to sudo apt install libkf5pimcommon5=4:16.12.3+p16.04+git20170310.0207-0 and now finally the hunt ends and Kmail starts again without crashing. It seems though that the missing symbol from my initial post #1 is fixed but now we got 3 new missing ones instead. Guess there is some refactoring going on in KDEPIM and Neon builds do not manage to build from the right versions of the libraries so that symbols are missing each time. As hunting those down manually and downgrading libraries without version conflicts and blockers is getting tedious and might not work with next upgrade I highly recommend to not upgrade any KDEPIM related libraries until this gets to a stable state. Otherwise KMail and others will be non-functional with the next upgrade and who knows how long it takes for it to get fixed. Not having emails and calendar for weeks doesn't seem tempting.
Seems that the downgrade workaround mentioned in the previous post is enough to make Kmail start without crashing but there are still missing symbols in other PIM libraries which means KMail is unusable :(. In particular Imap seems to not work anymore due to this /usr/bin/akonadi_imap_resource: symbol lookup error: /usr/bin/akonadi_imap_resource: undefined symbol: _ZN13MailTransport10ServerTest8finishedERK5QListIiE /usr/bin/akonadi_maildispatcher_agent: symbol lookup error: /usr/bin/akonadi_maildispatcher_agent: undefined symbol: _ZTIN13MailTransport22SentBehaviourAttributeE Trying to downgrade the libkf5mailtransport5 package in the hope to fix the above leads to a dpkg dependency blocker - not possible. So currently Imap is non-functional in Kmail - no emails again :(. I'll see how to downgrade the whole KDE PIM to the last known usable version but this means downgrading 40+ packages, which will be a challenge for the package manager.
OK, managed to get KMail + imap working again by downgrading all of KDE PIM to a previous known good version. However, that meant downgrading a whooping amount of 198 packages to a mix of different previous versions! This might or might not work on someone else's system. It might just put your system in a broken package state that needs manual fixing afterwards. If someone still wants to try the downgrading PIM hack please comment and I can provide the package list here. However, the better way to deal with this is to have someone from Neon fix the latest KDE PIM packaging to not have the missing symbols anymore. Not sure though how long that takes. I will wait with any system upgrades for a while to not break mail+calendar again. Bye Bogdan
I can confirm the issues: $ kmail kmail: symbol lookup error: /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN10MailCommon24FavoriteCollectionWidget19prefereCreateNewTabEb $ kontact org.kde.pim.kontactinterface: "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/kmailpart.so: (/usr/lib/x86_64-linux-gnu/libkmailprivate.so.5: undefined symbol: _ZN10MailCommon24FavoriteCollectionWidget19prefereCreateNewTabEb)" Inconsistency detected by ld.so: dl-tls.c: 74: _dl_next_tls_modid: Assertion `result <= GL(dl_tls_max_dtv_idx) + 1' failed! See also https://bugs.kde.org/show_bug.cgi?id=378608 .
I am just here to update the missing symbol whack a mole whenever there is an update that complains about a different symbol org.kde.akonadi.ETM: first fetched collection: "Local Folders" org.kde.pim.akonadicontrol: Agent instance ( "agentInstanceConfigure" ) "akonadi_imap_resource_1" has no agent interface. /usr/bin/akonadi_imap_resource: symbol lookup error: /usr/bin/akonadi_imap_resource: undefined symbol: _ZN13MailTransport10ServerTest8finishedERK5QListIiE org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with exit code 127 (Unknown error) akonadi_imap_resource: symbol lookup error: akonadi_imap_resource: undefined symbol: _ZN13MailTransport10ServerTest8finishedERK5QListIiE
installing kontact on dev-stable edition runs fine for me now
Hi Can confirm that Kontact/Kmail are now functional again without crashing. Same for akonadi_imap. Seems that the PIM refactor has stabilized. Closing this bug.