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 [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 actually
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.


You are receiving this mail because: