[kaddressbook] [Bug 395067] New: KAddressbook crashes when editing distribution group with missing contact

andrew brewster bugzilla_noreply at kde.org
Tue Jun 5 22:30:25 BST 2018


https://bugs.kde.org/show_bug.cgi?id=395067

            Bug ID: 395067
           Summary: KAddressbook crashes when editing distribution group
                    with missing contact
           Product: kaddressbook
           Version: 5.7.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: ab.kde at ntlworld.com
                CC: tokoe at kde.org
  Target Milestone: ---

When you try to edit a distribution group that contains a reference to a
contact that is no longer available, KAddressbook crashes. Example trace
starting KAddressbook from the command line below after removing an number of
old contacts from a folder, then trying to edit two groups stored in the same
folder that used to contain the contacts

kaddressbook
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2101, resource id:
37749048, major code: 40 (TranslateCoords), minor code: 0
org.kde.pim.akonadicontact: Contact for Akonadi item 20 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 19 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 22 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 4396 does not exist
anymore!
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested:
sp(0)<KContacts::Addressee>; present: sp(0)<KContacts::ContactGroup>
Aborted (core dumped)

kaddressbook
org.kde.pim.akonadicontact: Contact for Akonadi item 20 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 19 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 22 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 4396 does not exist
anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 20 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 4396 does not exist
anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 4313 does not exist
anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 19 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 22 does not exist anymore!
org.kde.pim.akonadicontact: Contact for Akonadi item 4313 does not exist
anymore!
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1959, resource id:
37749063, major code: 40 (TranslateCoords), minor code: 0
org.kde.pim.akonadicontact: Contact for Akonadi item 4313 does not exist
anymore!
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested:
sp(0)<KContacts::Addressee>; present: sp(2)<KMime::Message*>
Aborted (core dumped)

This may be new behaviour in the 5.7 branch; previously the group was shown
with an error symbol where the missing contact used to be, and it could be
removed from the group without a problem.

rpm -qi kaddressbook
Name        : kaddressbook
Epoch       : 2
Version     : 17.12.2
Release     : 1.mga6
Architecture: x86_64
Install Date: Wed 16 May 2018 20:56:40 BST
Group       : Graphical desktop/KDE
Size        : 881272
License     : GPLv2
Signature   : RSA/SHA1, Thu 22 Feb 2018 14:30:41 GMT, Key ID b742fa8b80420f66
Source RPM  : kaddressbook-17.12.2-1.mga6.src.rpm
Build Date  : Thu 22 Feb 2018 14:14:06 GMT
Build Host  : localhost
Relocations : (not relocatable)
Packager    : neoclust <neoclust>
Vendor      : Mageia.Org
URL         : http://utils.kde.org/projects/kdepim
Summary     : Address Book application to manage your contacts
Description :
KAddressBook stores all the personal details of your family, friends and other
contacts.

Features:
    - Imports and exports to nearly every address book standard
    - Reads .vcf format files, and can import and export vCards and csv format
      files
    - Can use multiple LDAPservers
    - Configurable filters and powerful search capabilities
    - Integrates with other Kontact components, e.g. exporting Birthday
      reminders to KOrganizer
    - Capable of groupware integration
    - Powered by Akonadi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list