From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97909] X-Plane 10 crashes with SIGSEGV on radeonsi Date: Fri, 23 Sep 2016 23:06:46 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1776241851==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id BE0226E075 for ; Fri, 23 Sep 2016 23:06:46 +0000 (UTC) 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 --===============1776241851== Content-Type: multipart/alternative; boundary="14746720060.00fC.20532"; charset="UTF-8" --14746720060.00fC.20532 Date: Fri, 23 Sep 2016 23:06:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97909 Bug ID: 97909 Summary: X-Plane 10 crashes with SIGSEGV on radeonsi Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: chris.bugsfd@broke-the-inter.net QA Contact: dri-devel@lists.freedesktop.org Created attachment 126749 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126749&action=3Dedit Patch/Hack The SIGSEGV is being raised because ib->buffer is NULL. I don't know whether my solution is correct or not. Is it okay to simply return if ib->buffer is NULL, is it okay to run those = last lines of that if block if ib->buffer isn't NULL only, is it okay to call si_emit_draw_packets with ib->buffer being NULL, ...? All I can say is that X-Plane is working fine with this patch/hack. --=20 You are receiving this mail because: You are the assignee for the bug.= --14746720060.00fC.20532 Date: Fri, 23 Sep 2016 23:06:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 97909
Summary X-Plane 10 crashes with SIGSEGV on radeonsi
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter chris.bugsfd@broke-the-inter.net
QA Contact dri-devel@lists.freedesktop.org

Created attachment 126749 [det=
ails] [review]
Patch/Hack

The SIGSEGV is being raised because ib->buffer is NULL.

I don't know whether my solution is correct or not.

Is it okay to simply return if ib->buffer is NULL, is it okay to run tho=
se last
lines of that if block if ib->buffer isn't NULL only, is it okay to call
si_emit_draw_packets with ib->buffer being NULL, ...?

All I can say is that X-Plane is working fine with this patch/hack.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14746720060.00fC.20532-- --===============1776241851== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1776241851==--