[Mesa-dev] [RFC 0/3] Fix several segmentation faults related to depth buffer
eugeni at dodonov.net
Tue Sep 6 11:11:25 PDT 2011
On Mon, Sep 5, 2011 at 16:37, Alon Levy <alevy at redhat.com> wrote:
> Fixes three segmentation faults where it is wrongly assumed the depth
> renderbuffer's region is not NULL.
> 735794 - verified to be fixed by these three patches (these three apply
> to 7.11 almost cleanly, just the second requires minor changes).
> Related RHBZs (maybe solved as well, didn't reproduce):
> 734183 - [abrt] gnome-shell-3.1.4-2.gite7b9933.fc16: prepare_depthbuffer
> 717140 -[abrt] compiz-0.9.4-2.fc15: prepare_depthbuffer
> Alon Levy (3):
> i965: prepare_depthbuffer: fix segfault, rhbz#735794
> i965: prepare_depthbuffer: don't update NULL region'ed surface,
> i965: emit_depthbuffer: fix segfault, rhbz#735794
> src/mesa/drivers/dri/i965/brw_misc_state.c | 7 +++++--
> src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 3 +++
> 2 files changed, 8 insertions(+), 2 deletions(-)
those patches fix the crash you are having, but I am wondering why the crash
happened in the first place. E.g., we should not get to the situation where
region is NULL under normal cases.
More information about the mesa-dev