Bug 68299

Summary: [ILK/SNB/IVB Bisected]igt/gem_concurrent_blit/cpu-gpu-read-after-write segfault
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Daniel Vetter <daniel>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2013-08-20 05:20:17 UTC
Created attachment 84299 [details]
dmesg

System Environment:
--------------------------
Platform:    Ironlake/Sandybridge/Ivybridge
Kernel:      (drm-intel-fixes)2156b612b7589caf39eded17545fa6b77e072f10

Bug detailed description:
-----------------------------
It segfault on Ironlake/Sandybridge/Ivybridge with -nightly,-queued and -fixes kernel.
Following cases also segfault:
igt/gem_concurrent_blit/cpu-gpu-read-after-write-interruptible	
igt/gem_concurrent_blit/gtt-gpu-read-after-write	
igt/gem_concurrent_blit/gtt-gpu-read-after-write-interruptible	
igt/gem_concurrent_blit/prw-gpu-read-after-write	
igt/gem_concurrent_blit/prw-gpu-read-after-write-interruptible	

bisect shows:78865847f9fae7e590960f9836f2ec8b611a190e is the first bad commit
commit 78865847f9fae7e590960f9836f2ec8b611a190e
Author:     Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Mon Aug 19 07:23:49 2013 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Mon Aug 19 08:09:25 2013 +0200

    lib/drmtest: skip fixtures after an igt_skip

    This way we can just enclose all igt_skip/igt_require calls into
    fixtures even when we have subtests, and still output correct SKIP
    message for all of them. Wohoo, magic!

    The only thing which doesn't work yet is enumerating failed subtests,
    but I think that should work out on top of this.

    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>


output:
Segmentation fault (core dumped)

Reproduce steps:
----------------------------
1. ./gem_concurrent_blit --run-subtest cpu-gpu-read-after-write
Comment 1 Daniel Vetter 2013-08-20 05:58:46 UTC
This was a fun one, but should be fixed now:

commit 912a7d855600aadb937517ec5bab26bfd9b8953d
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Aug 20 06:39:43 2013 +0200

    tests/gem_concurrent_blit: Fix segmentation fault
Comment 2 lu hua 2013-08-21 07:10:56 UTC
Verified.Fixed.
Comment 3 Elizabeth 2017-10-06 14:43:48 UTC
Closing old verified.

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.