Null pointer deref apparently. ctx seems not to be null, so guessing it
to be ctx->screen that holds the undefined pointer.
static void evergreen_set_global_binding(
struct pipe_context *ctx_, unsigned first, unsigned n,
struct pipe_resource **resources,
uint32_t **handles)
{
struct r600_context *ctx = (struct r600_context *)ctx_;
struct compute_memory_pool *pool = ctx->screen->global_pool; /* <--
crashes here */
struct r600_resource_global **buffers =
(struct r600_resource_global **)resources;
A null ptr check would be easy enough to slip in there, but I'm not
certain that would be a proper fix. This probably should be forwarded
upstream.
Looks like this code didn't change in 9.0.1, so presumably this bug
existed previously as well. Had you found that setting up screen
parameters had worked properly in the past, or was this just the first
you've tried?
** Changed in: mesa (Ubuntu)
Importance: Undecided => Medium
** Changed in: mesa (Ubuntu)
Status: New => Triaged
** Summary changed:
- Crash in r600_dri.so while playing Call of Duty 4 with Wine
+ Crash in r600_dri:evergreen_set_global_binding while playing Call of Duty 4
with Wine
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1084842
Title:
Crash in r600_dri:evergreen_set_global_binding while playing Call of
Duty 4 with Wine
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1084842/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs