<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 - [BXT]gem_mmap_gtt/copy* are killiing process, out of memory"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100589">100589</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BXT]gem_mmap_gtt/copy* are killiing process, out of memory
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI 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>DRM/Intel
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>elio.martinez.monroy@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=130706" name="attach_130706" title="dmesg log">attachment 130706</a> <a href="attachment.cgi?id=130706&action=edit" title="dmesg log">[details]</a></span>
dmesg log

The following test cases are following showing "out of memory"

gme_mmap_gtt@swap-copy
gem_mmap_gtt@swap-copy-odd
gem_mmap_gtt@swap-copy-xy

Steps to reproduce:

1. install IGT
2. execute $ sudo -E ./gem_mmap_gtt --run-subtest copy
                                                  copy-xy
                                                  copy-odd

Expected result:

Test should pass

Actual results: Fail

Output:

IGT-Version: 1.18-g56741ce (x86_64) (Linux:
4.11.0-rc5-drm-tip-qa-ww14-commit-5bc82ec+ x86_64)
Writing a 100%
child 0 died with signal 9, Killed
Subtest swap-copy failed.
**** DEBUG ****
(gem_mmap_gtt:1552) intel-os-DEBUG: Checking 2 surfaces of size 969,412,608
bytes (total 1,938,829,312) against RAM + swap
(gem_mmap_gtt:1552) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_mmap_gtt:1552) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_mmap_gtt:1552) intel-os-DEBUG: Test requirement passed:
__intel_check_memory(count, size, mode, &required, &total)
(gem_mmap_gtt:1552) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
****  END  ****
Subtest swap-copy: FAIL (1.894s)

Configuration:

Configuration:

Kernel version:
4.11.0-rc5   commit-5bc82ec

Component         : drm
        url       : <a href="http://cgit.freedesktop.org/mesa/drm">http://cgit.freedesktop.org/mesa/drm</a>
        tag       : libdrm-2.4.76-16-g6312017
        commit    : 6312017
        author    : Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>>
        age       : Mon Apr 3 18:01:49 2017 +0100 7 hours ago
        comment   : configure.ac: bring back pthread-stubs check


Component         : mesa
        url       : <a href="http://cgit.freedesktop.org/mesa/mesa">http://cgit.freedesktop.org/mesa/mesa</a>
        tag       : 17.0-branchpoint-2397-g405ef7b
        commit    : 405ef7b
        author    : Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>>
        age       : Mon Apr 3 16:58:35 2017 -0700 30 minutes ago
        comment   : intel/vec4: Add some fall through comments



Component         : xf86-video-intel
        url       : <a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel</a>
        tag       : 2.99.917-770-gcb6ba2d
        commit    : cb6ba2d
        author    : Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
        age       : Sat Mar 25 01:21:46 2017 +0000 10 days ago

Component         : libva
        url       : <a href="http://cgit.freedesktop.org/libva">http://cgit.freedesktop.org/libva</a>
        tag       : libva-1.7.3.pre1-85-gefc164d
        commit    : efc164d
        author    : Xiang Haihao <<a href="mailto:haihao.xiang@intel.com">haihao.xiang@intel.com</a>>
        age       : Tue Mar 7 23:42:43 2017 +0800 4 weeks ago
        comment   : Bump libva to 1.8.1.pre1 for development


Component         : intel-driver
        url       : <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
        tag       : 1.7.3-359-g437cbe0
        commit    : 437cbe0
        author    : Víctor Manuel Jáquez Leal <<a href="mailto:vjaquez@igalia.com">vjaquez@igalia.com</a>>
        age       : Wed Mar 29 08:29:46 2017 +0800 6 days ago
        comment   : gen8: accept P010 as valid format



Component         : cairo
        url       : <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
        tag       : 1.15.4-11-gcffa452
        commit    : cffa452
        author    : Debarshi Ray <<a href="mailto:debarshir@freedesktop.org">debarshir@freedesktop.org</a>>
        age       : Wed Mar 15 20:26:22 2017 -0700 3 weeks ago
        comment   : doc: Clarify when the device scale is inherited and when 
Component         : xserver
        url       : <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a>
        tag       : xorg-server-1.19.0-184-ge4d0757
        commit    : e4d0757
        author    : Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>>
        age       : Thu Mar 30 11:32:02 2017 -0400 4 days ago
        comment   : xfree86: Remove driver entity hooks and private



Component         : macros
        url       : <a href="https://cgit.freedesktop.org/xorg/util/macros">https://cgit.freedesktop.org/xorg/util/macros</a>
        tag       : util-macros-1.19.1-2-g39f07f7
        commit    : 39f07f7
        author    : Emil Velikov <<a href="mailto:emil.veliko@collabora.com">emil.veliko@collabora.com</a>>
        age       : Mon Feb 20 10:16:40 2017 +1000 6 weeks ago
        comment   : Rework INSTALL_CMD to touch/echo >&2 only as needed



Component         : intel-gpu-tools
        url       : <a href="https://cgit.freedesktop.org/xorg/app/intel-gpu-tools">https://cgit.freedesktop.org/xorg/app/intel-gpu-tools</a>
        tag       : intel-gpu-tools-1.18-56-g56741ce
        commit    : 56741ce
        author    : Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
        age       : Mon Apr 3 19:19:42 2017 +0100 6 hours ago
        comment   : tests/gem_media_fill: Fixup typo



Component         : piglit
        url       : <a href="https://cgit.freedesktop.org/piglit">https://cgit.freedesktop.org/piglit</a>
        tag       : piglit-v1
        commit    : 3d1cbd9
        author    : Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>>
        age       : Mon Apr 3 15:46:33 2017 -0700 2 hours ago
        comment   : glslparsertest: Add test case for FDO <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glsl/ir.cpp:1376: ir_dereference_variable::ir_dereference_variable(ir_variable*): Assertion `var != NULL' failed."
   href="show_bug.cgi?id=100438">bug #100438</a>.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>