Summary: | [llvmpipe] crashes when GL context is created and a previous context was shared | ||
---|---|---|---|
Product: | Mesa | Reporter: | Florian Link <florianlink> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 17.1 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Screenshot of the crash, fence pointer is NULL. |
Description
Florian Link
2017-06-22 09:27:29 UTC
I reverted the commit from https://github.com/mesa3d/mesa/commit/043883647acaee0b2c67c1c6b496404ebb4e8d67 and then the crash is gone. The problem seems to be: stw_context.c: line 442: if (old_ctx->shared) { struct pipe_fence_handle *fence = NULL; old_ctx->st->flush(old_ctx->st, ST_FLUSH_FRONT | ST_FLUSH_WAIT, &fence); } else { old_ctx->st->flush(old_ctx->st, ST_FLUSH_FRONT, NULL); } if I change that back to just: old_ctx->st->flush(old_ctx->st, ST_FLUSH_FRONT, NULL); then the crash is gone. Since the fence pointer points to NULL and stays NULL, the old_ctx->st->flush crashes. This is a duplicate of bug 102148, which has been fixed. |
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.