From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93748] [r600g]OpenCL driver causes ImageMagick to segfault Date: Tue, 19 Jan 2016 02:33:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1860407929==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C35C6E506 for ; Mon, 18 Jan 2016 18:33:51 -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 --===============1860407929== Content-Type: multipart/alternative; boundary="14531708310.2f31.23977"; charset="UTF-8" --14531708310.2f31.23977 Date: Tue, 19 Jan 2016 02:33:51 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=93748 --- Comment #2 from nixscripter@gmail.com --- Created attachment 121124 --> https://bugs.freedesktop.org/attachment.cgi?id=121124&action=edit GenerateNoiseImage kernel Here is their kernel. It's rather ugly. It has a lot of macros (like ClamptoQuantum) and functions running on the host (mwcGenerateDifferentialNoise is elsewhere in the same file), but perhaps if it's an LLVM assembler bug those don't matter. The initialization code for the OpenCL context, by the way, is entirely separate and also rather ugly (I presume so they can load it early and "drop it in" when needed). Here is a link to the source of my exact version (which I know is old, sorry about that) so you can look at any surrounding context necessary: http://distfiles.icmpv6.org/distfiles/ImageMagick-6.9.2-6.tar.xz Note that this kernel can be found in magick/accelerate-private.h -- the error pointing to magick/accelerate.c is where the kernel is initialized. -- You are receiving this mail because: You are the assignee for the bug. --14531708310.2f31.23977 Date: Tue, 19 Jan 2016 02:33:51 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 2 on bug 93748 from
Created attachment 121124 [details]
GenerateNoiseImage kernel

Here is their kernel. It's rather ugly.

It has a lot of macros (like ClamptoQuantum) and functions running on the host
(mwcGenerateDifferentialNoise is elsewhere in the same file), but perhaps if
it's an LLVM assembler bug those don't matter.

The initialization code for the OpenCL context, by the way, is entirely
separate and also rather ugly (I presume so they can load it early and "drop it
in" when needed).

Here is a link to the source of my exact version (which I know is old, sorry
about that) so you can look at any surrounding context necessary:

http://distfiles.icmpv6.org/distfiles/ImageMagick-6.9.2-6.tar.xz

Note that this kernel can be found in magick/accelerate-private.h -- the error
pointing to magick/accelerate.c is where the kernel is initialized.


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