After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648638 - main thread can block on StTextureCache thread with SVGs
main thread can block on StTextureCache thread with SVGs
Status: RESOLVED DUPLICATE of bug 586986
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-04-25 19:29 UTC by Colin Walters
Modified: 2011-04-25 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Walters 2011-04-25 19:29:56 UTC
Since librsvg marks its loader as not-threadsafe, it's possible to be loading a SVG in one of StTextureCache's loading threads, and then when the main thread tries to load one via say GTK+, we end up serializing on a loader thread, which is obviously bad.
Comment 1 Owen Taylor 2011-04-25 19:34:18 UTC
Not sure there's anything we can do about this in the gnome-shell context, unless we just refuse to load SVGs.

Note that thread safety issues with SVG loading text occur with *any* usage of Pango in the main thread, not just usage via the SVG loader. (AFAIK, unless librsvg uses a completely different font database.) See bug 586986.
Comment 2 Colin Walters 2011-04-25 19:45:11 UTC

*** This bug has been marked as a duplicate of bug 586986 ***