Launching any electron app crashes Xorg in ?? from ProcVidModeGetModeLine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If I dare to launch any electron-based app (chrome, spotify, atom, vscode, etc.) there's roughly an 80% chance that it kills X (bringing me back to the login screen). This doesn't _always_ happen. Note that I have a 4k laptop, with a 4k external screen. Things seem to have a better chance of succeeding if I disconnect the external display before launching the electron app. Once it launches successfully things seem to be stable, even after re-connecting the external display.
I SSHd into this machine from another, and connected to X from gdb, then opened vscode to cause the crash. Here is the backtrace I got from that session (this is easy to reproduce, happy to provide any requested info):
root@Pandora:~# gdb /usr/bin/Xorg $(pidof Xorg)
GNU gdb (Ubuntu 7.11.1-
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/usr/bin/Xorg": not in executable format: File format not recognized
Attaching to process 2325
[New LWP 2480]
[New LWP 2481]
[New LWP 2482]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
0x00007f3302ea95d3 in select () at ../sysdeps/
84 ../sysdeps/
(gdb) cont
Continuing.
Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault.
0x000055f7cbb6f650 in ?? ()
(gdb) bt f
#0 0x000055f7cbb6f650 in ?? ()
No symbol table info available.
#1 0x000055f7ca8ec6dc in ProcVidModeGetM
stuff = <optimized out>
rep = {type = 1 '\001', pad1 = 0 '\000', sequenceNumber = 254, length = 5, dotclock = 0, hdisplay = 0, hsyncstart = 0, hsyncend = 0,
htotal = 0, hskew = 0, vdisplay = 0, vsyncstart = 0, vsyncend = 0, vtotal = 0, pad2 = 0, flags = 0, reserved1 = 0, reserved2 = 0,
reserved3 = 0, privsize = 0}
pScreen = <optimized out>
mode = 0x7ffd64d56e20
dotClock = 32765
#2 0x000055f7ca77ad9f in Dispatch () at ../../dix/
clientReady = 0x55f7cbf9c780
result = <optimized out>
client = 0x55f7cc218ee0
nready = 0
icheck = 0x55f7cab7b130 <checkForInput>
start_tick = 12090
#3 0x000055f7ca77ee13 in dix_main (argc=11, argv=0x7ffd64d5
i = <optimized out>
#4 0x00007f3302dcc830 in __libc_start_main (main=0x55f7ca7
fini=<optimized out>, rtld_fini=
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -79239785805117
#5 0x000055f7ca769069 in _start ()
No symbol table info available.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSign
Uname: Linux 4.4.0-116-generic x86_64
NonfreeKernelMo
.tmp.unity_
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Fri Mar 9 12:09:59 2018
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
EcryptfsInUse: Yes
ExtraDebuggingI
GraphicsCard:
Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
Subsystem: Dell 4th Gen Core Processor Integrated Graphics Controller [1028:060d]
InstallationDate: Installed on 2016-08-01 (585 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: Dell Inc. Dell Precision M3800
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/08/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: Dell Precision M3800
dmi.board.vendor: Dell Inc.
dmi.board.version: A09
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell Precision M3800
dmi.product.
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.83-1~16.04.1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Fri Mar 9 11:49:23 2018
xserver.configfile: default
xserver.errors: open /dev/dri/card0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 5169
vendor SHP
xserver.version: 2:1.18.4-0ubuntu0.7
summary: |
- Launching any electron app crashes Xorg + Launching any electron app crashes Xorg in ?? from + ProcVidModeGetModeLine |
affects: | xorg (Ubuntu) → xorg-server (Ubuntu) |