[Bug 95419] [HSW][regression][bisect] RPG Maker game gives "invalid floating point operation" at startup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 19 21:35:43 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95419

dnord <pinguin255 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #123797|0                           |1
        is obsolete|                            |

--- Comment #14 from dnord <pinguin255 at gmail.com> ---
Created attachment 123926
  --> https://bugs.freedesktop.org/attachment.cgi?id=123926&action=edit
patch3

Unfortunately I had not been able to reproduce any broken piglet tests, which
were mentioned, introduced by this patch (obviously I tested only on my
hardware, but piglet results were equal). Anyway I propose two patches, which
solve this bug. First is not using any floating point arithmetic, just integer
division, which is equal to rounding down and therefore should not allocate
more chunks than available. Second is straightforward obvious fix to the
original code - checking for null before two divisions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160519/7a42b531/attachment.html>


More information about the intel-3d-bugs mailing list