<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_ctx_create/maximum-swap page allocation failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100584">100584</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[BXT] gem_ctx_create/maximum-swap page allocation failure
</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=130699" name="attach_130699" title="dmesg file">attachment 130699</a> <a href="attachment.cgi?id=130699&action=edit" title="dmesg file">[details]</a></span>
dmesg file
The following test is failing "gem_ctx_create@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 : <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>