Bug 77421 - [IVB/HSW bisected]Subcase export-vs-gem_close-race of prime_self_import failed
Summary: [IVB/HSW bisected]Subcase export-vs-gem_close-race of prime_self_import failed
Status: CLOSED DUPLICATE of bug 77867
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Mika Kuoppala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 77422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-14 07:54 UTC by Guo Jinxian
Modified: 2017-07-24 22:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
prime_self_import dmesg (66.60 KB, text/plain)
2014-04-14 07:54 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-04-14 07:54:53 UTC
Created attachment 97335 [details]
prime_self_import dmesg

System Environment:
--------------------------
Platform: IVB HSW
kernel:   (drm-intel-nightly)cf8c74f4e33678bc5151df4b68cb7f8c2b51bf6e
intel-gpu-tools: cc730c418f44245c49776059b2564f54da4449e6

Bug detailed description:
----------------------------
Subcase export-vs-gem_close-race of prime_self_import failed.

It's intel-gpu-tools regression issue:

2f2c491cf3167befe7c79e4b17afb4f6284dfc84 is the first bad commit
commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84
Author: Mika Kuoppala <mika.kuoppala@intel.com>
Date:   Fri Mar 28 10:52:46 2014 +0200

    lib/drmtest: don't dup quiescent fd

    If we dup the fd, we are in mercy of the context banning
    of the test application. Better to have our own to guarantee
    that gem_quiescent_gpu won't find itself banned on exit.

    Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>

:040000 040000 ceeb48448f495672745b61fb7e7a61f151f26cc5 4dddf6d79c79df33d39e193bcf81898b149d6973 M      lib



output on -nightly kernel:
[root@x-ivb9 tests]# ./prime_self_import --run-subtest export-vs-gem_close-race
IGT-Version: 1.6-gcc730c4 (x86_64) (Linux: 3.14.0_drm-intel-nightly_cf8c74_20140414_debug+ x86_64)
leaked 1 objects
Test assertion failure function test_export_close_race, file prime_self_import.c:371:
Last errno: 0, Success
Failed assertion: obj_count == 0
Subtest export-vs-gem_close-race: FAIL


Reproduce steps:
---------------------------- 
1.  ./prime_self_import --run-subtest export-vs-gem_close-race
Comment 1 Daniel Vetter 2014-04-15 13:27:13 UTC
*** Bug 77422 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Vetter 2014-04-28 13:18:28 UTC
Possible dupe with bug #77867
Comment 3 Guo Jinxian 2014-04-29 06:33:16 UTC

*** This bug has been marked as a duplicate of bug 77867 ***


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.