[Bug 87729] New: [BSW Regression]igt/gem_ctx_thrash causes OOM killer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 25 19:12:06 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87729

            Bug ID: 87729
           Summary: [BSW Regression]igt/gem_ctx_thrash causes OOM killer
           Product: DRI
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: high
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: huax.lu at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 111349
  --> https://bugs.freedesktop.org/attachment.cgi?id=111349&action=edit
dmesg

==System Environment==
--------------------------
Regression: Yes.
Good commit on -next-queued:
372ee59699d9704086dadb084209542d10e28851(2014_12_01)

Non-working platforms: BSW

==kernel==
--------------------------
drm-intel-nightly/4fa23142a15526f4a4b5df61f26eacdd558a849a
commit 4fa23142a15526f4a4b5df61f26eacdd558a849a
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Fri Dec 19 15:33:33 2014 +0100

    drm-intel-nightly: 2014y-12m-19d-14h-33m-07s UTC integration manifest


==Bug detailed description==
-----------------------------
It causes OOM killer on BSW with drm-intel-nightly and drm-intel-next-queued
kernel.

root at x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./gem_ctx_thrash
--run-subtest processes
IGT-Version: 1.9-geb799b2 (x86_64) (Linux:
3.18.0_drm-intel-nightly_4fa231_20141226+ x86_64)
Creating 1536 contexts (assuming of size 2097152)

dmesg:
[   94.514575] Call Trace:
[   94.514591]  [<ffffffff8178d5e2>] ? dump_stack+0x41/0x51
[   94.514599]  [<ffffffff8178ac83>] ? dump_header.isra.10+0x69/0x191
[   94.514608]  [<ffffffff8107f537>] ? ktime_get+0x44/0x80
[   94.514617]  [<ffffffff8133894a>] ? ___ratelimit+0xae/0xc8
[   94.514626]  [<ffffffff810d1bc4>] ? oom_kill_process+0x76/0x330
[   94.514631]  [<ffffffff810d1981>] ? find_lock_task_mm+0x22/0x6e
[   94.514639]  [<ffffffff810406de>] ? has_ns_capability_noaudit+0xe/0x15
[   94.514645]  [<ffffffff810d23fb>] ? out_of_memory+0x41f/0x452
[   94.514654]  [<ffffffff810d638a>] ? __alloc_pages_nodemask+0x65e/0x7aa
[   94.514695]  [<ffffffffa009d8df>] ? __hw_ppgtt_init+0x3cd/0x8a5 [i915]
[   94.514704]  [<ffffffff81104d10>] ? alloc_pages_current+0xaf/0xcc
[   94.514732]  [<ffffffffa009d8df>] ? __hw_ppgtt_init+0x3cd/0x8a5 [i915]
[   94.514760]  [<ffffffffa009d8fa>] ? __hw_ppgtt_init+0x3e8/0x8a5 [i915]
[   94.514768]  [<ffffffff81335128>] ? idr_get_empty_slot+0x1dd/0x2fa
[   94.514778]  [<ffffffff81334c03>] ? idr_mark_full+0x49/0x52
[   94.514811]  [<ffffffffa009e161>] ? i915_ppgtt_init+0x12/0x50 [i915]
[   94.514841]  [<ffffffffa009e41e>] ? i915_ppgtt_create+0x33/0x8f [i915]
[   94.514868]  [<ffffffffa0097ece>] ? i915_gem_create_context+0x1b3/0x26e
[i915]
[   94.514897]  [<ffffffffa00982f2>] ? i915_gem_context_open+0x34/0x5c [i915]
[   94.514929]  [<ffffffffa00a2ceb>] ? i915_gem_open+0xbf/0xe3 [i915]
[   94.514949]  [<ffffffffa000ee2d>] ? drm_open+0x209/0x40e [drm]
[   94.514978]  [<ffffffffa0013c7d>] ? drm_stub_open+0xb5/0xe4 [drm]
[   94.514987]  [<ffffffff811139ae>] ? chrdev_open+0x12b/0x154
[   94.514993]  [<ffffffff81113883>] ? cdev_put+0x19/0x19
[   94.515002]  [<ffffffff8110e5cd>] ? do_dentry_open+0x184/0x2a6
[   94.515009]  [<ffffffff8111b8ed>] ? do_last+0x942/0xb75
[   94.515015]  [<ffffffff811185d6>] ? __inode_permission+0x53/0x6e
[   94.515021]  [<ffffffff8111870e>] ? link_path_walk+0x64/0x74a
[   94.515028]  [<ffffffff8111bd4d>] ? path_openat+0x22d/0x5b9
[   94.515034]  [<ffffffff8111c97a>] ? do_filp_open+0x2d/0x75
[   94.515042]  [<ffffffff8112611d>] ? __alloc_fd+0x58/0xe3
[   94.515048]  [<ffffffff8110f740>] ? do_sys_open+0x14b/0x1cf
[   94.515057]  [<ffffffff81792c92>] ? system_call_fastpath+0x12/0x17
[   94.515061] Mem-Info:
[   94.515065] Node 0 DMA per-cpu:
[   94.515070] CPU    0: hi:    0, btch:   1 usd:   0
[   94.515073] CPU    1: hi:    0, btch:   1 usd:   0
[   94.515077] CPU    2: hi:    0, btch:   1 usd:   0
[   94.515081] CPU    3: hi:    0, btch:   1 usd:   0
[   94.515084] Node 0 DMA32 per-cpu:
[   94.515089] CPU    0: hi:  186, btch:  31 usd:   0
[   94.515093] CPU    1: hi:  186, btch:  31 usd:   0
[   94.515097] CPU    2: hi:  186, btch:  31 usd:   0
[   94.515101] CPU    3: hi:  186, btch:  31 usd:   0
[   94.515104] Node 0 Normal per-cpu:
[   94.515108] CPU    0: hi:  186, btch:  31 usd:   0
[   94.515112] CPU    1: hi:  186, btch:  31 usd:   0
[   94.515117] CPU    2: hi:  186, btch:  31 usd:   0
[   94.515120] CPU    3: hi:  186, btch:  31 usd:   0
[   94.515132] active_anon:6019 inactive_anon:2074 isolated_anon:0

