Debian Bug report logs - #861960
kmail fatal startup error "Invalid parent"

version graph

Package: kmail; Maintainer for kmail is Debian Qt/KDE Maintainers <[email protected]>; Source for kmail is src:kmail (PTS, buildd, popcon).

Reported by: Thomas Koch <[email protected]>

Date: Sat, 6 May 2017 13:57:01 UTC

Severity: important

Tags: fixed-upstream

Found in versions kdepim/4:16.04.3-3, kmail/4:18.08.3-1

Forwarded to https://bugs.kde.org/show_bug.cgi?id=380171

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Debian/Kubuntu Qt/KDE Maintainers <[email protected]>:
Bug#861960; Package kmail. (Sat, 06 May 2017 13:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Thomas Koch <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Debian/Kubuntu Qt/KDE Maintainers <[email protected]>. (Sat, 06 May 2017 13:57:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Thomas Koch <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: kmail fatal startup error "Invalid parent"
Date: Sat, 06 May 2017 15:55:34 +0200
[Message part 1 (text/plain, inline)]
Package: kmail
Version: 4:16.04.3-3
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

   * What led up to the situation?
fresh install of debian testing (stretch) and kmail
first start of kmail gives window with fatal error (see screenshot)
and error message "Invalid parent" in attached file session-errors.gz:

akonadicore_log: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"
log_mailcommon: "The Email program encountered a fatal error and will terminate now.\nThe error was:\nInvalid parent"


- -- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kmail depends on:
ii  akonadi-server               4:16.04.3-4
ii  kdepim-runtime               4:16.04.2-2+b2
ii  kdepimlibs-data              4:16.04.2-2
ii  kf5-kdepimlibs-kio-plugins   4:16.04.2-2
ii  kio                          5.28.0-2
ii  libc6                        2.24-10
ii  libgcc1                      1:6.3.0-14
ii  libkf5akonadiagentbase5      4:16.04.3-4
ii  libkf5akonadicalendar5       16.04.2-2
ii  libkf5akonadicontact5        4:16.04.2-2
ii  libkf5akonadicore5           4:16.04.3-4
ii  libkf5akonadimime5           4:16.04.2-2
ii  libkf5akonadisearch-plugins  16.04.3-1+b2
ii  libkf5akonadisearchdebug5    16.04.3-1+b2
ii  libkf5akonadiwidgets5        4:16.04.3-4
ii  libkf5alarmcalendar5         16.04.2-2
ii  libkf5archive5               5.28.0-2
ii  libkf5bookmarks5             5.28.0-1
ii  libkf5calendarcore5          4:16.04.2-1
ii  libkf5calendarsupport5       4:16.04.2-2
ii  libkf5calendarutils5         16.04.3-1
ii  libkf5codecs5                5.28.0-1+b2
ii  libkf5completion5            5.28.0-1
ii  libkf5configcore5            5.28.0-2
ii  libkf5configgui5             5.28.0-2
ii  libkf5configwidgets5         5.28.0-2
ii  libkf5contacts5              16.04.2-1
ii  libkf5coreaddons5            5.28.0-2
ii  libkf5crash5                 5.28.0-1
ii  libkf5dbusaddons5            5.28.0-1
ii  libkf5followupreminder5      4:16.04.2-2
ii  libkf5gpgmepp-pthread5       16.04.3-2+b2
ii  libkf5gravatar5              4:16.04.2-2
ii  libkf5guiaddons5             5.28.0-1
ii  libkf5i18n5                  5.28.0-2
ii  libkf5iconthemes5            5.28.0-2
ii  libkf5identitymanagement5    16.04.2-1
ii  libkf5incidenceeditor-bin    16.04.2-2+b2
ii  libkf5incidenceeditor5       16.04.2-2+b2
ii  libkf5itemmodels5            5.28.0-2
ii  libkf5itemviews5             5.28.0-1
ii  libkf5jobwidgets5            5.28.0-2
ii  libkf5kcmutils5              5.28.0-2
ii  libkf5kdelibs4support5       5.28.0-1
ii  libkf5kiocore5               5.28.0-2
ii  libkf5kiofilewidgets5        5.28.0-2
ii  libkf5kiowidgets5            5.28.0-2
ii  libkf5kmanagesieve5          4:16.04.3-2+b2
ii  libkf5kontactinterface5      16.04.2-1
ii  libkf5ksieveui5              4:16.04.3-2+b2
ii  libkf5libkdepim-plugins      4:16.04.2-3
ii  libkf5libkdepim5             4:16.04.2-3
ii  libkf5libkleo5               4:16.04.2-1
ii  libkf5mailcommon-plugins     4:16.04.2-2
ii  libkf5mailcommon5            4:16.04.2-2
ii  libkf5mailimporter5          4:16.04.2-2
ii  libkf5mailtransport5         16.04.2-3
ii  libkf5messagecomposer5       4:16.04.3-2
ii  libkf5messagecore5           4:16.04.3-2
ii  libkf5messagelist5           4:16.04.3-2
ii  libkf5messageviewer5         4:16.04.3-2
ii  libkf5mime5                  16.04.2-1
ii  libkf5notifications5         5.28.0-1
ii  libkf5notifyconfig5          5.28.0-1
ii  libkf5parts5                 5.28.0-1
ii  libkf5pimcommon-plugins      4:16.04.2-2
ii  libkf5pimcommon5             4:16.04.2-2
ii  libkf5pimtextedit5           16.04.2-1
ii  libkf5sendlater5             4:16.04.2-2
ii  libkf5service-bin            5.28.0-1
ii  libkf5service5               5.28.0-1
ii  libkf5sonnetui5              5.28.0-2
ii  libkf5templateparser5        4:16.04.3-2
ii  libkf5textwidgets5           5.28.0-1
ii  libkf5wallet-bin             5.28.0-3
ii  libkf5wallet5                5.28.0-3
ii  libkf5widgetsaddons5         5.28.0-2
ii  libkf5windowsystem5          5.28.0-2
ii  libkf5xmlgui5                5.28.0-1
ii  libqt5core5a                 5.7.1+dfsg-3+b1
ii  libqt5dbus5                  5.7.1+dfsg-3+b1
ii  libqt5gui5                   5.7.1+dfsg-3+b1
ii  libqt5network5               5.7.1+dfsg-3+b1
ii  libqt5widgets5               5.7.1+dfsg-3+b1
ii  libqt5xml5                   5.7.1+dfsg-3+b1
ii  libstdc++6                   6.3.0-14

