All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 96488] [r600g]OpenCL driver causes segfault in ImageMagick's Histogram kernel
@ 2016-06-11  0:55 bugzilla-daemon
  2016-06-11  0:55 ` bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2016-06-11  0:55 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1536 bytes --]

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@lists.freedesktop.org
          Reporter: nixscripter@gmail.com
        QA Contact: dri-devel@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.

[-- Attachment #1.2: Type: text/html, Size: 3111 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-01-22  6:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-11  0:55 [Bug 96488] [r600g]OpenCL driver causes segfault in ImageMagick's Histogram kernel bugzilla-daemon
2016-06-11  0:55 ` bugzilla-daemon
2016-06-11  3:26 ` bugzilla-daemon
2016-06-11 11:45 ` bugzilla-daemon
2016-06-11 13:47 ` bugzilla-daemon
2016-06-11 19:15 ` bugzilla-daemon
2016-06-12 12:41 ` bugzilla-daemon
2016-06-12 23:13 ` bugzilla-daemon
2016-12-23  5:45 ` bugzilla-daemon
2016-12-23 15:28 ` bugzilla-daemon
2016-12-29  3:25 ` bugzilla-daemon
2017-01-16 21:36 ` bugzilla-daemon
2017-01-22  6:59 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.