Bug 24610 - tri-query segfaults
Summary: tri-query segfaults
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-18 22:04 UTC by Justin Noah
Modified: 2009-10-20 15:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Stops the crash in tri-query. I don't know if it helps with anything else though. (615 bytes, patch)
2009-10-18 22:04 UTC, Justin Noah
Details | Splinter Review

Description Justin Noah 2009-10-18 22:04:42 UTC
Created attachment 30547 [details] [review]
Stops the crash in tri-query. I don't know if it helps with anything else though.

When running tri-query from progs/trivial a segfault occurs when
glGenQueriesARB(1, &OccQuery); (tri-query.c:49) is called.
Comment 1 Alex Deucher 2009-10-20 15:15:41 UTC
The r600 driver doesn't support OQ, so the app shouldn't be using it without checking first.
Comment 2 Brian Paul 2009-10-20 15:21:42 UTC
I'll add a GL_ARB_occlusion_query check to the program.


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.