Improving Steam Client stability on Linux: setenv and multithreaded environments
Speaking of Steam, the Linux version of Valve's gaming platform has just received a pretty substantial set of fixes for crashes, and Timothee "TTimo" Besset, who works for Valve on Linux support, has published a blog post with more details about what kind of crashes they've been
Gabriele Svelto
in reply to OSNews • • •I fixed - not mitigated - this issue in Firefox for good some time back. I had written a short thread about it: fosstodon.org/@gabrielesvelto/…
Bug and patches are here: bugzilla.mozilla.org/show_bug.…
Long story short: I use *linker magic* to slot thread-safe functions between the code using them and the non-thread-safe implementations in glibc. This way even code we don't control is forced to acquire a lock before manipulating the environment, entirely preventing races.
1752703 - Crash in [@ __GI_getenv]
bugzilla.mozilla.orgGabriele Svelto
2023-05-09 10:17:05
Gabriele Svelto
in reply to Gabriele Svelto • • •