<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 - [BSW]OpenCL/utests hang sporadically"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91078">91078</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BSW]OpenCL/utests hang sporadically
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mengmeng.meng@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116682" name="attach_116682" title="dmesg">attachment 116682</a> <a href="attachment.cgi?id=116682&action=edit" title="dmesg">[details]</a></span>
dmesg

==Regression==
--------------------------
Regression: No. 
Ubuntu: 14.04

==kernel==
--------------------------
drm-intel-next-queued: git-8c6cda

==Test cases==
Beignet: git://anongit.freedesktop.org/git/beignet (master git-e64445f)


==Bug detailed description==
-----------------------------
OpenCL/utests may hang on BSW sporadically(~20%). And the fail tests are not
specific. The issue doesn't exist on other platforms(IVB/HSW/BDW).
Please see the attached dmesg.

(gdb) bt
==================
#0  0x00007f6fb5bb1337 in ioctl () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6fb4cd6e74 in drmIoctl (fd=6, request=request@entry=1074553951,
arg=arg@entry=0x7ffdca8d7840) at xf86drm.c:164
#2  0x00007f6fb4ee68f7 in drm_intel_gem_bo_map (bo=0x1505f50, write_enable=1)
at intel_bufmgr_gem.c:1325
#3  0x00007f6fb5880446 in cl_mem_map (mem=0x14dc4a0, write=write@entry=1) at
/home/OpenCL/beignet/src/cl_mem.c:1908
#4  0x00007f6fb586f223 in clMapBufferIntel (mem=<optimized out>,
errcode_ret=0x7ffdca8d790c) at /home/OpenCL/beignet/src/cl_api.c:3215
#5  0x00007f6fb65af04e in test_copy_buf (sz=1024, cb=512, dst_off=0,
src_off=<optimized out>) at /home/OpenCL/beignet/utests/enqueue_copy_buf.cpp:24
#6  enqueue_copy_buf () at /home/OpenCL/beignet/utests/enqueue_copy_buf.cpp:61
#7  0x00007f6fb65af4bd in __ANON__enqueue_copy_buf__ () at
/home/OpenCL/beignet/utests/enqueue_copy_buf.cpp:66
#8  0x00007f6fb63b92df in UTest::runAllNoIssue () at
/home/OpenCL/beignet/utests/utest.cpp:169
#9  0x0000000000401786 in main (argc=1, argv=0x7ffdca8d8308) at
/home/OpenCL/beignet/utests/utest_run.cpp:104

==Reproduce steps==
---------------------------- 
1. utests/utest_run</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>