[Mesa-dev] [Bug 31940] [r300g] Crash in dri2_invalidate_drawable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 29 23:44:20 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31940

--- Comment #3 from nobled <nobled at dreamwidth.org> 2010-11-29 23:44:19 PST ---
Created an attachment (id=40656)
 View: https://bugs.freedesktop.org/attachment.cgi?id=40656
 Review: https://bugs.freedesktop.org/review?bug=31940&attachment=40656

st/dri: workaround weird null dereference

(In reply to comment #2)
> Created an attachment (id=40596)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=40596)
> wine log showing backtrace for 28ee7561f9e9bac8a76d5f96fe55b890a61a7d04

Weird. It looks like it's because ctx->st is NULL on that line, but that
shouldn't be possible--the code in dri_create_context should prevent that:

http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/dri/common/dri_context.c?h=28ee7561f9e9bac8a76d5f96fe55b890a61a7d04#n92

Does this patch fix it?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list