Summary: | Segfault in glGetActiveUniformName | ||
---|---|---|---|
Product: | Mesa | Reporter: | Simon Budig <simon> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | 10.3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Testcase |
Description
Simon Budig
2014-11-23 00:03:07 UTC
Created attachment 109875 [details]
Testcase
This is a testcase triggering the crash for me.
Compile with
gcc -Wall -g -o bugtest bugtest.c -lglut -lGLEW -lGL -lm
Looks like there's more than one thing wrong here. glGetActiveUniformName is introduced with 3.1/ARB_uniform_buffer_object, which is not supported on Ironlake. Your test program ends up calling through a null function pointer, because GLEW never wired it up. On 2.1, your best option here is glGetActiveUniform. |
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.