[Bug 100584] New: [BXT] gem_ctx_create/maximum-swap page allocation failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 5 16:22:58 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100584

            Bug ID: 100584
           Summary: [BXT] gem_ctx_create/maximum-swap page allocation
                    failure
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: elio.martinez.monroy at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 130699
  --> https://bugs.freedesktop.org/attachment.cgi?id=130699&action=edit
dmesg file

The following test is failing "gem_ctx_create at maximum-swap" causing a page
allocation failure:

Reproduce steps:

1.-Install IGT tools
2.-Execute $./sudo -E ./gem_ctx_create --run-subtest maximum-swap

Expected results:

The test should pass

Actual Result: fail

IGT-Version: 1.18-g56741ce (x86_64) (Linux:
4.11.0-rc5-drm-tip-qa-ww14-commit-5bc82ec+ x86_64)
Created 8615 contexts, before failing with 'Cannot allocate memory' [12]
(gem_ctx_create:1538) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:624:
(gem_ctx_create:1538) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_ctx_create:1538) ioctl-wrappers-CRITICAL: error: -12 != 0
(gem_ctx_create:1539) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_execbuf, file ioctl_wrappers.c:624:
(gem_ctx_create:1539) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_execbuf(fd, execbuf) == 0
(gem_ctx_create:1539) ioctl-wrappers-CRITICAL: error: -12 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf+0x44]
  #2 [maximum+0x334]
  #3 [__real_main301+0x161]
  #4 [main+0x33]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf+0x44]
  #2 [maximum+0x334]
  #3 [__real_main301+0x161]
  #4 [main+0x33]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest maximum-swap failed.
**** DEBUG ****
(gem_ctx_create:1534) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_ctx_create:1534) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_ctx_create:1534) INFO: Created 8615 contexts, before failing with 'Cannot
allocate memory' [12]
(gem_ctx_create:1534) DEBUG: Test requirement passed: count
****  END  ****
child 2 failed with exit status 99
Subtest maximum-swap: FAIL (114.214s)

Configuration:

Kernel version:
4.11.0-rc5   commit-5bc82ec

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


Component         : mesa
        url       : http://cgit.freedesktop.org/mesa/mesa
        tag       : 17.0-branchpoint-2397-g405ef7b
        commit    : 405ef7b
        author    : Jason Ekstrand <jason at jlekstrand.net>
        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       : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel
        tag       : 2.99.917-770-gcb6ba2d
        commit    : cb6ba2d
        author    : Chris Wilson <chris at chris-wilson.co.uk>
        age       : Sat Mar 25 01:21:46 2017 +0000 10 days ago

Component         : libva
        url       : http://cgit.freedesktop.org/libva
        tag       : libva-1.7.3.pre1-85-gefc164d
        commit    : efc164d
        author    : Xiang Haihao <haihao.xiang at intel.com>
        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       : http://cgit.freedesktop.org/vaapi/intel-driver
        tag       : 1.7.3-359-g437cbe0
        commit    : 437cbe0
        author    : Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
        age       : Wed Mar 29 08:29:46 2017 +0800 6 days ago
        comment   : gen8: accept P010 as valid format



Component         : cairo
        url       : http://cgit.freedesktop.org/cairo
        tag       : 1.15.4-11-gcffa452
        commit    : cffa452
        author    : Debarshi Ray <debarshir at freedesktop.org>
        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       : http://cgit.freedesktop.org/xorg/xserver
        tag       : xorg-server-1.19.0-184-ge4d0757
        commit    : e4d0757
        author    : Adam Jackson <ajax at redhat.com>
        age       : Thu Mar 30 11:32:02 2017 -0400 4 days ago
        comment   : xfree86: Remove driver entity hooks and private



Component         : macros
        url       : https://cgit.freedesktop.org/xorg/util/macros
        tag       : util-macros-1.19.1-2-g39f07f7
        commit    : 39f07f7
        author    : Emil Velikov <emil.veliko at collabora.com>
        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       : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
        tag       : intel-gpu-tools-1.18-56-g56741ce
        commit    : 56741ce
        author    : Chris Wilson <chris at chris-wilson.co.uk>
        age       : Mon Apr 3 19:19:42 2017 +0100 6 hours ago
        comment   : tests/gem_media_fill: Fixup typo



Component         : piglit
        url       : https://cgit.freedesktop.org/piglit
        tag       : piglit-v1
        commit    : 3d1cbd9
        author    : Vinson Lee <vlee at freedesktop.org>
        age       : Mon Apr 3 15:46:33 2017 -0700 2 hours ago
        comment   : glslparsertest: Add test case for FDO bug #100438.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170405/71e4dea7/attachment-0001.html>


More information about the intel-gfx-bugs mailing list