Summary: | SIGSEGV in Akonadi::Tag::isValid() crashing KAddressbook on startup with configured CardDav, or KOrganizer on event edition (or creation) or access to settings | ||
---|---|---|---|
Product: | [Applications] kaddressbook | Reporter: | Volker <volker.groll> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | chealer, Claude.Frantz, fhenry, gs151, hanspeterg, hg7, ilpo, kbarcza, mail, odysseus24, tbgunoi, tokoe, user1967, versuemer |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/akonadi/88c31eb55116297e8faf248c81122e3d0af6e97b | Version Fixed In: | 5.3.0 |
Sentry Crash Report: |
Description
Volker
2016-07-21 12:41:05 UTC
From Maximiliano Curia I got the following hint:
> Looking at the code, my bet is that changing akonadi's src/core/models/tagmodel_p.cpp
> the function Tag TagModelPrivate::tagForIndex line 106:
> return children.at(index.row());
> for:
> return children.value(index.row());
Greetings volker
Git commit 88c31eb55116297e8faf248c81122e3d0af6e97b by Montel Laurent. Committed on 22/07/2016 at 05:50. Pushed by mlaurent into branch 'Applications/16.08'. Fix Bug 365944 - KAddressbook crashes on startup with configured CardDav Apply patch from comment in this BR. I can't reproduce bug but value() will not assert as at(...) FIXED-IN: 5.3.0 M +1 -1 src/core/models/tagmodel_p.cpp http://commits.kde.org/akonadi/88c31eb55116297e8faf248c81122e3d0af6e97b *** Bug 366790 has been marked as a duplicate of this bug. *** *** Bug 361652 has been marked as a duplicate of this bug. *** *** Bug 366373 has been marked as a duplicate of this bug. *** *** Bug 357228 has been marked as a duplicate of this bug. *** *** Bug 366304 has been marked as a duplicate of this bug. *** *** Bug 365983 has been marked as a duplicate of this bug. *** *** Bug 361651 has been marked as a duplicate of this bug. *** *** Bug 360746 has been marked as a duplicate of this bug. *** *** Bug 362150 has been marked as a duplicate of this bug. *** *** Bug 367749 has been marked as a duplicate of this bug. *** *** Bug 369071 has been marked as a duplicate of this bug. *** *** Bug 369070 has been marked as a duplicate of this bug. *** *** Bug 370402 has been marked as a duplicate of this bug. *** *** Bug 369616 has been marked as a duplicate of this bug. *** *** Bug 365800 has been marked as a duplicate of this bug. *** *** Bug 372711 has been marked as a duplicate of this bug. *** *** Bug 374333 has been marked as a duplicate of this bug. *** *** Bug 372782 has been marked as a duplicate of this bug. *** I tried again to solve kaddressbook crash. At last I deleted all contacts. But kaddressbook crashed again: KTranscript: Loaded module: /usr/share/locale/fi/LC_SCRIPTS/ki18n5/ki18n5.js "Interpolation {$[gen %1]} in {$[gen %1] &asetukset...} failed: Non-string return value: undefined" "Interpolation {$[gen %1]} in {$[gen %1] käyttö&ohj...} failed: Non-string return value: undefined" "Interpolation {$[elat %1]} in {&Tietoa $[yleisnimi_...} failed: Non-string return value: undefined" "KAddressBook::GlobalContactSession" (In reply to Ilpo Kantonen from comment #21) > I tried again to solve kaddressbook crash. At last I deleted all contacts. > But kaddressbook crashed again: > > KTranscript: Loaded module: /usr/share/locale/fi/LC_SCRIPTS/ki18n5/ki18n5.js > "Interpolation {$[gen %1]} in {$[gen %1] &asetukset...} failed: Non-string > return value: undefined" > "Interpolation {$[gen %1]} in {$[gen %1] käyttö&ohj...} failed: Non-string > return value: undefined" > "Interpolation {$[elat %1]} in {&Tietoa $[yleisnimi_...} failed: Non-string > return value: undefined" > "KAddressBook::GlobalContactSession" The whole console log: $ kaddressbook () "" connectToServer "/tmp/akonadi-ilpo.8zwddF/akonadiserver.socket" "/subscriber/kaddressbook_17791_E2SHkK" connectToServer "/tmp/akonadi-ilpo.8zwddF/akonadiserver.socket" "/subscriber/kaddressbook_17791_lp1Bap" connectToServer "/tmp/akonadi-ilpo.8zwddF/akonadiserver.socket" "/subscriber/kaddressbook_17791_7YZEBe" connectToServer "/tmp/akonadi-ilpo.8zwddF/akonadiserver.socket" KTranscript: Loaded property map: /usr/share/locale/fi/LC_SCRIPTS/ki18n5/general.pmapc KTranscript: Loaded module: /usr/share/locale/fi/LC_SCRIPTS/ki18n5/ki18n5.js "Interpolation {$[gen %1]} in {$[gen %1] &asetukset...} failed: Non-string return value: undefined" "Interpolation {$[gen %1]} in {$[gen %1] käyttö&ohj...} failed: Non-string return value: undefined" "Interpolation {$[elat %1]} in {&Tietoa $[yleisnimi_...} failed: Non-string return value: undefined" "KAddressBook::GlobalContactSession" connectToServer "/tmp/akonadi-ilpo.8zwddF/akonadiserver.socket" "/subscriber/kaddressbook_17791_RkJLm7" connectToServer "/tmp/akonadi-ilpo.8zwddF/akonadiserver.socket" done Connected to "Akonadi" , using protocol version 52 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 52 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 52 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 52 Server says: "Not Really IMAP server" Connected to "Akonadi" , using protocol version 52 Server says: "Not Really IMAP server" org.kde.akonadi.ETM: GEN true false true org.kde.akonadi.ETM: collection: QVector() Connected to "Akonadi" , using protocol version 52 Server says: "Not Really IMAP server" KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kaddressbook path = /usr/bin pid = 17791 KCrash: Arguments: /usr/bin/kaddressbook KCrash: Attempting to start /usr/lib/i386-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 [1]+ Pysäytetty kaddressbook ilpo@ilpow:~/.local/share/contacts$ QSocketNotifier: Invalid socket 15 and type 'Read', disabling... QSocketNotifier: Invalid socket 17 and type 'Read', disabling... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 13 and type 'Read', disabling... QSocketNotifier: Invalid socket 24 and type 'Read', disabling... QSocketNotifier: Invalid socket 26 and type 'Read', disabling... [1]+ Poistui 253 kaddressbook $ *** Bug 382635 has been marked as a duplicate of this bug. *** *** Bug 387769 has been marked as a duplicate of this bug. *** This is not specific to CardDav, nor just about startup crashes. Please retitle accordingly. Because it's unclear to me: Do You expect me to change the title of the (resolved) bug report? To what it should be changed? I reported this crash 2 years ago, my actual system is working, so what to do?? Greetings, volker Volker, the change is already done. Sorry I fixed this for Debian 9's akonadi 4:16.04.3-4. I replaced all 7 binary packages built from that source which I had installed with the new ones with this command: # dpkg -i akonadi-backend-mysql_16.04.3-4.0.1_all.deb akonadi-server_16.04.3-4.0.1_i386.deb libkf5akonadiagentbase5_16.04.3-4.0.1_i386.deb libkf5akonadicore5_16.04.3-4.0.1_i386.deb libkf5akonadiprivate5_16.04.3-4.0.1_i386.deb libkf5akonadiwidgets5_16.04.3-4.0.1_i386.deb I assume that only one of these is necessary (probably libkf5akonadicore5), but I didn't test. If anyone wants to confirm, that would be appreciated. I packaged the binary packages in https://drive.google.com/file/d/1NSq_CGjxUS0Vh00c1Lg4xkUmDBBPRhzv/view I see. Thanks a lot for your work. I'm actually on debian sid with 4:17.12 and have actual no hurting problems. Unfortunately I have no system with the old versions running for test. Greetings, volker I must say I've had several issues with KOrganizer even with the packages I rebuilt. A few crashes and an empty calendar once, as if there's still something which KOrganizer doesn't quite like. But it's not blocking me. |