<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [r600g]OpenCL driver causes ImageMagick to segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93748">93748</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[r600g]OpenCL driver causes ImageMagick to segfault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nixscripter@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=121096" name="attach_121096" title="Output of /usr/bin/display">attachment 121096</a> <a href="attachment.cgi?id=121096&action=edit" title="Output of /usr/bin/display">[details]</a></span>
Output of /usr/bin/display

If I compile ImageMagick with OpenCL support, and use the display utility to
view any image, the program segfaults before anything is rendered with the
attached LLVM error.

I'm using ImageMagick 6.2.9.6, though it has failed on several previous
versions also.

The relevant piece of source code is in magick/accelerate.c, a gigantic list of
OpenCL stuff (which I must admit I am ill-equipped to read). The function it
complains about, GenerateNoiseImage, seems to start on line 428.

I'm using LLVM r254897 from SVN, and Mesa commit 9214664 (r74971).

My card is:
Advanced Micro Devices, Inc. [AMD/ATI] Juniper PRO [Radeon HD 6750]

Please let me know if you need more information.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>