https://bugs.freedesktop.org/show_bug.cgi?id=96488
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 at lists.freedesktop.org Reporter: nixscripter at gmail.com QA Contact: dri-devel at lists.freedesktop.org Created attachment 124469 --> https://bugs.freedesktop.org/attachment.cgi?id=124469&action=edit 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: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160611/2d8de6b5/attachment.html>