New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X.org crashes with Qubes R3.2 #3487

Closed
dmoerner opened this Issue Jan 22, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@dmoerner

dmoerner commented Jan 22, 2018

Qubes OS version:

R3.2

Steps to reproduce the behavior:

It's hard to reproduce but I've been getting it about once a week. It happens with many appVMs running, but no particularly heavy load on any of them. I think it started happening a few months ago.

X.org crashes, the screen goes blank, and then I return to a login screen. If I login, all the previously running VMs are unusable. Some are yellow, some are green, seemingly at random, but none of them work, and they cannot be killed. I must restart the system to fix this.

Here is a log from dom0 dmesg; let me know if anything else might be useful:

[105178.253424] Xorg invoked oom-killer: gfp_mask=0x240c0d0(GFP_TEMPORARY|__GFP_COMP|__GFP_ZERO), nodemask=0, order=3, oom_score_adj=0
[105178.253426] Xorg cpuset=/ mems_allowed=0
[105178.253430] CPU: 0 PID: 3548 Comm: Xorg Tainted: G     U          4.9.56-21.pvops.qubes.x86_64 #1
[105178.253431] Hardware name: LENOVO 20BSCTO1WW/20BSCTO1WW, BIOS N14ET37W (1.15 ) 09/06/2016
[105178.253433]  ffffc900083cf500 ffffffff813e8e03 ffffc900083cf6d0 ffff88011d633b00
[105178.253435]  ffffc900083cf578 ffffffff81241efd 0000000000000003 0000000000000000
[105178.253437]  0000000000000000 0000000000000000 ffff880130d79b20 0000000000000001
[105178.253439] Call Trace:
[105178.253445]  [<ffffffff813e8e03>] dump_stack+0x63/0x90
[105178.253447]  [<ffffffff81241efd>] dump_header+0x7b/0x1fd
[105178.253450]  [<ffffffff817e0baa>] ? _raw_spin_unlock_irqrestore+0x1a/0x20
[105178.253453]  [<ffffffff811b8939>] oom_kill_process+0x219/0x3e0
[105178.253455]  [<ffffffff811b8e33>] out_of_memory+0x143/0x4d0
[105178.253457]  [<ffffffff811be78a>] __alloc_pages_slowpath+0xbaa/0xbf0
[105178.253459]  [<ffffffff811bea26>] __alloc_pages_nodemask+0x256/0x2c0
[105178.253461]  [<ffffffff81213295>] alloc_pages_current+0x95/0x140
[105178.253463]  [<ffffffff811deff8>] kmalloc_order+0x18/0x40
[105178.253464]  [<ffffffff811df044>] kmalloc_order_trace+0x24/0xa0
[105178.253466]  [<ffffffff812208a3>] __kmalloc+0x1f3/0x210
[105178.253485]  [<ffffffffc0181b9e>] ? alloc_gen8_temp_bitmaps+0x2e/0x80 [i915]
[105178.253501]  [<ffffffffc0181bb7>] alloc_gen8_temp_bitmaps+0x47/0x80 [i915]
[105178.253516]  [<ffffffffc0181c90>] gen8_alloc_va_range_3lvl+0xa0/0x9b0 [i915]
[105178.253519]  [<ffffffff811b3e4b>] ? find_lock_entry+0x5b/0x120
[105178.253521]  [<ffffffff814dd073>] ? xen_swiotlb_map_sg_attrs+0x1b3/0x2e0
[105178.253536]  [<ffffffffc018293e>] gen8_alloc_va_range+0x23e/0x490 [i915]
[105178.253551]  [<ffffffffc018450d>] i915_vma_bind+0x6d/0x120 [i915]
[105178.253567]  [<ffffffffc0188a91>] __i915_vma_do_pin+0x261/0x480 [i915]
[105178.253582]  [<ffffffffc0179374>] i915_gem_execbuffer_reserve_vma.isra.42+0x144/0x1b0 [i915]
[105178.253597]  [<ffffffffc0179775>] i915_gem_execbuffer_reserve.isra.43+0x395/0x3c0 [i915]
[105178.253611]  [<ffffffffc017aef1>] i915_gem_do_execbuffer.isra.48+0x511/0x16b0 [i915]
[105178.253632]  [<ffffffffc017c442>] i915_gem_execbuffer2+0xa2/0x1e0 [i915]
[105178.253645]  [<ffffffffc004eb3b>] drm_ioctl+0x21b/0x4d0 [drm]
[105178.253660]  [<ffffffffc017c3a0>] ? i915_gem_execbuffer+0x310/0x310 [i915]
[105178.253663]  [<ffffffff813f23d4>] ? timerqueue_del+0x24/0x70
[105178.253665]  [<ffffffff8110c44c>] ? __remove_hrtimer+0x3c/0x90
[105178.253668]  [<ffffffff8125b051>] do_vfs_ioctl+0xa1/0x5e0
[105178.253669]  [<ffffffff8110dcd2>] ? do_setitimer+0x142/0x230
[105178.253671]  [<ffffffff81147a0b>] ? __audit_syscall_entry+0xab/0xf0
[105178.253673]  [<ffffffff8100346d>] ? syscall_trace_enter+0x1bd/0x2d0
[105178.253675]  [<ffffffff8125b609>] SyS_ioctl+0x79/0x90
[105178.253677]  [<ffffffff81003c17>] do_syscall_64+0x67/0x180
[105178.253679]  [<ffffffff817e10eb>] entry_SYSCALL64_slow_path+0x25/0x25
[105178.253680] Mem-Info:
[105178.253684] active_anon:62335 inactive_anon:67348 isolated_anon:0
                 active_file:48837 inactive_file:48123 isolated_file:0
                 unevictable:63 dirty:304 writeback:0 unstable:0
                 slab_reclaimable:8764 slab_unreclaimable:16036
                 mapped:41456 shmem:94605 pagetables:5392 bounce:0
                 free:9439 free_pcp:55 free_cma:0