Versions of packages kmail recommends:
ii  accountwizard                   4:16.04.3-3
ii  gnupg-agent                     2.1.18-6
ii  gnupg2                          2.1.18-6
ii  kdepim-addons                   16.04.3-1
ii  kdepim-doc                      4:16.04.3-3
ii  kdepim-themeeditors             4:16.04.3-3
ii  ktnef                           4:16.04.3-3
ii  pinentry-gnome3 [pinentry-x11]  1.0.0-2

Versions of packages kmail suggests:
pn  clamav                                                     <none>
pn  kaddressbook                                               <none>
pn  kleopatra                                                  <none>
pn  procmail                                                   <none>
pn  spamassassin | bogofilter | spambayes | bsfilter | crm114  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJZDdXRAAoJEAf8SJEEK6Za1KAQAMKzzjFs95NNckSBzEo0QFrd
u7tRcx582fB9EnFJjHYabZR46TBO7w6JIpZGIXFey428vrTF5LRiJF8dK0/WAtNe
5zBJjavlBaWuA51URXP+25yQjZzbtJ/at/1m1cLx4BQLUY5RKtkEEIGlPUFzBUB6
9YwTZ+ow0e3f7qDdBXcuHL3yTD5xK987Usazlr6j4Alw6HiAR4M5phIHyO8/rORK
vWciDleBDw+Kg807KCAXbtbdWNFiK6X4UCMzgwrif0JJXM9MltsjxFmBxKShZRHZ
f4FPnSj/m7ywjnxqqYTwMSGUjeJjHd6N7ZfBSYr30upl/ZivlQiuBJpywd7fDUDB
s37kszh1XqhPgtEb0Big+6i+ERP2zw2053LI8NZmWYlYFRcPiNSUl7TDbb9u7Qee
EIPZ7+sZR3dJSutraOjpjhI2MzvACqPWFZNrOn8TmkIfzq/8X7n4a49XXpit3l1l
c86dO0BGIsf0Nxfo6g0a9D1sSgkYSr2sfsKN7NK0knn18N5OQ2cr2gXyI/94eE9L
+1uyg/pUqVSSHKtYql7cyvfbVwFS1g5JY1VIpAQFxbmA5t6/mvaEr3cY23Xr8Jr5
REdDfftHHj2GyFaXx9pA2CTYMIa0RgOudb+M0biEVCb1yeNI/2SLsLWzFuJE5j73
C5tc9yBnO3bRD8ubnY1v
=iZ/M
-----END PGP SIGNATURE-----
[xsession-errors.gz (application/gzip, attachment)]
[kmail_error_invalid_parent.png (image/png, attachment)]

