[Mesa-dev] [Bug 91646] dlopen'ing libudev.so.1 from static library initializer corrupts TLS state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 16 03:39:32 PDT 2015


--- Comment #3 from Francisco Jerez <currojerez at riseup.net> ---
(In reply to Tobias Jakobi from comment #2)
> Created attachment 117708 [details] [review]
> hack fix
> Untested hack/fix that is also not thread-safe.

That's unlikely to work, static local variables are no different to globals
regarding initialization order, and, yeah, it seems like a hack because
pipe_loader_probe() shouldn't be doing anything that could corrupt the TLS
state when called at initialization time.

It looks like this might be a regression from the series
are indeed not part of any released version yet), you may want to bisect which
change introduced the problem.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150816/ae21e6a7/attachment.html>

More information about the mesa-dev mailing list