Bug 101234 - [BAT][CTG] (gem_mmap_gtt:3095) Failed assertion: memcmp(ptr , linear_pattern, PAGE_SIZE) == 0
Summary: [BAT][CTG] (gem_mmap_gtt:3095) Failed assertion: memcmp(ptr , linear_pattern,...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 14:40 UTC by Martin Peres
Modified: 2017-07-05 09:51 UTC (History)
1 user (show)

See Also:
i915 platform: GM45
i915 features: GEM/Other


Attachments

Description Martin Peres 2017-05-30 14:40:04 UTC
Ever since we swapped fi-ctg-l9400 for another one (https://bugs.freedesktop.org/show_bug.cgi?id=101089), we started randomly hitting an assert when running igt@gem_mmap_gtt@basic-small-bo-tiledx:

(gem_mmap_gtt:3095) CRITICAL: Test assertion failure function test_huge_bo, file gem_mmap_gtt.c:518:
(gem_mmap_gtt:3095) CRITICAL: Failed assertion: memcmp(ptr , linear_pattern, PAGE_SIZE) == 0
Subtest basic-small-bo-tiledX failed.
**** DEBUG ****
(gem_mmap_gtt:3095) intel-chipset-DEBUG: Test requirement passed: pci_dev
(gem_mmap_gtt:3095) intel-os-DEBUG: Checking 1 surfaces of size 134217728 bytes (total 134221824) against RAM
(gem_mmap_gtt:3095) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_mmap_gtt:3095) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_mmap_gtt:3095) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_mmap_gtt:3095) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_mmap_gtt:3095) DEBUG: Test requirement passed: __gem_set_tiling(fd, bo, tiling, pitch) == 0
(gem_mmap_gtt:3095) DEBUG: Test requirement passed: __gem_set_tiling(fd, bo, tiling, pitch) == 0
(gem_mmap_gtt:3095) DEBUG: Test requirement passed: ptr
(gem_mmap_gtt:3095) CRITICAL: Test assertion failure function test_huge_bo, file gem_mmap_gtt.c:518:
(gem_mmap_gtt:3095) CRITICAL: Failed assertion: memcmp(ptr , linear_pattern, PAGE_SIZE) == 0
****  END  ****

So far, it has happened 4 out of the 5 runs of the new machine.

Full logs: https://intel-gfx-ci.01.org/CI/CI_DRM_2671/fi-ctg-l9400/igt@gem_mmap_gtt@basic-small-bo-tiledx.html
Comment 1 Jani Saarinen 2017-06-16 09:38:03 UTC
updating statistics.
Last seen: 2017-05-30	
Statistics: Failure rate 2/59 run(s) (3%)
Potential drop candidate.
Comment 2 Martin Peres 2017-07-05 09:51:11 UTC
This used to be very reproducable, but not in over a month. Let's call this fixed!


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.