All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 96488] [r600g]OpenCL driver causes segfault in ImageMagick's Histogram kernel
Date: Sat, 11 Jun 2016 00:55:26 +0000	[thread overview]
Message-ID: <bug-96488-502@http.bugs.freedesktop.org/> (raw)


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

             reply	other threads:[~2016-06-11  0:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-11  0:55 bugzilla-daemon [this message]
2016-06-11  0:55 ` [Bug 96488] [r600g]OpenCL driver causes segfault in ImageMagick's Histogram kernel 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-96488-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.