From: bugzilla-daemon@freedesktop.org Subject: [Bug 80419] XCOM: Enemy Unknown Causes lockup Date: Mon, 04 Jan 2016 20:00:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0574962652==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 37E2D6E0FC for ; Mon, 4 Jan 2016 12:00:48 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0574962652== Content-Type: multipart/alternative; boundary="1451937648.7c3Aa313.3639"; charset="UTF-8" --1451937648.7c3Aa313.3639 Date: Mon, 4 Jan 2016 20:00:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D80419 --- Comment #97 from Jose Fonseca --- I'm pushing a slightly modified version of Roland's patch. (In reply to Nicolai H=C3=A4hnle from comment #96) > Created attachment 120742 [details] > more conservative apitrace patch >=20 > For what it's worth, I've attached a modified version of Roland's patch t= hat > is slightly more conservative, guarding against some stupid end values and > checking the indices. Not sure which patch is really better though, in the > end it depends on how much broken software is out there. As far as I can > tell, XCOM apitraces work with both variants. Yes, I don't think this is necessary. If apitrace needs more resiliency, t= hen the best approach would be to setup a segv handler to cope with out-of-boun= ds reads. This code path is only used for user arrays. (VBOs don't need this special treatment.) --=20 You are receiving this mail because: You are the assignee for the bug. --1451937648.7c3Aa313.3639 Date: Mon, 4 Jan 2016 20:00:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 97 on bug 80419<= /a> from Jose Fonseca
I'm pushing a slightly modified version of Roland's patch.

(In reply to Nicolai H=C3=A4hnle from comment #96)
> Created attachment 120742 [details]
> more conservative apitrace patch
>=20
> For what it's worth, I've attached a modified version of Roland's patc=
h that
> is slightly more conservative, guarding against some stupid end values=
 and
> checking the indices. Not sure which patch is really better though, in=
 the
> end it depends on how much broken software is out there. As far as I c=
an
> tell, XCOM apitraces work with both variants.

Yes, I don't think this is necessary.  If apitrace needs more resiliency, t=
hen
the best approach would be to setup a segv handler to cope with out-of-boun=
ds
reads.

This code path is only used for user arrays. (VBOs don't need this special
treatment.)


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1451937648.7c3Aa313.3639-- --===============0574962652== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0574962652==--