[105178.253687] Node 0 active_anon:249340kB inactive_anon:269392kB active_file:195348kB inactive_file:192492kB unevictable:252kB isolated(anon):0kB isolated(file):0kB mapped:165824kB dirty:1216kB writeback:0kB shmem:378420kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
[105178.253688] Node 0 DMA free:15600kB min:28kB low:40kB high:52kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15664kB managed:15616kB mlocked:0kB slab_reclaimable:16kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[105178.253691] lowmem_reserve[]: 0 3010 3894 3894
[105178.253693] Node 0 DMA32 free:13868kB min:6160kB low:9240kB high:12320kB active_anon:172816kB inactive_anon:167592kB active_file:118792kB inactive_file:128304kB unevictable:124kB writepending:948kB present:3206460kB managed:795880kB mlocked:124kB slab_reclaimable:15988kB slab_unreclaimable:25824kB kernel_stack:2160kB pagetables:13208kB bounce:0kB free_pcp:24kB local_pcp:4kB free_cma:0kB
[105178.253697] lowmem_reserve[]: 0 0 883 883
[105178.253699] Node 0 Normal free:8288kB min:1808kB low:2712kB high:3616kB active_anon:76540kB inactive_anon:101900kB active_file:76700kB inactive_file:64032kB unevictable:128kB writepending:568kB present:972180kB managed:497696kB mlocked:128kB slab_reclaimable:19052kB slab_unreclaimable:38320kB kernel_stack:4552kB pagetables:8360kB bounce:0kB free_pcp:196kB local_pcp:0kB free_cma:0kB
[105178.253702] lowmem_reserve[]: 0 0 0 0
[105178.253704] Node 0 DMA: 0*4kB 2*8kB (U) 2*16kB (UH) 2*32kB (UH) 4*64kB (UH) 3*128kB (UH) 2*256kB (UH) 2*512kB (UH) 1*1024kB (H) 2*2048kB (MH) 2*4096kB (M) = 15600kB
[105178.253713] Node 0 DMA32: 2024*4kB (UME) 737*8kB (UME) 3*16kB (M) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 14040kB
[105178.253720] Node 0 Normal: 1076*4kB (UME) 366*8kB (UME) 70*16kB (M) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 8352kB
[105178.253728] 193248 total pagecache pages
[105178.253729] 1642 pages in swap cache
[105178.253729] Swap cache stats: add 562249, delete 560607, find 495104/528957
[105178.253730] Free swap  = 7457800kB
[105178.253730] Total swap = 7733244kB
[105178.253731] 1048576 pages RAM
[105178.253732] 0 pages HighMem/MovableOnly
[105178.253732] 721278 pages reserved
[105178.253732] 0 pages hwpoisoned
[105178.253733] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[105178.253742] [ 1007]     0  1007    35632     7663      74       3       46             0 systemd-journal
[105178.253744] [ 1014]     0  1014    11253      167      26       3       66         -1000 dmeventd
[105178.253745] [ 1019]     0  1019    32317       68      30       3       98             0 lvmetad
[105178.253747] [ 1056]     0  1056    11014      341      23       3      152         -1000 systemd-udevd
[105178.253749] [ 1741]     0  1741    88180      721      55       4      174             0 upowerd
[105178.253751] [ 1743]     0  1743     6114      349      17       3       39             0 systemd-logind
[105178.253752] [ 1744]     0  1744    12976      173      30       3       77             0 qubesdb-daemon
[105178.253754] [ 1746]    81  1746    13756      431      30       3       89          -900 dbus-daemon
[105178.253755] [ 1747]     0  1747     4205      189      14       3       54             0 alsactl
[105178.253757] [ 1756]     0  1756    11538      351      28       3       67             0 xenstored
[105178.253759] [ 1766]     0  1766   333409     1775     150       5     2356             0 libvirtd
[105178.253760] [ 1772]     0  1772    29480      286      30       3      123             0 xenconsoled
[105178.253762] [ 1842]     0  1842    61907      456      42       3      691             0 block-cleaner-d
[105178.253763] [ 1847]     0  1847   145895     1108     167       4     2796             0 qmemman_daemon.
[105178.253765] [ 1963]     0  1963    11380       16      25       3       63             0 meminfo-writer
[105178.253768] [ 3538]     0  3538    33007      201      17       3      132             0 crond
[105178.253769] [ 3540]     0  3540    68125      243      36       3      136             0 lightdm
[105178.253771] [ 3543]     0  3543    28949      140      10       4       28             0 agetty
[105178.253772] [ 3548]     0  3548   125749    27994     217       4     5282             0 Xorg
[105178.253773] [ 3550]     0  3550    98137      415      42       3      226             0 accounts-daemon
[105178.253775] [ 3555]   995  3555   132645      986      55       3     1025             0 polkitd
[105178.253776] [ 3572]   991  3572    11844      595      26       3      101             0 systemd
[105178.253778] [ 3573]   991  3573    23187       52      45       3      399             0 (sd-pam)
[105178.253779] [ 3584]   991  3584    13879      115      30       3      116             0 dbus-launch
[105178.253780] [ 3585]   991  3585    13656      196      28       3       99             0 dbus-daemon
[105178.253782] [ 3592]     0  3592    69125      344      69       3      341             0 lightdm
[105178.253783] [ 3598]  1000  3598    11847      596      27       3      103             0 systemd
[105178.253785] [ 3599]  1000  3599    23187       53      45       3      398             0 (sd-pam)
[105178.253786] [ 3602]  1000  3602    29746      140      12       3       57             0 sh
[105178.253787] [ 3609]  1000  3609    13879      125      29       3      116             0 dbus-launch
[105178.253789] [ 3610]  1000  3610    13755      387      28       3       86             0 dbus-daemon
[105178.253790] [ 3644]  1000  3644   119509     1207     115       4     3287             0 xfce4-session
[105178.253792] [ 3648]  1000  3648    15943      321      33       3       98             0 xfconfd
[105178.253793] [ 3651]  1000  3651    68750       39      17       3       31             0 gpg-agent
[105178.253795] [ 3652]  1000  3652    84113     4922     116       3      644             0 xfwm4
[105178.253796] [ 3654]  1000  3654   129128     2927     134       4     3371             0 xfce4-panel
[105178.253798] [ 3655]  1000  3655   118838      799     113       4      420             0 xfsettingsd
[105178.253799] [ 3657]  1000  3657   146442     1458     138       4     5149             0 xfdesktop
[105178.253801] [ 3663]  1000  3663   262213     9688     277       4     6302             0 qubes-manager
[105178.253802] [ 3668]  1000  3668    96280        0      37       4      181             0 gvfsd
[105178.253804] [ 3675]  1000  3675   122301     1787     123       4      658             0 xfce4-power-man
[105178.253805] [ 3677]  1000  3677    65495      356      31       3      141             0 at-spi-bus-laun
[105178.253807] [ 3682]  1000  3682    13656      288      30       3       79             0 dbus-daemon
[105178.253808] [ 3683]  1000  3683   163098     1387     138       3      830             0 panel-7-pulseau
[105178.253810] [ 3687]  1000  3687    56312      439      44       3      162             0 at-spi2-registr
[105178.253811] [ 3688]  1000  3688    78242     1025     103       3      271             0 panel-6-systray
[105178.253813] [ 3700]  1000  3700   305665     1726     133       4      687             0 pulseaudio
[105178.253814] [ 3701]   172  3701    48859      243      30       3       91             0 rtkit-daemon
[105178.253816] [ 3705]  1000  3705    44864      359      40       3       97             0 gconfd-2
[105178.253817] [ 3712]  1000  3712    46967      954      45       3       43             0 xscreensaver
[105178.253819] [ 3714]  1000  3714    33486      180      67       3      232             0 gconf-helper
[105178.253820] [ 3719]  1000  3719    92499      435      32       4       60             0 xss-lock
[105178.253822] [ 3720]  1000  3720     5064      132      16       3       51             0 watch-screen-la
[105178.253823] [ 3722]  1000  3722   113869      443     103       4      347             0 polkit-gnome-au
[105178.253827] [ 4283]  1000  4283    12980      271      29       3       69             0 qubesdb-daemon
[105178.253829] [ 4285]  1000  4285    29886      291      30       3       80             0 qrexec-daemon
[105178.253831] [ 4297]  1000  4297    37535      430      44       3      195             0 qubes-guid
[105178.253832] [ 4299]  1000  4299    80127      606      70       3      185             0 pacat-simple-vc
[105178.253834] [ 4657]  1000  4657    12980      250      29       3       72             0 qubesdb-daemon
[105178.253836] [ 4659]  1000  4659    29886      278      31       4       81             0 qrexec-daemon
[105178.253838] [ 4673]  1000  4673    37537      457      42       3      156             0 qubes-guid
[105178.253839] [ 4675]  1000  4675    80127      615      70       3      184             0 pacat-simple-vc
[105178.253841] [ 5034]  1000  5034    12980      265      28       3       70             0 qubesdb-daemon
[105178.253843] [ 5037]  1000  5037    29886      279      31       3       82             0 qrexec-daemon
[105178.253845] [ 5057]  1000  5057    37537      417      45       3      196             0 qubes-guid
[105178.253847] [ 5494]  1000  5494    12980      257      29       3       72             0 qubesdb-daemon
[105178.253848] [ 5496]  1000  5496    29886      302      30       3       80             0 qrexec-daemon
[105178.253850] [ 5508]  1000  5508    37537      459      44       3      173             0 qubes-guid
[105178.253852] [ 5510]  1000  5510    80127      606      71       3      186             0 pacat-simple-vc
[105178.253853] [ 5989]  1000  5989    12980      292      29       3       70             0 qubesdb-daemon
[105178.253855] [ 5991]  1000  5991    29886      299      30       3       82             0 qrexec-daemon
[105178.253857] [ 6003]  1000  6003    37536      543      42       4      138             0 qubes-guid
[105178.253858] [ 6005]  1000  6005    80127      763      72       4      170             0 pacat-simple-vc
[105178.253860] [ 6822]  1000  6822    12980      256      30       3       71             0 qubesdb-daemon
[105178.253861] [ 6824]  1000  6824    29886      307      30       4       64             0 qrexec-daemon
[105178.253863] [ 6836]  1000  6836    37535      573      42       4       51             0 qubes-guid
[105178.253865] [ 6838]  1000  6838    80127      742      72       4      169             0 pacat-simple-vc
[105178.253866] [ 8235]  1000  8235    12980      255      29       3       71             0 qubesdb-daemon
[105178.253867] [ 8237]  1000  8237    29886      277      30       3       80             0 qrexec-daemon
[105178.253869] [ 8251]  1000  8251    37537      551      43       3      111             0 qubes-guid
[105178.253871] [ 8253]  1000  8253    80127      729      68       3      174             0 pacat-simple-vc
[105178.253873] [10195]  1000 10195    12980      273      30       3       70             0 qubesdb-daemon
[105178.253874] [10197]  1000 10197    29886      293      31       4       67             0 qrexec-daemon
[105178.253877] [10210]  1000 10210    37536      568      45       3       84             0 qubes-guid
[105178.253878] [10212]  1000 10212    80127      763      71       3      173             0 pacat-simple-vc
[105178.253880] [20106]  1000 20106    12980      349      29       3        0             0 qubesdb-daemon
[105178.253882] [20108]  1000 20108    29886      381      30       3        0             0 qrexec-daemon
[105178.253884] [20120]  1000 20120    37536      640      43       3        0             0 qubes-guid
[105178.253885] [20122]  1000 20122    80127      920      71       3        0             0 pacat-simple-vc
[105178.253888] [21238]  1000 21238    29746      290      12       3        0             0 sh
[105178.253889] [21240]  1000 21240   110513     4085     162       3        0             0 qfile-daemon-dv
[105178.253891] [21581]  1000 21581    12980      349      29       3        0             0 qubesdb-daemon
[105178.253892] [21583]  1000 21583    29886      371      30       3        0             0 qrexec-daemon
[105178.253894] [21590]  1000 21590    37536      668      44       3        0             0 qubes-guid
[105178.253895] [21592]  1000 21592    80127      929      70       4        0             0 pacat-simple-vc
[105178.253897] [21601]  1000 21601    13525      318      30       3        0             0 qrexec-client
[105178.253901] [21924]     0 21924   110416     7955     158       4        1             0 52qubes-pause-v
[105178.253902] [21932]     0 21932    13525      735      31       3        0             0 qrexec-client
[105178.253903] Out of memory: Kill process 3548 (Xorg) score 14 or sacrifice child
[105178.253912] Killed process 3548 (Xorg) total-vm:502996kB, anon-rss:21036kB, file-rss:4732kB, shmem-rss:86208kB
[105178.254960] traps: xss-lock[3719] trap int3 ip:76fa0282886b sp:7ffce81514a0 error:0
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 22, 2018

Member

Duplicate of #3079

Member

marmarek commented Jan 22, 2018

Duplicate of #3079

@marmarek marmarek marked this as a duplicate of #3079 Jan 22, 2018

@marmarek marmarek closed this Jan 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment