diff options
author | Marek Olšák <[email protected]> | 2017-01-20 02:26:42 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-01-24 23:52:01 +0100 |
commit | d9ef54923804d5fe44a1d3ad5c29e9b8e8382359 (patch) | |
tree | b62dca2809e729b4a10b6ffe8649a88e6fb72e64 /src/mesa/x86/3dnow.c | |
parent | dd65f0efc91418bbafd5cc4b63840b5a734d43d1 (diff) |
st/mesa: destroy pipe_context before destroying st_context (v2)
If radeonsi starts compiling an optimized shader variant asynchronously
with a GL debug callback set and the application destroys the GL context,
radeonsi crashes when trying to write shader stats into the debug output
of a non-existent context after compilation, because st/mesa was destroyed
before pipe_context.
Firefox with WebGL2 enabled hits this bug.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99456
v2: protect against a double destroy in st_create_context_priv and callers.
Cc: 17.0 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/x86/3dnow.c')
0 files changed, 0 insertions, 0 deletions