https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #6 from Chris Rankin rankincj@googlemail.com 2010-06-29 12:05:36 PDT --- (In reply to comment #4)
I believe the "data" pointer is not valid.
Or possibly the context.flush field has not been assigned? I am having curious success with this simple patch:
--- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -125,7 +125,9 @@ static void r300_flush_cb(void *data) { struct r300_context* const cs_context_copy = data;
- cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL); + if (cs_context_copy->context.flush) { + cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL); + } }
#define R300_INIT_ATOM(atomname, atomsize) \