https://bugs.kde.org/show_bug.cgi?id=526499
Bug ID: 526499
Summary: Kontact/Akonadi dbus race causes new local folder
creation on autostart
Classification: Applications
Product: kontact
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: mail
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Akonadi is dbus activated, kontact is on autostart. Logging in causes some kind
of race between kontact and akonadi resulting in the creation of new "local
folders".
`Sep 29 08:06:54 -- system boot --
Sep 29 08:07:27.976720 newara-pc akonadi_control[4428]: Akonadi server is now
operational.
Sep 29 08:08:17.839369 newara-pc akonadi_control[4428]: Agent instance
(agentInstanceAccountId) "akonadi_maildir_resource_23" has no agent account
interface.
#repeated 15x ish
Sep 29 08:08:18.499926 newara-pc akonadi_control[4428]: Agent instance
(agentInstanceAccountId) "akonadi_maildir_resource_24" has no agent account
interface.
#"akonadi_maildir_resource_24" repeated ~18x ish then just creates a new
dupe as a fail condition
Sep 29 08:08:18.793081 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.796377 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.799655 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.802784 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.805616 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.808101 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.821399 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.826848 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.830811 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.833848 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.836683 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"
Sep 29 08:08:18.840065 newara-pc kontact[4835]: Resource id's don't match:
"akonadi_maildir_resource_24" "akonadi_maildir_resource_23"`
I'm not a coder I did use AI to debug this I don't think thew solution I
reached is conclusive. This really affects KDE desktop load time because if
kontact is on startup while it's in that loop the rest of KDE just doesn't load
at all adding around 30-40s where I don't even see my desktop. This could be an
autostart ordering thing but I doubt it, akonadi is started with anything that
uses it like kontact. Seems like it's just a race like akonadi/kontact hasn't
had enough time to link to the resources.
STEPS TO REPRODUCE
1. Install Kontact native, akonadi, kalarm (using gmail if that makes any
difference)
2. Add kontact to autostart.
3. Boot pc.
OBSERVED RESULT
Desktop will do all autostart things, let me open terminals etc but litwerally
won't start KDE desktop environment until akonadi+kontact has stopped pooping
itself. Takes about 30s for my actual background and panels to pop in.
EXPECTED RESULT
Everything boots normally and akonadi/kontact finds whatever it's looking for
and doesn't eat a whole core on startup looking for then making a new directory
because it can't find the one it made last time.
SOFTWARE/OS VERSIONS
Operating System: Nobara Linux 44
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1
Kernel Version: 7.2.0-202.nobara.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X3D 8-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: AMD Radeon RX 6700 XT
ADDITIONAL INFORMATION
I fixed it with claude, I can provide the fix if you want but I'm sure you know
a lot more than me.
--
You are receiving this mail because:
You are watching all bug changes.