Bug 88686

Summary: [all]igt/gem_tiled_wc crash
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2015-01-22 02:05:21 UTC
Created attachment 112635 [details]
dmesg

==System Environment==
--------------------------
Regression:  not sure It always crash since we run it. 
no-working platforms: all

==kernel==
--------------------------
drm-intel-nightly/d6bc7a6a0a7573350e8be8ec54002c20d1dbe1e0
commit d6bc7a6a0a7573350e8be8ec54002c20d1dbe1e0
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Jan 20 15:10:59 2015 +0100

    drm-intel-nightly: 2015y-01m-20d-14h-10m-40s UTC integration manifest

==Bug detailed description==
-----------------------------
It always crash since we run it on drm-intel-nightly kernel, It's skip on drm-intel-fixes kernel.

output:
IGT-Version: 1.9-g3d65ff7 (x86_64) (Linux: 3.19.0-rc4_drm-intel-nightly_d6bc7a_20150121+ x86_64)
Segmentation fault (core dumped)

==Reproduce steps==
---------------------------- 
1. ./gem_tiled_wc
Comment 1 Chris Wilson 2015-01-22 08:01:20 UTC
commit 5e9fac54918e424d928bc15b90e4c65d4cfdd356
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jan 22 07:52:09 2015 +0000

    igt/gem_tiled_wc: Fix! Finish!
    
    It helps when testing whether tiled data read back through a linear
    mmaping to first tile the data. And not repeatedly unmapping the linear
    map stops it from segfaulting.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88686
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 lu hua 2015-01-26 01:27:42 UTC
Test on the latest -nightly kernel and igt, it still fail.

output:
IGT-Version: 1.9-gfa94e01 (x86_64) (Linux: 3.19.0-rc5_drm-intel-nightly_67e9eb_20150125+ x86_64)
(gem_tiled_wc:4178) CRITICAL: Test assertion failure function __real_main131, file gem_tiled_wc.c:235:
(gem_tiled_wc:4178) CRITICAL: Failed assertion: expected_val == found_val
(gem_tiled_wc:4178) CRITICAL: Bad read [1]: 207002 instead of 2074 at 0x00000868 for read from 0x00000868 to 0x000350d8, swizzle=none
Comment 3 Chris Wilson 2015-01-26 08:54:14 UTC
(In reply to lu hua from comment #2)
> Test on the latest -nightly kernel and igt, it still fail.
> 
> output:
> IGT-Version: 1.9-gfa94e01 (x86_64) (Linux:
> 3.19.0-rc5_drm-intel-nightly_67e9eb_20150125+ x86_64)
> (gem_tiled_wc:4178) CRITICAL: Test assertion failure function
> __real_main131, file gem_tiled_wc.c:235:
> (gem_tiled_wc:4178) CRITICAL: Failed assertion: expected_val == found_val
> (gem_tiled_wc:4178) CRITICAL: Bad read [1]: 207002 instead of 2074 at
> 0x00000868 for read from 0x00000868 to 0x000350d8, swizzle=none

That is a genuine failure. Best we track that as a new bug.
Comment 4 lu hua 2015-01-27 01:43:19 UTC
Verified. Fixed, report bug 88816 to track the fail.
Comment 5 Elizabeth 2017-10-06 14:32:01 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.