Bug 344343 - KWin/plasmashell freezes
Summary: KWin/plasmashell freezes
Status: RESOLVED DUPLICATE of bug 341963
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 10:29 UTC by Lach Sławomir
Modified: 2015-11-20 20:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Traces (3.88 KB, application/x-zip-compressed)
2015-02-19 13:34 UTC, kikoloche2
Details
New traces of kwin after install plasma-framework 5.6.0-2 and kconfig 5.6.0-1 with debug sysmbols (2.98 KB, application/x-zip-compressed)
2015-02-19 14:43 UTC, kikoloche2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lach Sławomir 2015-02-19 10:29:23 UTC
The kwin_x11 and plasmashell frezess after few minutes after login.

Reproducible: Always

Steps to Reproduce:
1. Login
2. Start some programs
3. Wait few minutes
4. Try to move window

Actual Results:  
Nothing happens

Expected Results:  
Desktop works

I updated my system recently and kwin5_x11 changes name to kwin_x11 and there's new component called kwin gles
Comment 1 Martin Flöser 2015-02-19 11:27:00 UTC
please provide the output of
qdbus org.kde.KWin /KWin supportInformation

when the freeze occurs.
Comment 2 kikoloche2 2015-02-19 13:33:06 UTC
I have submit this bug to https://bugs.freedesktop.org/show_bug.cgi?id=89173

After collecting some traces after kwin freezes, they suggest to me to inform kde developers about a QLockFile::tryLock() -> nanosleep() pause.

I attach this files here too.
Comment 3 kikoloche2 2015-02-19 13:34:28 UTC
Created attachment 91172 [details]
Traces

Traces from kwin using gdb, after plasma 5 freezes. They are in a conpressed file named traces.zip.
Comment 4 Martin Flöser 2015-02-19 13:39:18 UTC
please try installing debug symbols for KF5 (at least for libKF5Plasma.so.5 and libKF5ConfigCore.so.5)
Comment 5 kikoloche2 2015-02-19 13:46:26 UTC
My distro is archlinux . Idon't now in what package are those libraries
Comment 6 Thomas Lübking 2015-02-19 13:55:48 UTC
Arch has no debug packages.

I assume sth. around bug #341963 and/or bug #344032
Comment 7 kikoloche2 2015-02-19 13:58:13 UTC
Yes it has. Via ABS system. The packages are plama-framework and kconfig. I am going to compile and install them with debug symbol. After that I am going to collect traces after kwin freezes
Comment 8 kikoloche2 2015-02-19 14:43:30 UTC
Created attachment 91175 [details]
New traces of kwin after install plasma-framework 5.6.0-2 and kconfig 5.6.0-1 with debug sysmbols

I have installed plasma-framework 5.6.0-2 and kconfig 5.6.0-1 with debug symbols in my archlinux distro. After several plasma 5 freezes I have run gdb --pid 'pidof kwin_x11'. In the attached file are the traces.
Comment 9 Martin Flöser 2015-02-19 14:54:59 UTC
the code in question gets triggered by Plasma::Svg when it requests a safe to cache. Maybe the cache is corrupt?
Comment 10 kikoloche2 2015-02-19 14:56:26 UTC
How can I clear cache?
Comment 11 kikoloche2 2015-02-19 15:02:29 UTC
I want to remark that before plasma freezes, I got my hard disk full.  Now there a lot of free space, but freezes still ocurr.
Comment 12 Martin Flöser 2015-02-19 15:06:35 UTC
(In reply to kikoloche2 from comment #11)
> I want to remark that before plasma freezes, I got my hard disk full.  Now
> there a lot of free space, but freezes still ocurr.

oh that could confirm the assumption of corrupted data in the cache. The cache is in $HOME/.cache by default. I assume the relevant files are called plasma*. I suggest to log out and delete them from a tty.
Comment 13 Thomas Lübking 2015-02-19 15:08:11 UTC
rm -f ~/.cache/plasma*
rm -f ~/.cache/ksycoca*
rm -f ~/.cache/*.kcache
kbuildsycoca5
Comment 14 Thomas Lübking 2015-02-19 15:08:41 UTC

*** This bug has been marked as a duplicate of bug 341963 ***
Comment 15 kikoloche2 2015-02-19 15:35:47 UTC
After run this commands

rm -fr ~/.cache/plasma*
rm -fr ~/.cache/ksycoca*
rm -fr ~/.cache/*.kcache
kbuildsycoca5

By this time the desktop should be frozen but it isn't.

the problem seems solved. 

Thank you very much.

PD: In this thread https://bugs.launchpad.net/kubuntu-ppa/+bug/1422185 there is another user whose problem is very similar to mine. I am going to post this solution there.
Comment 16 kikoloche2 2015-02-19 15:39:37 UTC
If you prefer to do that, let me know soon please