Hide Forgot
Created attachment 515790 [details] fix mesa buffer size mesa-7.9-5.fc14.i686 Repro: install and run http://www.cogsgame.com/ (part of the latest http://www.humblebundle.com/). Game window appears, studio splash displays then fades, a small amount of sound then segfault. gdb shows top of stack is completely trashed with 0xff bytes. This is a bug in mesa's i965 fp compiler. It tries to call what looks like an internal function from the mesa core to calculate the "live" ranges of registerised values, passes a 256-entry output buffer, but the mesa core function has been modified to use a larger buffer and so overwrites the stack when initialising the buffer. This patch fixes the DRI driver to provide the same size buffer as is expected. The same code appears to be either missing or moved in 7.10 and later, so I can't tell whether a similar fix is required for those (fc15 and later).
I confirm this bug. Running 2.6.35.13-92.fc14.x86_64. The game crashes both in i686 and x64 versions.
mesa-7.9-7.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mesa-7.9-7.fc14
Package mesa-7.9-7.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mesa-7.9-7.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15682 then log in and leave karma (feedback).
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping