[ksplash] [Bug 405444] New: ksplashqml hits its hard timeout of 30 seconds because of failing qdbus call kinit
Bernhard Übelacker
bugzilla_noreply at kde.org
Wed Mar 13 18:23:14 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=405444
Bug ID: 405444
Summary: ksplashqml hits its hard timeout of 30 seconds because
of failing qdbus call kinit
Product: ksplash
Version: 5.14.5
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: bernhardu at mailbox.org
Target Milestone: ---
Created attachment 118780
--> https://bugs.kde.org/attachment.cgi?id=118780&action=edit
ksplashqml: Retry in start script if dbus interface is not yet up.
When /usr/bin/startkde starts it first executes ksplashqml around line 134.
Later around line 297 is a call "qdbus ... kinit" to increase the
stage in ksplashqml.
Unfortunately it looks like on fast enough systems the qdbus call is faster
reached as ksplashqml has opened the dbus interface.
This results in the message in .xsession-errors:
Cannot find 'org.kde.KSplash.setStage' in object /KSplash at
org.kde.KSplash
Therefore ksplashqml seems to never reach setStage(6) to finish
its execution and therefore runs into the hard limit of 30 seconds.
Attached patch tries to retry the qdus call when it returns not success.
Unfortunately the overhead of the loop might be already enough to have
the dbus interface already up, because I did never see the logging when
doing a retry.
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.14.5
Qt Version: 5.11.3
KDE Frameworks Version: 5.54.0
Kernel Version: 4.19.0-2-amd64
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 1700 Eight-Core Processor
Memory: 15.5 GiB of RAM
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list