Bug 111062

Summary: [CI][DRMTIP] igt@gem_create@create-clear - dmesg-fail - Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: SKL i915 features: firmware/guc, GEM/Other

Description Lakshmi 2019-07-04 11:44:58 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_320/fi-skl-guc/igt@gem_create@create-clear.html

Starting subtest: create-clear
(gem_create:1388) ioctl_wrappers-CRITICAL: Test assertion failure function gem_read, file ../lib/ioctl_wrappers.c:388:
(gem_create:1388) ioctl_wrappers-CRITICAL: Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
(gem_create:1388) ioctl_wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_create:1388) ioctl_wrappers-CRITICAL: error: -12 != 0
Subtest create-clear failed.
**** DEBUG ****
(gem_create:1388) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_create:1388) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_create:1388) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_create:1388) ioctl_wrappers-CRITICAL: Test assertion failure function gem_read, file ../lib/ioctl_wrappers.c:388:
(gem_create:1388) ioctl_wrappers-CRITICAL: Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
(gem_create:1388) ioctl_wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_create:1388) ioctl_wrappers-CRITICAL: error: -12 != 0
(gem_create:1388) igt_core-INFO: Stack trace:
(gem_create:1388) igt_core-INFO:   #0 ../lib/igt_core.c:1514 __igt_fail_assert()
(gem_create:1388) igt_core-INFO:   #1 ../lib/ioctl_wrappers.c:389 gem_read()
(gem_create:1388) igt_core-INFO:   #2 [<unknown>+0x7663fc00]
****  END  ****
Subtest create-clear: FAIL (4.183s)
Comment 1 CI Bug Log 2019-07-04 11:50:01 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* GUC: igt@gem_create@create-clear - dmesg-fail - Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_320/fi-skl-guc/igt@gem_create@create-clear.html
Comment 2 Chris Wilson 2019-07-04 11:58:03 UTC
commit c03467ba40f783ebe756114bb68e13a6b404c03a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Jul 3 10:17:17 2019 +0100

    drm/i915/gem: Free pages before rcu-freeing the object

should help a lot.
Comment 3 Martin Peres 2019-08-21 12:40:36 UTC
(In reply to Chris Wilson from comment #2)
> commit c03467ba40f783ebe756114bb68e13a6b404c03a
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Wed Jul 3 10:17:17 2019 +0100
> 
>     drm/i915/gem: Free pages before rcu-freeing the object
> 
> should help a lot.

Looks good! Thanks!
Comment 4 CI Bug Log 2019-08-21 12:40:45 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.