Bug 26734 - format assertion in driNewRenderbuffer
Summary: format assertion in driNewRenderbuffer
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: mesa-dev
QA Contact:
URL: https://bugs.launchpad.net/bugs/515846
Depends on:
Reported: 2010-02-24 12:09 UTC by Tormod Volden
Modified: 2010-02-24 13:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

full backtrace (3.48 KB, text/plain)
2010-02-24 12:09 UTC, Tormod Volden

Note You need to log in before you can comment on or make changes to this bug.
Description Tormod Volden 2010-02-24 12:09:01 UTC
Created attachment 33530 [details]
full backtrace

glxinfo (or the DRI-enabled) xserver crashes with this assertion in mesa 7.7 on a number of drivers:

glxinfo: ../common/drirenderbuffer.c:69: driNewRenderbuffer: Assertion `format == 0x1908 || format == 0x8050 || format == 0x8058 || format == 0x81A5 || format == 0x81A6 || format == 0x81A7 || format == 0x8D48' failed.

From looking at the code, I think this happened with http://cgit.freedesktop.org/mesa/mesa/commit/?h=mesa_7_7_branch&id=1160acbfea986a821761d18f5f14d5d2cb0dea8c

The assertion should probably be updated or removed.
Comment 1 Tormod Volden 2010-02-24 12:56:48 UTC
This was also seen on xorg ML: http://lists.freedesktop.org/archives/xorg/2010-January/048892.html
Comment 2 Brian Paul 2010-02-24 13:05:57 UTC
I've removed the obsolete assertion.  Commit 293f4d51b473783d5c5ab773a1c438e0a2fe46f2.

As I've suspected, the older DRI drivers aren't getting much testing.

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.