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

David Rosca nowrep at gmail.com
Sat Feb 20 08:28:12 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127112/#review92575
-----------------------------------------------------------



This is wrong, sorry. I will revert it now. Correct fix for the crash was the change in SvgItem.

- David Rosca


On Feb. 19, 2016, 12:27 p.m., David Rosca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127112/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2016, 12:27 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: 359539
>     http://bugs.kde.org/show_bug.cgi?id=359539
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> svgElementsCache may be created on render thread and deleted on main thread, which will make KSharedConfig crash (it uses per-thread storage).
> 
> 
> Diffs
> -----
> 
>   src/plasma/private/theme_p.cpp 2faced8 
> 
> Diff: https://git.reviewboard.kde.org/r/127112/diff/
> 
> 
> Testing
> -------
> 
> 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).
> 
> 
> Thanks,
> 
> David Rosca
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160220/271fcc17/attachment.html>


More information about the Plasma-devel mailing list