Bug 101263 - [IGT] [BSW] gem_tiled_fence_blits@normal Segmentation fault (core dumped)
Summary: [IGT] [BSW] gem_tiled_fence_blits@normal Segmentation fault (core dumped)
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-01 00:02 UTC by Humberto Israel Perez Rodriguez
Modified: 2018-02-27 16:01 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/Other


Attachments
dmesg.log (91.92 KB, text/plain)
2017-06-01 00:02 UTC, Humberto Israel Perez Rodriguez
no flags Details
kern.log (146.37 KB, text/plain)
2017-06-01 00:02 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Humberto Israel Perez Rodriguez 2017-06-01 00:02:27 UTC
Created attachment 131627 [details]
dmesg.log

The following test case produces Segmentation fault (core dumped) on BSW with latest configuration

test case
====================================
igt@gem_tiled_fence_blits@normal

test output
=====================================

IGT-Version: 1.18-g00ce341 (x86_64) (Linux: 4.12.0-rc3-drm-tip-ww22-commit-4aa1d46+ x86_64)
(gem_tiled_fence_blits:1301) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_tiled_fence_blits:1301) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_tiled_fence_blits:1301) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_tiled_fence_blits:1301) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_tiled_fence_blits:1301) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_tiled_fence_blits:1301) igt-core-DEBUG: Starting subtest: normal
(gem_tiled_fence_blits:1301) intel-os-DEBUG: Checking 6,144 surfaces of size 1,048,576 bytes (total 6,445,596,672) against RAM
(gem_tiled_fence_blits:1301) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_tiled_fence_blits:1301) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_tiled_fence_blits:1301) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_tiled_fence_blits:1301) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
Using 6145 1MiB buffers
Received signal SIGSEGV.
Stack trace:
 #0 [fatal_sig_handler+0x1a6]
 #1 [killpg+0x40]
 #2 [run_test+0x119]
 #3 [<unknown>+0x119]
Subtest normal: CRASH (14.878s)
Received signal SIGSEGV.
Stack trace:
 #0 [fatal_sig_handler+0x1a6]
 #1 [killpg+0x40]
 #2 [<unknown>+0x40]
(:1301) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Segmentation fault (core dumped)



Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-4aa1d46+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 0.33
bios release date           : 08/12/2015
ksc                         : 0.16


Graphic drivers
===================================================
Component: drm
    tag: libdrm-2.4.80-18-gce9e3ba
    commit: ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4

Component: cairo
    tag: 1.15.4-22-g0fd0fd0
    commit: 0fd0fd0ae9ad8cfb177bb844091de98c0235917e

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-211-g00ce341
    commit: 00ce341b95c718611689ded8ccec45086186c5b7

Component: piglit
    tag: piglit-v1
    commit: ebbb9c5dcc6a637884d54e06eb430a8c14993413

kernel
===================================================
commit 4aa1d46d3b24bbe545cdf7cbd407c18f5cd5e43d
Author:     Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Wed May 31 10:59:05 2017 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Wed May 31 10:59:05 2017 +0200

    drm-tip: 2017y-05m-31d-08h-58m-36s UTC integration manifest
	
======================================
             Hardware
======================================
platform                   : BSW
motherboard model          : 10G9000NUS
motherboard id             : BRASWELL
form factor                : Desktop
manufacturer               : LENOVO
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
gpu card                   : Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
memory ram                 : 7.68 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 76
cpu stepping               : 3
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 76, Stepping 3
hard drive                 : 476GiB (512GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3


======================================
             kernel parameters
======================================
quiet drm.debug=0xe auto panic=1 nmi_watchdog=panic resume=/dev/sda3 fastboot


Attachments
=====================================
kern.log
dmesg.log
Comment 1 Humberto Israel Perez Rodriguez 2017-06-01 00:02:40 UTC
Created attachment 131628 [details]
kern.log
Comment 2 Chris Wilson 2017-07-28 15:49:10 UTC
Looks like NOTOURBUG. But at the same time some memory management changes were made that might look like this. This needs confirmation as to whether it is still an issue on that machine with drm-tip.
Comment 3 Hector Velazquez 2017-07-31 20:35:33 UTC
The following tests FAIL on BSW with this configuration

Tests List:

igt@gem_tiled_fence_blits@normal



This is my configuration:

**************************************************************
* * * * * * * * HARDWARE SPECIFICATIONS * * * * * * * * * * * 
**************************************************************

==============================================================
Essentials
==============================================================
Processor Number			N3700
Status					Launched
Launch Date				Q1'15
Lithography				14 nm


==============================================================
Performance
==============================================================
# of Cores				4
# of Threads				4
Processor Base Frequency		1.60 GHz
Burst Frequency				2.40 GHz
Cache					2 MB L2
TDP					6 W
Scenario Design Power (SDP)		4 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			8 GB
Memory Types				DDR3L-1600
Max # of Memory Channels		2
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® HD Graphics
Graphics Base Frequency			400.00 MHz
Graphics Burst Frequency		700.00 MHz
Graphics Video Max Memory		8 GB
Graphics Output				eDP/DP/HDMI
Execution Units				16
DirectX* Support			Yes
OpenGL* Support				Yes
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		No
Intel® Clear Video HD Technology	Yes
Intel® Clear Video Technology		Yes
Intel® Wireless Display 		Yes
# of Displays Supported 		3


====================================================
Graphic Stack
====================================================

Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787
Comment 4 Elizabeth 2017-10-11 21:19:01 UTC
(In reply to Chris Wilson from comment #2)
> Looks like NOTOURBUG. But at the same time some memory management changes
> were made that might look like this. This needs confirmation as to whether
> it is still an issue on that machine with drm-tip.
Still failing on the same machine:
$ : sudo -E ./gem_tiled_fence_blits --r normal
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
Using 6145 1MiB buffers
Received signal SIGSEGV.
Stack trace:
 #0 [fatal_sig_handler+0x1a6]
 #1 [killpg+0x40]
 #2 [run_test+0x119]
 #3 [<unknown>+0x119]
Subtest normal: CRASH (7.242s)
Received signal SIGSEGV.
Stack trace:
 #0 [fatal_sig_handler+0x1a6]
 #1 [killpg+0x40]
 #2 [<unknown>+0x40]
Segmentation fault (core dumped)
Comment 5 Chris Wilson 2017-10-11 21:45:39 UTC
With the same NOTOURBUG trace?
Comment 6 Elizabeth 2017-10-12 13:33:49 UTC
(In reply to Chris Wilson from comment #5)
> With the same NOTOURBUG trace?
Seems so, do you need further information (kern.log, dmesg, --debug in the test) or is definitely NOTOURBUG (Whose then, HW's?)? Thank you.
Comment 7 Elizabeth 2018-02-27 16:01:22 UTC
According to our results, this test haven't been failing since commit-6a58f7b+ and IGT-Version: 1.21-g94bd67c, so closing. Thanks.


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.