Bug 68363

Summary: [PNV/ILK Bisected]igt/gem_ctx_bad_destroy fail
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-21 02:40:45 UTC
Created attachment 84365 [details]
dmesg

System Environment:
--------------------------
Platform:    Pineview/Ironlake
Kernel:     (drm-intel-next-queued)73197d2693a9c0d9f91bd202005c4055e13decf5

Bug detailed description:
-----------------------------
It fails on pineview and ironlake with -queued,-fixes and -nightly kernel.
Following cases also fail:
igt/gem_ctx_bad_exec/blt	
igt/gem_ctx_bad_exec/bsd	
igt/gem_ctx_bad_exec/render	
igt/gem_ctx_bad_exec/vebox	
igt/gem_ctx_exec	

Bisect shows: 9ad062d0b30f307cd5045ba03eeb7d2fa90487b0 is the first bad commit.
commit 9ad062d0b30f307cd5045ba03eeb7d2fa90487b0
Author:     Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Mon Aug 19 10:55:28 2013 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Mon Aug 19 10:55:28 2013 +0200

    lib/drmtest: extract gem_create_context

    libdrm requirements are now up to it.

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

output:
Test assertion failure function gem_context_create, file drmtest.c:536:
Failed assertion: ret == 0

Reproduce steps:
----------------------------
1. ./gem_ctx_bad_destroy
Comment 1 Daniel Vetter 2013-08-21 08:30:57 UTC
Fixed with:

commit e075e7b43ce54573df296bed3477e1d32d357176
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Aug 21 10:22:13 2013 +0200

    lib/drmtest: fix logic fumble in gem_context_create
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68363
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Comment 2 lu hua 2013-08-23 02:29:54 UTC
Verified. Fixed.
Comment 3 Elizabeth 2017-10-06 14:43:46 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.