From: bugzilla-daemon@freedesktop.org Subject: [Bug 93447] [r600g] llvm crash because of use of uninitialized stack Date: Mon, 21 Dec 2015 12:57:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0068170842==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D55F96E33F for ; Mon, 21 Dec 2015 04:57:13 -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 --===============0068170842== Content-Type: multipart/alternative; boundary="1450702633.4ebae30.29266"; charset="UTF-8" --1450702633.4ebae30.29266 Date: Mon, 21 Dec 2015 12:57:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=93447 --- Comment #2 from Grazvydas Ignotas --- I believe this bug can also be triggered by radeonsi though, as it also calls radeon_llvm_emit_prepare_cube_coords(). When target == TGSI_TEXTURE_CUBE and opcode == TGSI_OPCODE_TXF, si_shader.c will take and use garbage value from that function. Unfortunately I don't have any radeonsi hardware to make a testcase to prove my point. It might also be difficult anyway due to nature of uinitialized variable bugs (it's likely to end up with a value that doesn't cause a crash). -- You are receiving this mail because: You are the assignee for the bug. --1450702633.4ebae30.29266 Date: Mon, 21 Dec 2015 12:57:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 93447 from
I believe this bug can also be triggered by radeonsi though, as it also calls
radeon_llvm_emit_prepare_cube_coords(). When target == TGSI_TEXTURE_CUBE and
opcode == TGSI_OPCODE_TXF, si_shader.c will take and use garbage value from
that function.

Unfortunately I don't have any radeonsi hardware to make a testcase to prove my
point. It might also be difficult anyway due to nature of uinitialized variable
bugs (it's likely to end up with a value that doesn't cause a crash).


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