KMail seg faults and crashes

Recent upgrade to 15.1 all updates applied(KDE desktop), I use KMail for me e-mail client. Starting this morning, when I attempt to download my e-mail, KMail crashes. When I attempt to start kmail from the command-line (as opposed to clicking the icon) I get the following output:


mark@mark:~> kmail
org.kde.pim.akonadiserver: Subscriber "" disconnected
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f237407ea60) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f237407ea60) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f237416b970) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f2374198b00) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f23741d4c40) )
org.kde.pim.akonadiserver: Subscriber "" disconnected
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f23741d4c40) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f23740145d0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f237407ea60) identified as "KMail Kernel ETM - 93874850090768"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f237416b970) identified as "SpecialCollectionsMonitor - 93874850254528"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f2374198b00) identified as "MessageListTagMonitor - 93874852049232"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f23741d4c40) identified as "MessageViewerMonitor - 93874852548096"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f23741d4c40) identified as "MessageViewerMonitor - 93874852548096"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f23740145d0) identified as "TagActionManagerMonitor - 93874854593424"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f23742843c0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f23742843c0) identified as "FilterManagerTagMonitor - 93874862568816"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f23740120c0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f23740120c0) identified as "MessageListTagCacheMonitor - 139622675955840"
org.kde.pim.akonadiserver: ItemRetrievalJob for request 0x7f235c0815a0 finished
Syntax Warning: Unable to set decoder parameters
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
*** Error in `kmail': double free or corruption (out): 0x00005560f298aed0 ***
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
org.kde.pim.akonadiserver: Subscriber "KMail Kernel ETM - 93874850090768" disconnected
org.kde.pim.akonadiserver: Subscriber "MessageListTagMonitor - 93874852049232" disconnected
org.kde.pim.akonadiserver: Subscriber "TagActionManagerMonitor - 93874854593424" disconnected
org.kde.pim.akonadiserver: Subscriber "MessageListTagCacheMonitor - 139622675955840" disconnected
org.kde.pim.akonadiserver: Subscriber "SpecialCollectionsMonitor - 93874850254528" disconnected
org.kde.pim.akonadiserver: Subscriber "FilterManagerTagMonitor - 93874862568816" disconnected
org.kde.pim.akonadiserver: Subscriber "MessageViewerMonitor - 93874852548096" disconnected
Segmentation fault (core dumped)

would someone please tell me how to get kmail working again?

Thank you,

Mark

UPDATE:

My “notifier” told me that there were 2 updates to kmail, so I tried to install them, but having installed the debug packages after the last crash, they would not install. OK. So, I removed the debug packages, installed the updates and the problem persists with the added notice that “Unable to start Dr. Knoqi” (I’m guessing this is because there are still some debug packages in the kmail tree. This is only my guess) Anyway, here is the terminal output from my last crash:


mark@mark:~> kmail
Syntax Warning: Unable to set decoder parameters
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
/tmp/messageviewer_a11060 was removed .
/tmp/messageviewer_AHC725 was removed .
/tmp/messageviewer_l23573 was removed .
/tmp/messageviewer_Oy6978.index.2 was removed .
/tmp/messageviewer_r16443 was removed .
/tmp/messageviewer_S16443 was removed .
/tmp/messageviewer_TK9385 was removed .
/tmp/messageviewer_V16443 was removed .
/tmp/messageviewer_X28333 was removed .
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
[6978:7039:0222/115119.106807:FATAL:rand_util_posix.cc(54)] Check failed: success. 
#0 0x7fb18de2379e <unknown>
#1 0x7fb18de3602a <unknown>
#2 0x7fb18de5a3f1 <unknown>
#3 0x7fb18dbb73e6 <unknown>
#4 0x7fb18dbb74a2 <unknown>
#5 0x7fb18ea60bdb <unknown>
#6 0x7fb18e6665d9 <unknown>
#7 0x7fb18e66743d <unknown>
#8 0x7fb18e66a2a0 <unknown>
#9 0x7fb18e6621e9 <unknown>
#10 0x7fb18e66f905 <unknown>
#11 0x7fb18e66fad3 <unknown>
#12 0x7fb18ea76dba <unknown>
#13 0x7fb18ea72cc9 <unknown>
#14 0x7fb18ea867da <unknown>
#15 0x7fb18ea7b953 <unknown>
#16 0x7fb18de41d2f <unknown>
#17 0x7fb18558af48 <unknown>
#18 0x7fb18558b98f event_base_loop
#19 0x7fb18de41c13 <unknown>
#20 0x7fb18de3ddc8 <unknown>
#21 0x7fb18de5a85b <unknown>
#22 0x7fb18d6f38d8 <unknown>
#23 0x7fb18d6f3e8b <unknown>
#24 0x7fb18de72538 <unknown>
#25 0x7fb18de6e55b <unknown>
#26 0x7fb199864569 start_thread
#27 0x7fb1a42f69ef __GI___clone

Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Aborted (core dumped)
You have new mail in /var/spool/mail/mark

Does this help diagnose what is wrong? Can anyone suggest a way to resolve this problem or steps to approach solving the problem?

Many thanks,
Mark

@MarkNei:

It seems that, something has gone terribly wrong with the upgrade to Leap 15.1.

  1. Did you follow these upgrade instructions? – <https://en.opensuse.org/SDB:System_upgrade>.
  2. Did you follow these “offline upgrade” instructions? – <https://en.opensuse.org/SDB:Offline_upgrade>.
  3. After the upgrade, did you execute, with the user “root” the following housekeeping tasks?
  • “rpmconfigcheck”
  • “zypper verify”
  • “rpm --rebuilddb”
  • “rpm --verify --all”

Have you checked for any orphaned packages? – “zypper packages --orphaned”
Have you checked that, the upgrade was performed against the Leap 15.1 repositories? – “zypper repos --uri”
Did you backup all the users’ files before the upgrade was performed?
Have you been performing regular KMail archiving? – <https://docs.kde.org/stable5/en/pim/kmail2/backups.html>.
If you were performing regular KMail archiving, have you been backing up the KMail archive files?

Thank you.

I will make backups and run the diagnostics and report back.

Mark

Now that I have a little time, I’ll answer the questions you asked:

  1. Yes I followed the instructions. I did an offline upgrade according to the instructions.
  2. No, I did not do the housekeeping. I’ve never had the need to in the past. I’ve been using OpenSuse since 11.1 and never had to in the past.

More info:

Kmail was fine after the upgrade to 15.1. As I recall, it was after an “software update” download that the problem started. Also, yesterday I saw another update for kmail in the “software updater.” I hoped that this would fix the problem, but it didn’t. Same crashes.

Thank you for the help,

Mark

…continuing on…
Orphaned packages output:


Loading repository data...
Reading installed packages...
S  | Repository | Name                              | Version                             | Arch  
---+------------+-----------------------------------+-------------------------------------+-------
i+ | @System    | MPlayer                           | 1.2.r38117-lp150.2.4                | x86_64
i+ | @System    | aften                             | 0.0.8.git20110104-lp150.1.12        | x86_64
i+ | @System    | asunder                           | 2.9.3-lp150.1.10                    | x86_64
i+ | @System    | cndrvcups-common                  | 3.71-1                              | x86_64
i+ | @System    | cndrvcups-ufr2-us                 | 3.31-1                              | x86_64
i+ | @System    | dcaenc                            | 2-lp150.2.11                        | x86_64
i+ | @System    | faac                              | 1.29.9.2-lp150.2.12                 | x86_64
i+ | @System    | flash-player                      | 32.0.0.270-lp150.1.1                | x86_64
i+ | @System    | flash-player-ppapi                | 32.0.0.270-lp150.1.1                | x86_64
i+ | @System    | flash-plugin                      | 32.0.0.314-release                  | x86_64
i+ | @System    | google-chrome-stable              | 79.0.3945.130-1                     | x86_64
i+ | @System    | gpac                              | 0.8.0-lp150.1.3                     | x86_64
i+ | @System    | gstreamer-plugins-bad-orig-addon  | 1.12.5-lp150.6.6                    | x86_64
i+ | @System    | gstreamer-plugins-ugly-orig-addon | 1.12.5-lp150.2.9                    | x86_64
i+ | @System    | h264enc                           | 10.4.7-lp150.3.3                    | noarch
i+ | @System    | handbrake-gtk                     | 1.2.2-lp150.2.3                     | x86_64
i+ | @System    | libHalf12                         | 2.2.0-4.3                           | x86_64
i+ | @System    | libIex-2_2-12                     | 2.2.0-4.3                           | x86_64
i+ | @System    | libdca0                           | 0.0.6-lp150.2.8                     | x86_64
i+ | @System    | libdcaenc0                        | 2-lp150.2.11                        | x86_64
i+ | @System    | libde265-0                        | 1.0.3-lp150.1.8                     | x86_64
i+ | @System    | libdvdcss2                        | 1.4.2-lp150.1.1                     | x86_64
i+ | @System    | libdvdread3                       | 0.9.7-lp150.9.3                     | x86_64
i+ | @System    | libfaac0                          | 1.29.9.2-lp150.2.12                 | x86_64
i+ | @System    | libfaad2                          | 2.8.8-lp150.2.3                     | x86_64
i+ | @System    | libfdk-aac1                       | 0.1.6-lp150.2.6                     | x86_64
i+ | @System    | libgpac6                          | 0.6.1-10.3                          | x86_64
i+ | @System    | libgpac7                          | 0.7.1-lp150.1.9                     | x86_64
i+ | @System    | libgpac8                          | 0.8.0-lp150.1.3                     | x86_64
i+ | @System    | libmac2                           | 3.99_u4_b5_s7-lp150.5.3             | x86_64
i+ | @System    | libmovit7                         | 1.5.3-2.2                           | x86_64
i+ | @System    | libmozjs185-1_0                   | 1.8.5-lp150.19.6.3                  | x86_64
i+ | @System    | libopencore-amrnb0                | 0.1.5-lp150.1.12                    | x86_64
i+ | @System    | libopencore-amrwb0                | 0.1.5-lp150.1.12                    | x86_64
i+ | @System    | librtmp1                          | 2.4.20151223.fa8646d-lp150.1.15     | x86_64
i+ | @System    | librttr_core0_9_6                 | 0.9.6-lp150.5.2                     | x86_64
i+ | @System    | libvidstab0_9                     | 0.98b-2.3                           | x86_64
i+ | @System    | libvlc123                         | 4.0.0.20190401.fa1bf247e0-lp150.1.2 | x86_64
i+ | @System    | libvlc6                           | 3.0.0.20170804.9b202d9166-3.1       | x86_64
i+ | @System    | libvlccore123                     | 4.0.0.20190401.fa1bf247e0-lp150.1.2 | x86_64
i+ | @System    | libvo-aacenc0                     | 0.1.3-lp150.1.12                    | x86_64
i+ | @System    | libvo-amrwbenc0                   | 0.1.3-lp150.1.10                    | x86_64
i+ | @System    | libx264-148                       | 0.148svn20170816-1.3                | x86_64
i+ | @System    | libx264-152                       | 0.152svn20180305-5.1                | x86_64
i+ | @System    | libx264-155                       | 0.155svn20190201-lp150.2.3          | x86_64
i+ | @System    | libx265-110                       | 2.3-2.2                             | x86_64
i+ | @System    | libx265-116                       | 2.4-2.1                             | x86_64
i+ | @System    | libx265-130                       | 2.5-1.1                             | x86_64
i+ | @System    | libx265-146                       | 2.6-2.1                             | x86_64
i+ | @System    | libx265-151                       | 2.7-3.4                             | x86_64
i+ | @System    | libx265-165                       | 2.9-1.4                             | x86_64
i+ | @System    | libx265-169                       | 3.0-lp150.1.7                       | x86_64
i+ | @System    | libx265-176                       | 3.1.2-lp150.1.1                     | x86_64
i+ | @System    | libx265-179                       | 3.2-lp150.1.3                       | x86_64
i+ | @System    | libxine2-codecs                   | 1.2.9-lp150.149.6                   | x86_64
i+ | @System    | libxvidcore4                      | 1.3.5-lp150.2.9                     | x86_64
i+ | @System    | mac                               | 3.99_u4_b5_s7-lp150.5.3             | x86_64
i+ | @System    | normalize                         | 0.7.7-lp150.4.9                     | x86_64
i+ | @System    | openSUSE-release-dvd              | 15.1-lp151.298.1                    | x86_64
i+ | @System    | perl-Event-ExecFlow               | 0.64-lp150.7.3                      | noarch
i+ | @System    | perl-Gtk2-Ex-FormFactory          | 0.67-lp150.1.3                      | noarch
i+ | @System    | smplayer-skins                    | 15.2.0-lp150.1.1                    | noarch
i+ | @System    | subtitleripper                    | 0.3.4-lp150.4.9                     | x86_64
i+ | @System    | transcode                         | 1.1.7-lp150.8.3                     | x86_64
i+ | @System    | vobcopy                           | 1.2.0-lp150.3.11                    | x86_64
i+ | @System    | x264                              | 0.155svn20190201-lp150.2.3          | x86_64
i+ | @System    | x265                              | 3.2-lp150.1.3                       | x86_64
i+ | @System    | xvid4conf                         | 1.13-lp150.1.2                      | x86_64
i+ | @System    | xvidcore                          | 1.3.5-lp150.2.9                     | x86_64

NEXT: rpmconfigcheck


/etc/X11/xdm/xdm-config.rpmsave
/etc/cups/cups-browsed.conf.rpmnew
/etc/cups/cupsd.conf.rpmnew
/etc/default/grub.rpmnew
/etc/filesystems.rpmnew
/etc/fonts/conf.d/10-rendering-options.conf.rpmsave
/etc/fonts/conf.d/58-family-prefer-local.conf.rpmsave
/etc/hostname.rpmnew
/etc/hosts.rpmnew
/etc/iscsi/iscsid.conf.rpmnew
/etc/nsswitch.conf.rpmnew
/etc/ntp.conf.rpmnew
/etc/pam.d/common-account.rpmnew
/etc/pam.d/common-auth.rpmnew
/etc/pam.d/common-password.rpmnew
/etc/pam.d/common-session.rpmnew
/etc/plymouth/plymouthd.conf.rpmnew
/etc/postfix/main.cf.rpmnew
/etc/postfix/master.cf.rpmnew
/etc/sddm.conf.rpmnew
/etc/sysconfig/SuSEfirewall2.rpmnew
/etc/xdg/kickoffrc.rpmsave
/usr/share/info/dir.rpmnew

RPM verify


/etc/X11/xdm/xdm-config.rpmsave
/etc/cups/cups-browsed.conf.rpmnew
/etc/cups/cupsd.conf.rpmnew
/etc/default/grub.rpmnew
/etc/filesystems.rpmnew
/etc/fonts/conf.d/10-rendering-options.conf.rpmsave
/etc/fonts/conf.d/58-family-prefer-local.conf.rpmsave
/etc/hostname.rpmnew
/etc/hosts.rpmnew
/etc/iscsi/iscsid.conf.rpmnew
/etc/nsswitch.conf.rpmnew
/etc/ntp.conf.rpmnew
/etc/pam.d/common-account.rpmnew
/etc/pam.d/common-auth.rpmnew
/etc/pam.d/common-password.rpmnew
/etc/pam.d/common-session.rpmnew
/etc/plymouth/plymouthd.conf.rpmnew
/etc/postfix/main.cf.rpmnew
/etc/postfix/master.cf.rpmnew
/etc/sddm.conf.rpmnew
/etc/sysconfig/SuSEfirewall2.rpmnew
/etc/xdg/kickoffrc.rpmsave
/usr/share/info/dir.rpmnew

Finally the orphans:




S  | Repository | Name                              | Version                             | Arch  
---+------------+-----------------------------------+-------------------------------------+-------
i+ | @System    | MPlayer                           | 1.2.r38117-lp150.2.4                | x86_64
i+ | @System    | aften                             | 0.0.8.git20110104-lp150.1.12        | x86_64
i+ | @System    | asunder                           | 2.9.3-lp150.1.10                    | x86_64
i+ | @System    | cndrvcups-common                  | 3.71-1                              | x86_64
i+ | @System    | cndrvcups-ufr2-us                 | 3.31-1                              | x86_64
i+ | @System    | dcaenc                            | 2-lp150.2.11                        | x86_64
i+ | @System    | faac                              | 1.29.9.2-lp150.2.12                 | x86_64
i+ | @System    | flash-player                      | 32.0.0.270-lp150.1.1                | x86_64
i+ | @System    | flash-player-ppapi                | 32.0.0.270-lp150.1.1                | x86_64
i+ | @System    | flash-plugin                      | 32.0.0.314-release                  | x86_64
i+ | @System    | google-chrome-stable              | 79.0.3945.130-1                     | x86_64
i+ | @System    | gpac                              | 0.8.0-lp150.1.3                     | x86_64
i+ | @System    | gstreamer-plugins-bad-orig-addon  | 1.12.5-lp150.6.6                    | x86_64
i+ | @System    | gstreamer-plugins-ugly-orig-addon | 1.12.5-lp150.2.9                    | x86_64
i+ | @System    | h264enc                           | 10.4.7-lp150.3.3                    | noarch
i+ | @System    | handbrake-gtk                     | 1.2.2-lp150.2.3                     | x86_64
i+ | @System    | libHalf12                         | 2.2.0-4.3                           | x86_64
i+ | @System    | libIex-2_2-12                     | 2.2.0-4.3                           | x86_64
i+ | @System    | libdca0                           | 0.0.6-lp150.2.8                     | x86_64
i+ | @System    | libdcaenc0                        | 2-lp150.2.11                        | x86_64
i+ | @System    | libde265-0                        | 1.0.3-lp150.1.8                     | x86_64
i+ | @System    | libdvdcss2                        | 1.4.2-lp150.1.1                     | x86_64
i+ | @System    | libdvdread3                       | 0.9.7-lp150.9.3                     | x86_64
i+ | @System    | libfaac0                          | 1.29.9.2-lp150.2.12                 | x86_64
i+ | @System    | libfaad2                          | 2.8.8-lp150.2.3                     | x86_64
i+ | @System    | libfdk-aac1                       | 0.1.6-lp150.2.6                     | x86_64
i+ | @System    | libgpac6                          | 0.6.1-10.3                          | x86_64
i+ | @System    | libgpac7                          | 0.7.1-lp150.1.9                     | x86_64
i+ | @System    | libgpac8                          | 0.8.0-lp150.1.3                     | x86_64
i+ | @System    | libmac2                           | 3.99_u4_b5_s7-lp150.5.3             | x86_64
i+ | @System    | libmovit7                         | 1.5.3-2.2                           | x86_64
i+ | @System    | libmozjs185-1_0                   | 1.8.5-lp150.19.6.3                  | x86_64
i+ | @System    | libopencore-amrnb0                | 0.1.5-lp150.1.12                    | x86_64
i+ | @System    | libopencore-amrwb0                | 0.1.5-lp150.1.12                    | x86_64
i+ | @System    | librtmp1                          | 2.4.20151223.fa8646d-lp150.1.15     | x86_64
i+ | @System    | librttr_core0_9_6                 | 0.9.6-lp150.5.2                     | x86_64
i+ | @System    | libvidstab0_9                     | 0.98b-2.3                           | x86_64
i+ | @System    | libvlc123                         | 4.0.0.20190401.fa1bf247e0-lp150.1.2 | x86_64
i+ | @System    | libvlc6                           | 3.0.0.20170804.9b202d9166-3.1       | x86_64
i+ | @System    | libvlccore123                     | 4.0.0.20190401.fa1bf247e0-lp150.1.2 | x86_64
i+ | @System    | libvo-aacenc0                     | 0.1.3-lp150.1.12                    | x86_64
i+ | @System    | libvo-amrwbenc0                   | 0.1.3-lp150.1.10                    | x86_64
i+ | @System    | libx264-148                       | 0.148svn20170816-1.3                | x86_64
i+ | @System    | libx264-152                       | 0.152svn20180305-5.1                | x86_64
i+ | @System    | libx264-155                       | 0.155svn20190201-lp150.2.3          | x86_64
i+ | @System    | libx265-110                       | 2.3-2.2                             | x86_64
i+ | @System    | libx265-116                       | 2.4-2.1                             | x86_64
i+ | @System    | libx265-130                       | 2.5-1.1                             | x86_64
i+ | @System    | libx265-146                       | 2.6-2.1                             | x86_64
i+ | @System    | libx265-151                       | 2.7-3.4                             | x86_64
i+ | @System    | libx265-165                       | 2.9-1.4                             | x86_64
i+ | @System    | libx265-169                       | 3.0-lp150.1.7                       | x86_64
i+ | @System    | libx265-176                       | 3.1.2-lp150.1.1                     | x86_64
i+ | @System    | libx265-179                       | 3.2-lp150.1.3                       | x86_64
i+ | @System    | libxine2-codecs                   | 1.2.9-lp150.149.6                   | x86_64
i+ | @System    | libxvidcore4                      | 1.3.5-lp150.2.9                     | x86_64
i+ | @System    | mac                               | 3.99_u4_b5_s7-lp150.5.3             | x86_64
i+ | @System    | normalize                         | 0.7.7-lp150.4.9                     | x86_64
i+ | @System    | openSUSE-release-dvd              | 15.1-lp151.298.1                    | x86_64
i+ | @System    | perl-Event-ExecFlow               | 0.64-lp150.7.3                      | noarch
i+ | @System    | perl-Gtk2-Ex-FormFactory          | 0.67-lp150.1.3                      | noarch
i+ | @System    | smplayer-skins                    | 15.2.0-lp150.1.1                    | noarch
i+ | @System    | subtitleripper                    | 0.3.4-lp150.4.9                     | x86_64
i+ | @System    | transcode                         | 1.1.7-lp150.8.3                     | x86_64
i+ | @System    | vobcopy                           | 1.2.0-lp150.3.11                    | x86_64
i+ | @System    | x264                              | 0.155svn20190201-lp150.2.3          | x86_64
i+ | @System    | x265                              | 3.2-lp150.1.3                       | x86_64
i+ | @System    | xvid4conf                         | 1.13-lp150.1.2                      | x86_64
i+ | @System    | xvidcore                          | 1.3.5-lp150.2.9                     | x86_64


I hope you see something useful in all of this. I don’t know what I’m looking for, but nothing obvious jumped out at me.

I never knew about the kmail folder backup. I will have to configure this and start using it.

Again thank you for the help,

Mark

@MarkNei:

“Orphans” are packages which no longer have an associated repository – the openSUSE repository or, the Pacman repository or, whatever …

  • Normally, you can simply delete those packages but, it’ll pay to execute “rpm --verify --all
    ” again to, pickup any missing files …

The application configuration files listed by “rpmconfigcheck” have to be carefully checked for differences:

  • Please be aware that, the configuration detailed in the “.rpmnew” files is, the configuration detail which the application currently
    requires – the previous configuration detail is history and, therefore, is only of historical interest …

The output of the “rpm --verify --all” shall be interpreted as follows:

   The format of the output is a string of 9 characters, a possible attribute marker:
   c %config configuration file.
   d %doc documentation file.
   g %ghost file (i.e. the file contents are not included in the package payload).
   l %license license file.
   r %readme readme file.
   from the package header, followed by the file name.  Each of the 9 characters denotes the result of a compari-
   son  of  attribute(s)  of  the file to the value of those attribute(s) recorded in the database.  A single "."
   (period) means the test passed, while a single "?" (question mark) indicates the test could not  be  performed
   (e.g. file permissions prevent reading). Otherwise, the (mnemonically emBoldened) character denotes failure of
   the corresponding --verify test:
   S file Size differs
   M Mode differs (includes permissions and file type)
   5 digest (formerly MD5 sum) differs
   D Device major/minor number mismatch
   L readLink(2) path mismatch
   U User ownership differs
   G Group ownership differs
   T mTime differs
   P caPabilities differ

There is an output which is not documented in the “man” page but, the sentence “Any discrepancies are displayed.” covers it:

  • If a file is missing then, text with the word “missing
    ” is displayed. - If missing files are noted then, find the associated package by means of “rpm --query --whatprovides «full, complete, including the path, file name»”.
  • Then, forcibly reinstall the affected package to re-install the missing file: “zypper install --force «Package Name»”.

I took a step backwards and recalled some things which may be helpful in diagnosing what is gong wrong.

This started when I got an e-mail from my e-mail provider that my account had been compromised and that i needed to change my password. I verified that this e-mail was legitimate. The only way to change my password was through their web interface, and so I used the web interface and changed the password. Since my normal e-mail interface is kmail, I then went back to kmail intending to change my password in kmail. Kmail is configured to log into this same email account of mine when I start kmail. From this point on, each time I start kmail it crashes. This sounds to me like I have identified a likely cause of the problem. Now, how to solve it? What do I have to do to change kmail’s configuration without logging into kmail (logging into kmail is impossible at this time)?

Thank you for any suggestions,

Mark

You’ll have to edit “~/.config/kmail2rc” – look for sections similar to “Resource akonadi_maildir_resource_0]” and “Resource akonadi_pop3_resource_0]” – if you’re using IMAP in place of POP3, then it’ll be an “imap” resource …

  • There’s a line in these sections beginning with “CheckOnStartup=” – change it to:
CheckOnStartup=false

Thanks for the easy to follow instructions, but it did not help. Still crashes before the login prompt appears. I put everything back the way it was. Back to the drawing board.

Mark

Are we talking about IMAP ( accounts ) ?

@MarkNei:

Before you start Kontact or KMail, open a Konsole CLI window and then:


 > akonadictl status
 > akonadictl fsck
 > akonadictl vacuum
 > akonadictl fsck

The Akonadi status should indicate that both “Akonadi Control” and “Akonadi Server” are ‘running’ – if they’re not, start Akonadi with “akonadictl start”.

Any Akonadi errors or warnings should be logged in “~/.local/share/sddm/xorg-session.log” and, possibly, in the systemd Journal.

No. All accounts are POP accounts.

Thank you,
Mark

Thank you.

Here is the output of $akonadictl status:


Akonadi Control: running
Akonadi Server: running
Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_facebook_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_invitations_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource

That looks good to me.

$akonadictl fsck generated so much output that I couldn’t capture it all. So here is a summary:

Many items in many collections have no RID.
3 items have no RID and “is dirty”

Then "checking search index consistensy:
each mail folder is checked. No errors reported.

Next the contents of ,local/share/sddm/xorg-session.log


gpg-connect-agent: no gpg-agent running in this session
gpg-connect-agent: no gpg-agent running in this session
startkde: Starting up...
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.InvalidArgs: Invalid environment assignments
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/akonadiconsole.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/akregator.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/disable_kmix.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/filepicker.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/fonts_akregator.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/fonts_global.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/fonts_global_toolbar.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/fonts_kate.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/gtkbreeze5.5.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/gwenview.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/importwizard.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kaddressbook.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kcalcrc.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kde4breeze.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kget.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kgthemeprovider-migration.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kleopatra.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kmail.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kmail2.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kmymoney.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/knotes.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kontact.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/konversation.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-account-kconf_update.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-gaim_to_pidgin_style.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-initialstatus.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-jabberpriorityaddition-kconf_update.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-jabberproxytype-kconf_update.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-nameTracking.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-pluginloader.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-pluginloader2.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-update_icq_server.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kopete-update_icq_ssl.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/korganizer.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/krdb_libpathwipe.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/krunnerplugins.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/kscreenlocker.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/messageviewer.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/okular.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/pimsettingexporter.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/sieveeditor.upd' for new updates
2020-03-02T06:34:21 Checking update-file '/usr/share/kconf_update/webengineurlinterceptoradblock.upd' for new updates
Could not open kgpg using a library: Cannot load library libkdeinit5_kgpg: (libkdeinit5_kgpg: cannot open shared object file: No such file or directory)
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce GTX 750/PCIe/SSE2
OpenGL version string:                  3.1.0 NVIDIA 430.34
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         430.34


I hope I didn’t miss anything.

Thank you for any suggestions,
Mark

Here is output from akonadictl vacuum


vacuuming database, that'll take some time and require a lot of temporary disk space...
optimizing table SchemaVersionTable...
optimizing table ResourceTable...
optimizing table CollectionTable...
optimizing table MimeTypeTable...
optimizing table PimItemTable...
optimizing table FlagTable...
optimizing table PartTypeTable...
optimizing table PartTable...
optimizing table CollectionAttributeTable...
optimizing table TagTypeTable...
optimizing table TagTable...
optimizing table TagAttributeTable...
optimizing table TagRemoteIdResourceRelationTable...
optimizing table RelationTypeTable...
optimizing table RelationTable...
optimizing table PimItemFlagRelation...
optimizing table PimItemTagRelation...
optimizing table CollectionMimeTypeRelation...
optimizing table CollectionPimItemRelation...
vacuum done


running akonadictl fsck again showed no changes that jumped off the page at me.

Thank you,
Mark

@MarkNei:

Does KMail still crash?

Yes, kmail still crashes.

Thanks,
Mark

Please show us your repos:


zypper lr -d

REPOs:


---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-15.1-1      | openSUSE-Leap-15.1-1               | No      | ----      | ----    |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/ata-ATAPI_iHAS124_B_3524215_3E8112503929    |        
 2 | repo-debug                | Debug Repository                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/      |        
 3 | repo-debug-non-oss        | Debug Repository (Non-OSS)         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/  |        
 4 | repo-debug-update         | Update Repository (Debug)          | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/oss/                 |        
 5 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/non-oss/             |        
 6 | repo-non-oss              | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/        |        
 7 | repo-oss                  | Main Repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/            |        
 8 | repo-source               | Source Repository                  | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/     |        
 9 | repo-source-non-oss       | Source Repository (Non-OSS)        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/ |        
10 | repo-update               | Main Update Repository             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss                        |        
11 | repo-update-non-oss       | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss