Discussion:
[frameworks-kservice] [Bug 352787] New: KService rebuild ksycoca5 every several seconds
Leslie Zhai
2015-09-16 09:34:17 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Bug ID: 352787
Summary: KService rebuild ksycoca5 every several seconds
Product: frameworks-kservice
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: ***@kde.org
Reporter: ***@gmail.com
CC: kdelibs-***@kde.org

1. login into plasmashell
2. plasma-desktop and plasma-workspace freeze
3. switch to tty2, inotifywait $HOME/.cache, ksycoca5.* regenerate every
several seconds

KF5 V5.4.1 components

Reproducible: Always
--
You are receiving this mail because:
You are watching all bug changes.
David Faure
2015-09-16 19:58:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #1 from David Faure <***@kde.org> ---
Ouch.

I'm about to make a 5.14.1 release of KService with this patch added, does it
fix your problem?

http://www.davidfaure.fr/2015/revert_format_change.diff
(for the kservice framework)

You wrote v5.4.1, I assume you meant 5.14.0?

If the patch doesn't help, can you try moving out the ksycoca5 file; does it
then recreate it correctly and stop regenerating it?
--
You are receiving this mail because:
You are watching all bug changes.
David Faure
2015-09-16 21:32:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #2 from David Faure <***@kde.org> ---
Hmm, seems to be another issue; I think I see what's happening...

KBuildSycoca::checkGlobalHeader -> KSycoca::readSycocaHeader ->
KSycocaPrivate::readSycocaHeader -> KSycocaPrivate::checkDatabase ->
KSycocaPrivate::checkDirectories -> KSycocaPrivate::buildSycoca, and there we
go again.....
--
You are receiving this mail because:
You are watching all bug changes.
David Faure
2015-09-16 21:44:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

David Faure <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/kser
| |vice/0a719bb93110d125adb021
| |8b3f9bfbe567851ae7
Status|UNCONFIRMED |RESOLVED

--- Comment #3 from David Faure <***@kde.org> ---
Git commit 0a719bb93110d125adb0218b3f9bfbe567851ae7 by David Faure.
Committed on 16/09/2015 at 21:42.
Pushed by dfaure into tag 'v5.14.2'.

KBuildSycoca: do not trigger a recreate from readSycocaHeader()

(which is itself called from kbuildsycoca)

M +1 -1 src/sycoca/ksycoca.cpp

http://commits.kde.org/kservice/0a719bb93110d125adb0218b3f9bfbe567851ae7
--
You are receiving this mail because:
You are watching all bug changes.
Hussam Al-Tayeb
2015-09-16 23:38:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Hussam Al-Tayeb <***@visp.net.lb> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@visp.net.lb

--- Comment #4 from Hussam Al-Tayeb <***@visp.net.lb> ---
Hi, I updated from kservice 5.14.0 to 5.14.2 and stuff in ~/.cache/ now keep
rebuilding every second.
I logged off and cleared ~/.cache and logged back in. It still rebuilds every
second.

I downgraded to 5.14.0, logged off, cleared ~/.cache and logged back in. It no
longer rebuilds every second.
--
You are receiving this mail because:
You are watching all bug changes.
Hussam Al-Tayeb
2015-09-16 23:40:25 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #5 from Hussam Al-Tayeb <***@visp.net.lb> ---
Basically 5.14.0 works but 5.14.2 is broken.
--
You are receiving this mail because:
You are watching all bug changes.
David Faure
2015-09-17 07:45:55 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #6 from David Faure <***@kde.org> ---
I don't follow; the bug report was for 5.14.0 in the first place....

If you upgrade again, is the problem still there?
--
You are receiving this mail because:
You are watching all bug changes.
Hussam Al-Tayeb
2015-09-17 07:47:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #7 from Hussam Al-Tayeb <***@visp.net.lb> ---
Yes, it does.
There is bug about it in the distribution I use as well
https://bugs.archlinux.org/task/46320
--
You are receiving this mail because:
You are watching all bug changes.
Antonio Rojas
2015-09-17 07:56:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Antonio Rojas <***@archlinux.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@archlinux.org
--
You are receiving this mail because:
You are watching all bug changes.
Leslie Zhai
2015-09-17 08:02:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Leslie Zhai <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #8 from Leslie Zhai <***@gmail.com> ---
(In reply to David Faure from comment #1)
Post by David Faure
Ouch.
I'm about to make a 5.14.1 release of KService with this patch added, does
it fix your problem?
http://www.davidfaure.fr/2015/revert_format_change.diff
(for the kservice framework)
You wrote v5.4.1, I assume you meant 5.14.0?
Sorry, typo ;P 5.14.0
rpm -q kf5-kservice
kf5-kservice-5.14.0-2.x86_64
Post by David Faure
If the patch doesn't help, can you try moving out the ksycoca5 file; does it
then recreate it correctly and stop regenerating it?
I git pull from ***@git.kde.org:kservice master branch, and I saw your commit
;-)
https://quickgit.kde.org/?p=kservice.git&a=commit&h=87e346092d7d50b25ef930bbdb2effe6d9a103e4

I developed a monkey patch for myself yesterday ;P to limit rebuild times when
checkTimestamps is not able to work correctly.


PS: I installed my Linux box in a future datetime, for example, 2025-09-16,
then I experienced such issue - every components of plasma-desktop and
workspace freeze~ today I rebuilt the latest git commit, it is OK now ;-)

Thank David`s cool job!

Regards,
Leslie Zhai - a KDE developer
--
You are receiving this mail because:
You are watching all bug changes.
Paolo Pedroni
2015-09-18 13:29:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Paolo Pedroni <***@iol.it> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@iol.it
--
You are receiving this mail because:
You are watching all bug changes.
Georg Lassnig
2015-09-19 04:08:48 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Georg Lassnig <***@e67-its.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@e67-its.de
--
You are receiving this mail because:
You are watching all bug changes.
Peer Frank
2015-09-19 07:05:49 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Peer Frank <***@web.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@web.de
--
You are receiving this mail because:
You are watching all bug changes.
Peer Frank
2015-09-19 07:14:21 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #9 from Peer Frank <***@web.de> ---
is kservice 5.14.2 available to the public ?
Is the bug related to setting time, apparently not many are affected?
--
You are receiving this mail because:
You are watching all bug changes.
David Faure
2015-09-20 09:36:18 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

--- Comment #10 from David Faure <***@kde.org> ---
kservice 5.14.3 is available and works (unlike 5.14.2).

The bug is not related to setting time.
--
You are receiving this mail because:
You are watching all bug changes.
Bart
2015-09-24 02:44:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Bart <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #11 from Bart <***@gmail.com> ---
This (or something related) keeps happening in 5.14.3, on Arch, on a user that
used kde4 before. On a clean install on a different system it does not happen.
Started after (by mistake) changing the "region" setting to "Germany (nds_DE)".
It changes the language to some german dialect (niederdeutsch, I guess from the
language code). Deleting the .kde4 directory does not help.

It comes up for 1 minute after booting and goes away. As soon as I click on the
K-menu, comes back again, changes the language of the menu and brings the
system to a halt.

Changing the "region" setting to "Deutschland (de_DE)" fixes the problem.
--
You are receiving this mail because:
You are watching all bug changes.
Simon Andric via KDE Bugzilla
2015-10-24 15:22:17 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=352787

Simon Andric <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Loading...