Review Request 127112: Reparse svgElementsCache instead of deleting it in discardCache

David Rosca nowrep at
Fri Feb 19 12:27:46 UTC 2016

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 19, 2016, 12:27 p.m.)


This change has been marked as submitted.

Review request for Plasma.


Submitted with commit a8e54e15e13653290ca4a49a38fae742e3825d04 by David Rosca to branch master.

Bugs: 359539

Repository: plasma-framework


svgElementsCache may be created on render thread and deleted on main thread, which will make KSharedConfig crash (it uses per-thread storage).


  src/plasma/private/theme_p.cpp 2faced8 



I couldn't reproduce the crash, even with QSG_RENDER_LOOP=threaded (on Intel GPU).

I think we can't just call reparseConfiguration in discardCache, because there will be race condititon (reparseConfiguration running on main thread and config being accessed from render thread).


David Rosca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Plasma-devel mailing list