[   94.515326] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents
oom_score_adj name
[   94.515337] [ 2484]     0  2484     1113        0       7       25          
  0 sh
[   94.515344] [ 2511]     0  2511     4428      173      13      368          
  0 initctl
[   94.515351] [ 2611]     0  2611     5002        1      13      201          
  0 upstart-udev-br
[   94.515358] [ 2615]     0  2615    12449       19      27      220        
-1000 systemd-udevd
[   94.515364] [ 3385]     0  3385     7444        0      19       62          
  0 rpc.idmapd
[   94.515371] [ 3403]   102  3403     9892      101      23       77          
  0 dbus-daemon
[   94.515376] [ 3443]     0  3443    10864       12      26       75          
  0 systemd-logind
[   94.515383] [ 3466]   101  3466    65535        0      31      176          
  0 rsyslogd
[   94.515390] [ 3512]     0  3512    19215      152      42      122          
  0 cupsd
[   94.515397] [ 3517]     0  3517    82589      103      63      199          
  0 ModemManager
[   94.515402] [ 3520]   111  3520     8089       47      21       30          
  0 avahi-daemon
[   94.515409] [ 3522]   111  3522     8058       30      20       32          
  0 avahi-daemon
[   94.515414] [ 3625]     0  3625    89163      384      70       21          
  0 NetworkManager
[   94.515420] [ 3645]     0  3645    73632      199      48        0          
  0 polkitd
[   94.515425] [ 3652]     0  3652     1113       28       7        0          
  0 sh
[   94.515431] [ 3673]     7  3673    15791      126      34        0          
  0 dbus
[   94.515437] [ 3679]     0  3679     5006       40      13        0          
  0 getty
[   94.515444] [ 3683]     0  3683     5006       42      15        0          
  0 getty
[   94.515450] [ 3689]     0  3689     5006       42      13        0          
  0 getty
[   94.515456] [ 3690]     0  3690     5006       40      13        0          
  0 getty
[   94.515462] [ 3693]     0  3693     5006       41      12        0          
  0 getty
[   94.515469] [ 3716]     0  3716    15343      171      34        0        
-1000 sshd
[   94.515476] [ 3728]     0  3728     4799       60      16        0          
  0 irqbalance
[   94.515482] [ 3732]     0  3732     5916       63      16        0          
  0 cron
[   94.515489] [ 3740]     0  3740     1094       46       8        0          
  0 acpid
[   94.515494] [ 3742]   106  3742     9288       80      22        0          
  0 kerneloops
[   94.515501] [ 3751]   109  3751    90875      356      77        0          
  0 whoopsie
[   94.515508] [ 3845]     0  3845    18840      223      40        0          
  0 cups-browsed
[   94.515513] [ 3857]     0  3857     5857       66      18        0          
  0 rpcbind
[   94.515519] [ 3873]     0  3873     5006       42      13        0          
  0 getty
[   94.515525] [ 3909]   117  3909     5388      114      17        0          
  0 rpc.statd
[   94.515531] [ 3927]     0  3927     2560      576      10        0          
  0 dhclient
[   94.515538] [ 4003]     0  4003     4052      247      12       39          
  0 upstart-file-br
[   94.515544] [ 4020]     0  4020     3883      128      12        0          
  0 upstart-socket-
[   94.515550] [ 4103] 65534  4103     8808       66      23        0          
  0 dnsmasq
[   94.515555] [ 4303]     0  4303    27447      256      56        0          
  0 sshd
[   94.515561] [ 4377]     0  4377     6814      626      18        0          
  0 bash
[   94.515567] [ 4391]     0  4391     1088       18       8        0          
  0 sleep
[   94.515573] [ 4392]     0  4392    18529      121      39        0         
1000 gem_ctx_thrash
[   94.515578] [ 4393]     0  4393    27447      250      57        0          
  0 sshd
[   94.515584] [ 4395]     0  4395     1113       20       7        0          
  0 sh
[   94.515589] [ 4396]     0  4396     1086       20       8        0          
  0 run-parts
[   94.515596] [ 4415]     0  4415     1113       21       7        0          
  0 91-release-upgr
[   94.515601] [ 4416]     0  4416     1113       26       7        0          
  0 91-release-upgr
[   94.515608] [ 4417]     0  4417     5921      495      16        0          
  0 lsb_release
[   94.515615] [ 4418]     0  4418     1093       19       7        0          
  0 cut
[   94.515619] Out of memory: Kill process 4392 (gem_ctx_thrash) score 999 or
sacrifice child
[   94.515775] Killed process 4392 (gem_ctx_thrash) total-vm:74116kB,
anon-rss:484kB, file-rss:0kB


==Reproduce steps==
---------------------------- 
1. ./gem_ctx_thrash --run-subtest processes

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141226/e3a6938c/attachment-0001.html>


More information about the intel-gfx-bugs mailing list