Bugzilla – Bug 1082306
Last modified: 2018-06-21 21:36:45 UTC
Another 8.0 patch - no bugreport or crashlog. Update commit
message+send or drop?
At first look it looks like another fix on top of u_mesa-8.0-llvmpipe-shmget.patch, but after closer investigation it seems to be fixing an independent issue. The patch description says:
> When glXBindTexImageEXT is called and SWrast is used there
> will be a crash when sPriv->swrast_loader->getImage() is
> called from swrastSetTexBuffer2(). Reason: no memory has
> been allocated for the destination thus texImage->Data is
> NULL. Call ctx->Driver.TexImage2D() to initialize this. If
> memory has been allocated in a previous call free it first.
The patch is not applied at the moment and nobody is complaining. The original issue may have been fixed in Mesa some other way, or maybe there just aren't any users with swrast + application that uses GLX_EXT_texture_from_pixmap.
I will try to reproduce the original issue.
The patch is disabled since Mesa 8.0.1.
Thu Feb 23 10:57:09 UTC 2012 - email@example.com
- Update to Mesa 8.0.1
- disabled u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
for now (obsolete as well?)
Michal, did you have time to look at this again?
I tried to create some reproducer based on the description in the patch, but it could not trigger any problem. The patch was disabled for long time and nobody complained. It seems the original problem was meanwhile fixed elsewhere. Removed: https://build.opensuse.org/request/show/593731