Information forwarded to [email protected], Debian/Kubuntu Qt/KDE Maintainers <[email protected]>:
Bug#861960; Package kmail. (Sat, 06 May 2017 14:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <[email protected]>.

Your message did not contain a Subject field. They are recommended and useful because the title of a Bug is determined using this field. Please remember to include a Subject field in your messages in future.

(Sat, 06 May 2017 14:09:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Thomas Koch <[email protected]>
To: [email protected]
Date: Sat, 06 May 2017 16:07:21 +0200
just for completeness. Starting kmail again does not show the error message 
again. So this is just a very intimidating first user experience but nothing 
that a user can not work around.



Information forwarded to [email protected], [email protected], Debian/Kubuntu Qt/KDE Maintainers <[email protected]>:
Bug#861960; Package kmail. (Thu, 07 Mar 2019 07:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Nazar Zhuk <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected], Debian/Kubuntu Qt/KDE Maintainers <[email protected]>. (Thu, 07 Mar 2019 07:03:03 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Nazar Zhuk <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: kmail fatal startup error "Invalid parent"
Date: Thu, 07 Mar 2019 00:59:30 -0600
Package: kmail
Version: 4:18.08.3-1
Followup-For: Bug #861960

This is still happening on a fresh install of buster from Buster Alpha 5
installer. When I opened KMail for the first time, I received the same
error as originally reported:

  The Email program encountered a fatal error and will terminate now.
  The error was:
  Invalid parent
   
After the first time, KMail opens normally. I attempted the following to
reproduce on subsequent launches but was not successful:

- stopped akonadi
- deleted:
    ~/.cache
    ~/.config/akonadi*
    ~/.config/kmail*
    ~/.local/share/akonadi*
    ~/.local/share/kmail*

--
Nazar


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kmail depends on:
ii  akonadi-server               4:18.08.3-4
ii  kdepim-runtime               4:18.08.3-1
ii  kio                          5.54.1-1
ii  libc6                        2.28-7
ii  libgcc1                      1:8.2.0-21
ii  libgpgmepp6                  1.12.0-6
ii  libkf5akonadiagentbase5      4:18.08.3-4
ii  libkf5akonadicontact5        4:18.08.3-1
ii  libkf5akonadicore5abi2       4:18.08.3-4
ii  libkf5akonadimime5           4:18.08.3-1
ii  libkf5akonadisearch-bin      4:18.08.3-1
ii  libkf5akonadisearch-plugins  4:18.08.3-1
ii  libkf5akonadisearchdebug5    4:18.08.3-1
ii  libkf5akonadisearchpim5      4:18.08.3-1
ii  libkf5akonadiwidgets5abi1    4:18.08.3-4
ii  libkf5bookmarks5             5.54.0-1
ii  libkf5calendarcore5abi2      4:18.08.3-1
ii  libkf5calendarutils5         4:18.08.3-2
ii  libkf5codecs5                5.54.0-1
ii  libkf5completion5            5.54.0-1
ii  libkf5configcore5            5.54.0-1
ii  libkf5configgui5             5.54.0-1
ii  libkf5configwidgets5         5.54.0-1
ii  libkf5contacts5              4:18.08.3-1
ii  libkf5coreaddons5            5.54.0-1
ii  libkf5crash5                 5.54.0-1
ii  libkf5dbusaddons5            5.54.0-1
ii  libkf5followupreminder5      4:18.08.3-2
ii  libkf5grantleetheme-plugins  18.08.3-1
ii  libkf5gravatar5abi2          4:18.08.3-1
ii  libkf5guiaddons5             5.54.0-1
ii  libkf5i18n5                  5.54.0-1
ii  libkf5iconthemes5            5.54.0-1
ii  libkf5identitymanagement5    18.08.3-2
ii  libkf5itemmodels5            5.54.0-1
ii  libkf5itemviews5             5.54.0-1
ii  libkf5jobwidgets5            5.54.0-1
ii  libkf5kcmutils5              5.54.0-1
ii  libkf5kiocore5               5.54.1-1
ii  libkf5kiofilewidgets5        5.54.1-1
ii  libkf5kiowidgets5            5.54.1-1
ii  libkf5kontactinterface5      18.08.3-1
ii  libkf5ksieveui5              4:18.08.3-2
ii  libkf5libkdepim-plugins      4:18.08.3-2
ii  libkf5libkdepim5             4:18.08.3-2
ii  libkf5libkdepimakonadi5      4:18.08.3-2
ii  libkf5libkleo5               4:18.08.3-2
ii  libkf5mailcommon5abi2        4:18.08.3-2
ii  libkf5mailtransport5         18.08.3-2
ii  libkf5mailtransportakonadi5  18.08.3-2
ii  libkf5messagecomposer5abi1   4:18.08.3-2
ii  libkf5messagecore5abi1       4:18.08.3-2
ii  libkf5messagelist5abi1       4:18.08.3-2
ii  libkf5messageviewer5abi1     4:18.08.3-2
ii  libkf5mime5abi1              18.08.3-1
ii  libkf5mimetreeparser5abi1    4:18.08.3-2
ii  libkf5notifications5         5.54.0-1
ii  libkf5notifyconfig5          5.54.0-1
ii  libkf5parts5                 5.54.0-1
ii  libkf5pimcommon5abi2         4:18.08.3-2
ii  libkf5pimcommonakonadi5abi1  4:18.08.3-2
ii  libkf5pimtextedit5abi2       18.08.3-1
ii  libkf5sendlater5             4:18.08.3-2
ii  libkf5service-bin            5.54.0-1
ii  libkf5service5               5.54.0-1
ii  libkf5sonnetui5              5.54.0-1
ii  libkf5templateparser5        4:18.08.3-2
ii  libkf5textwidgets5           5.54.0-1
ii  libkf5tnef5                  4:18.08.3-1
ii  libkf5wallet-bin             5.54.0-1
ii  libkf5wallet5                5.54.0-1
ii  libkf5webengineviewer5abi1   4:18.08.3-2
ii  libkf5widgetsaddons5         5.54.0-1
ii  libkf5windowsystem5          5.54.0-1
ii  libkf5xmlgui5                5.54.0-1
ii  libqgpgme7                   1.12.0-6
ii  libqt5core5a                 5.11.3+dfsg-5
ii  libqt5dbus5                  5.11.3+dfsg-5
ii  libqt5gui5                   5.11.3+dfsg-5
ii  libqt5network5               5.11.3+dfsg-5
ii  libqt5widgets5               5.11.3+dfsg-5
ii  libqt5xml5                   5.11.3+dfsg-5
ii  libstdc++6                   8.2.0-21

Versions of packages kmail recommends:
ii  accountwizard               4:18.08.3-1
ii  gnupg                       2.2.12-1
ii  kdepim-addons               18.08.1-1
ii  kdepim-themeeditors         4:18.08.3-1
ii  mbox-importer               4:18.08.3-1
ii  pim-data-exporter           4:18.08.3-1
ii  pim-sieve-editor            4:18.08.3-1
ii  pinentry-qt [pinentry-x11]  1.1.0-1+b1

Versions of packages kmail suggests:
pn  clamav                                                     <none>
ii  kaddressbook                                               4:18.08.3-1
pn  kleopatra                                                  <none>
pn  procmail                                                   <none>
pn  spamassassin | bogofilter | spambayes | bsfilter | crm114  <none>

-- no debconf information



Set Bug forwarded-to-address to 'https://bugs.kde.org/show_bug.cgi?id=380171'. Request was from Sandro Knauß <[email protected]> to [email protected]. (Fri, 15 Mar 2019 13:57:06 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian/Kubuntu Qt/KDE Maintainers <[email protected]>:
Bug#861960; Package kmail. (Wed, 27 Mar 2019 08:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Rik Mills <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <[email protected]>. (Wed, 27 Mar 2019 08:51:03 GMT) (full text, mbox, link).


Message #22 received at [email protected] (full text, mbox, reply):

From: Rik Mills <[email protected]>
To: [email protected]
Subject: Re: kmail fatal startup error "Invalid parent"
Date: Wed, 27 Mar 2019 08:50:12 +0000
On Thu, 07 Mar 2019 00:59:30 -0600 Nazar Zhuk <[email protected]> wrote:

> After the first time, KMail opens normally. I attempted the following to
> reproduce on subsequent launches but was not successful:
> 
> - stopped akonadi
> - deleted:
>     ~/.cache
>     ~/.config/akonadi*
>     ~/.config/kmail*
>     ~/.local/share/akonadi*
>     ~/.local/share/kmail*
> 
> --
> Nazar

You also need to remove:

~/.config/specialmailcollectionsrc

to reproduce.

If that files exists with the default content, then there is no startup
crash.



Added tag(s) fixed-upstream. Request was from [email protected] to [email protected]. (Thu, 27 Oct 2022 17:39:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:06:52 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.