Summary: | XlcConverterList conv_list access are not thread safe | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Alessandro Pignotti <alexpigna.dev> | ||||||
Component: | Lib/Xlib | Assignee: | Xorg Project Team <xorg-team> | ||||||
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | cigydd, jeremyhu, jre.winesim | ||||||
Version: | git | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | 2012BRB_Reviewed | ||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Alessandro Pignotti
2012-10-05 20:21:11 UTC
Also the following definitions: static XlcDatabaseList _db_list = (XlcDatabaseList)NULL; in file src/xlibi18n/lcDB.c is affected by the similar issues. It looks like the localization support inside libx11 is generally not thread safe. It should be noted that this is causing a lockup on the Origin game client under Wine, making a good chunk of games unplayable. Created attachment 130584 [details] [review] A hack to improve the thread safety of the libX11 localization Originally posted here: https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/1062534 by Alessandro Pignotti Created attachment 130585 [details] [review] A hack to remove an optimization that is thread unsafe Originally posted here: https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/1062534 by Alessandro Pignotti Appended two patches from Alessandro Pignotti originally posted on the Ubuntu Bugzilla. They may or may not still be valid. According to Alessandro's words, "They should be considered hacks to make the problem more clear." Trying to attract some attention to this bug because I face it on a regular basis playing Lord of the Rings Online on Wine still after 5 years a patch has been proposed. I'm a bit experienced in programming but only in Pascal and Python so I'm trying to find someone more experienced who could possibly fix it. If nobody responds, maybe I'll try to fix it myself… -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/24. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.