From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 65085] New: [radeonsi LLVM] Segfault during OpenCL kernel compilation Date: Tue, 28 May 2013 15:43:05 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0455538564==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6EABEE5DEB for ; Tue, 28 May 2013 08:43:05 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0455538564== Content-Type: multipart/alternative; boundary="1369755785.ABdD7F5c0.5614"; charset="us-ascii" --1369755785.ABdD7F5c0.5614 Date: Tue, 28 May 2013 15:43:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=65085 Priority: medium Bug ID: 65085 Assignee: dri-devel@lists.freedesktop.org Summary: [radeonsi LLVM] Segfault during OpenCL kernel compilation Severity: normal Classification: Unclassified OS: All Reporter: niels_ole@salscheider-online.de Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa Created attachment 79901 --> https://bugs.freedesktop.org/attachment.cgi?id=79901&action=edit Kernel that causes the segfault I get a segmentation fault in LLVM with Tom Stellard's recent radeonsi compute patches (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130520/175743.html) with the attached kernel. I can work around the issue when executing the if-block in the kernel unconditionally or with the attached patch to LLVM. Desc.OpInfo[0].RegClass equals -1 when the segmentation fault occurs. -- You are receiving this mail because: You are the assignee for the bug. --1369755785.ABdD7F5c0.5614 Date: Tue, 28 May 2013 15:43:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 65085
Assignee dri-devel@lists.freedesktop.org
Summary [radeonsi LLVM] Segfault during OpenCL kernel compilation
Severity normal
Classification Unclassified
OS All
Reporter niels_ole@salscheider-online.de
Hardware Other
Status NEW
Version git
Component Drivers/Gallium/radeonsi
Product Mesa

Created attachment 79901 [details]
Kernel that causes the segfault

I get a segmentation fault in LLVM with Tom Stellard's recent radeonsi compute
patches
(http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130520/175743.html)
with the attached kernel.

I can work around the issue when executing the if-block in the kernel
unconditionally or with the attached patch to LLVM.
Desc.OpInfo[0].RegClass equals -1 when the segmentation fault occurs.


You are receiving this mail because:
  • You are the assignee for the bug.
--1369755785.ABdD7F5c0.5614-- --===============0455538564== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0455538564==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 65085] [radeonsi LLVM] Segfault during OpenCL kernel compilation Date: Tue, 28 May 2013 15:43:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0462443236==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B0413E5C48 for ; Tue, 28 May 2013 08:43:39 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0462443236== Content-Type: multipart/alternative; boundary="1369755819.5eFD5e0.5769"; charset="us-ascii" --1369755819.5eFD5e0.5769 Date: Tue, 28 May 2013 15:43:39 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=65085 --- Comment #1 from Niels Ole Salscheider --- Created attachment 79903 --> https://bugs.freedesktop.org/attachment.cgi?id=79903&action=edit Patch to work around the issue -- You are receiving this mail because: You are the assignee for the bug. --1369755819.5eFD5e0.5769 Date: Tue, 28 May 2013 15:43:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 65085 from
Created attachment 79903 [details] [review]
Patch to work around the issue


You are receiving this mail because:
  • You are the assignee for the bug.
--1369755819.5eFD5e0.5769-- --===============0462443236== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0462443236==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 65085] [radeonsi LLVM] Segfault during OpenCL kernel compilation Date: Tue, 28 May 2013 15:44:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0513961153==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BED5E5FC5 for ; Tue, 28 May 2013 08:44:07 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0513961153== Content-Type: multipart/alternative; boundary="1369755847.BF670.5873"; charset="us-ascii" --1369755847.BF670.5873 Date: Tue, 28 May 2013 15:44:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=65085 --- Comment #2 from Niels Ole Salscheider --- Created attachment 79904 --> https://bugs.freedesktop.org/attachment.cgi?id=79904&action=edit Full backtrace -- You are receiving this mail because: You are the assignee for the bug. --1369755847.BF670.5873 Date: Tue, 28 May 2013 15:44:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1369755847.BF670.5873-- --===============0513961153== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0513961153==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 65085] [radeonsi LLVM] Segfault during OpenCL kernel compilation Date: Sat, 16 Nov 2013 02:26:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0246682116==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E963105B20 for ; Fri, 15 Nov 2013 18:26:42 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0246682116== Content-Type: multipart/alternative; boundary="1384568802.2Fcb25f0.31469"; charset="us-ascii" --1384568802.2Fcb25f0.31469 Date: Sat, 16 Nov 2013 02:26:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=65085 Tom Stellard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Tom Stellard --- This is working for me with the latest LLVM code. Please re-open if it is not working for you. -- You are receiving this mail because: You are the assignee for the bug. --1384568802.2Fcb25f0.31469 Date: Sat, 16 Nov 2013 02:26:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 65085
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 3 on bug 65085 from
This is working for me with the latest LLVM code.  Please re-open if it is not
working for you.


You are receiving this mail because:
  • You are the assignee for the bug.
--1384568802.2Fcb25f0.31469-- --===============0246682116== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0246682116==--