Bug 18409 - Crash on FreePixmap without glXReleaseTexImageEXT
Summary: Crash on FreePixmap without glXReleaseTexImageEXT
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 10:23 UTC by Owen Taylor
Modified: 2018-06-11 19:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Owen Taylor 2008-11-06 10:23:03 UTC
The following sequence:

 [ bind pixmap to texture ]
 XFreePixmap(dpy, pixmap);
 glGetTexImage(texture)

Reliably crashes the X server for me with AIGLX and the current zero-copy 
texture-from-pixmap code.

I haven't investigated the code in detail to figure out why this is
happening, but I assume either the code needs to reference the Pixmap
object until the binding is released (like SetWindowBackgroundPixmap),
or there needs to be a cleanup when the pixmap is freed.
Comment 1 Adam Jackson 2018-06-11 19:57:34 UTC
Lots of glx pixmap refcounting issues fixed since 2008...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.