Summary: |
glGenerateMipmap causes segmentation fault |
Product: |
Mesa
|
Reporter: |
tero.pihlajakoski |
Component: |
Drivers/DRI/i915 | Assignee: |
Eric Anholt <eric> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
critical
|
|
|
Priority: |
medium
|
|
|
Version: |
7.10 | |
|
Hardware: |
x86 (IA32) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Source code to reproduce bug
|
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.
Created attachment 50487 [details] Source code to reproduce bug If glGenerateMipmap is called on i915 driver, a segmentation fault is signaled. Attached is a test file derived from opengles2 demo `tri.c'. It can be run with `gcc -lGLESv2 -lEGL -lm ./crash.h && ./a.out' provided the i915 EGL and GLES 2 drivers have been installed. The important line is #499. Removing it will prevent the segmentation fault from happening. There are no textures generated, but calling the function in question should not cause a segmentation fault. Note that the defect occurs on Mesa 7.11 also.