From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96488] [r600g]OpenCL driver causes segfault in ImageMagick's Histogram kernel Date: Sat, 11 Jun 2016 00:55:26 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1220613209==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D7DD26E0E9 for ; Sat, 11 Jun 2016 00:55:26 +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 --===============1220613209== Content-Type: multipart/alternative; boundary="14656065260.BFe92F.7734"; charset="UTF-8" --14656065260.BFe92F.7734 Date: Sat, 11 Jun 2016 00:55:26 +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=3D96488 Bug ID: 96488 Summary: [r600g]OpenCL driver causes segfault in ImageMagick's Histogram kernel Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: nixscripter@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 124469 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124469&action=3Dedit Histogram kernel backtrace If I compile ImageMagick with OpenCL support, the current version segfaults when I attempt to do any operation which computes a histogram. This is actu= ally done frequently internally, so it's more crippling than it first appears. To reproduce: 1. Get the current latest ImageMagick from GitHub: https://github.com/ImageMagick/ImageMagick 2. Compile it with OpenCL support (--enable-opencl flag) 3. Get an image, and try to equalize its colors (based on the histogram): convert input.png -equalize output.png 4. The segfault will occur LLVM version: r272184 Mesa version: commit d5491a8 ImageMagick version: ade0d8e The source code for the Histogram kernel is in MagickCore/accelerate-kernels-private.h, starting on line 1283. --=20 You are receiving this mail because: You are the assignee for the bug.= --14656065260.BFe92F.7734 Date: Sat, 11 Jun 2016 00:55:26 +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 96488
Summary [r600g]OpenCL driver causes segfault in ImageMagick's Histogr= am kernel
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter nixscripter@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 12=
4469 [details]
Histogram kernel backtrace

If I compile ImageMagick with OpenCL support, the current version segfaults
when I attempt to do any operation which computes a histogram. This is actu=
ally
done frequently internally, so it's more crippling than it first appears.

To reproduce:

1. Get the current latest ImageMagick from GitHub:
https://github.com/I=
mageMagick/ImageMagick

2. Compile it with OpenCL support (--enable-opencl flag)

3. Get an image, and try to equalize its colors (based on the histogram):

convert input.png -equalize output.png

4. The segfault will occur

LLVM version: r272184
Mesa version: commit d5491a8
ImageMagick version: ade0d8e

The source code for the Histogram kernel is in
MagickCore/accelerate-kernels-private.h, starting on line 1283.


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