[Bug 32297] [r300g] WoW crashes on exit, when run in a window instead of full-screen.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 4 16:35:09 PST 2011


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

--- Comment #1 from Chris Rankin <rankincj at googlemail.com> 2011-01-04 16:35:09 PST ---
(In reply to comment #0)
> Backtrace:
> =>0 0x7d88bbf7 dri2_invalidate_drawable+0x47(dPriv=*** Invalid address
> 0x0032eda8 ***
> Internal symbol error: unable to access memory location 0x32eda8)

I've dug a bit further into this with the latest git code, and it looks like
dri2_invalidate_drawable(dPriv) is (somehow) trying to use a garbage
dri_context structure. Basically, the dPriv->driContextPriv->driverPrivate
field seems to contain a value which is never allocated by
dri_create_context(). I haven't determined how this value is set yet, but I'm
suspecting memory corruption via a stale pointer because the dri_context struct
that all previous dPriv->driContextPriv->driverPrivate fields had referred to
had just been destroyed.

The previous backtrace seems to contain an invalid dPriv value instead, which
isn't exactly what I'm seeing now either.

-- 
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 dri-devel mailing list