Bug 27566 - r300g segfaults in glDrawPixels
r300g segfaults in glDrawPixels
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: Default DRI bug account
Depends on:
  Show dependency treegraph
Reported: 2010-04-09 08:36 UTC by Wiktor Janas
Modified: 2010-04-09 09:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

the test program (compile with -std=c99) (3.01 KB, text/x-csrc)
2010-04-09 08:36 UTC, Wiktor Janas
the backtrace (5.11 KB, text/plain)
2010-04-09 08:37 UTC, Wiktor Janas

Note You need to log in before you can comment on or make changes to this bug.
Description Wiktor Janas 2010-04-09 08:36:11 UTC
Created attachment 34847 [details]
the test program (compile with -std=c99)

The attached program causes segfault in r300g. Plain r300 works fine, however the texture is drawn darkened

  - Debian Linux, vanilla kernel 2.6.33,
  - mesa from git, up to commit 54526154c5b02be0fbae6b0dad766c6be1bee21c
  - radeon ddx 1:6.12.192-2 (changelog says: pull from upstream master up to
commit 5c256808)
  - libdrm 2.4.18-3
  - Radeon x1300 (RV515)
Comment 1 Wiktor Janas 2010-04-09 08:37:09 UTC
Created attachment 34848 [details]
the backtrace
Comment 2 Brian Paul 2010-04-09 08:47:37 UTC
Looks like a state tracker issue.  I'm looking into it...
Comment 3 Brian Paul 2010-04-09 09:05:06 UTC
Fixed on the 7.8 branch with commit b22a00bff4aadd390dd8af6b5b05bd2833ec7f85.
Will merge to master in a bit.