Xorg segfault on external display plug/unplug

Bug #1519279 reported by SilverFire
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Lenovo Thinkpad E540, Ubuntu 15.10, xorg 1:7.7+7ubuntu4, driver NVIDIA 352.63 (also reproduces with NVIDIA 340.96 and nouveau)

When I plug/unplug external display (VGA or HDMI), X server crashes with the following backtrace:

[ 115.212] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[ 116.571] (EE)
[ 116.571] (EE) Backtrace:
[ 116.571] (EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x564e760ab68e]
[ 116.571] (EE) 1: /usr/bin/X (0x564e75ef7000+0x1b89f9) [0x564e760af9f9]
[ 116.571] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f1d7f12b000+0x352f0) [0x7f1d7f1602f0]
[ 116.571] (EE) 3: /usr/bin/X (DamageRegister+0x11) [0x564e760323e1]
[ 116.571] (EE) 4: /usr/bin/X (0x564e75ef7000+0xd9b08) [0x564e75fd0b08]
[ 116.571] (EE) 5: /usr/bin/X (BlockHandler+0x8a) [0x564e75f53cca]
[ 116.572] (EE) 6: /usr/bin/X (WaitForSomething+0x163) [0x564e760a83f3]
[ 116.572] (EE) 7: /usr/bin/X (0x564e75ef7000+0x57fa1) [0x564e75f4efa1]
[ 116.572] (EE) 8: /usr/bin/X (0x564e75ef7000+0x5c34b) [0x564e75f5334b]
[ 116.572] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f1d7f14ba40]
[ 116.572] (EE) 10: /usr/bin/X (_start+0x29) [0x564e75f3d6c9]
[ 116.572] (EE)
[ 116.572] (EE) Segmentation fault at address 0x10
[ 116.572] (EE)
Fatal server error:
[ 116.572] (EE) Caught signal 11 (Segmentation fault). Server aborting

Expected - not to crash.

The problem occurred after update from 15.04 to 15.10. See XorgLogOld.txt

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 352.63 Sat Nov 7 21:25:42 PST 2015
 GCC version: gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
BootLog:
 fsck from util-linux 2.26.2
 /dev/sdb2: clean, 370326/2040000 files, 4422836/8191744 blocks
Date: Tue Nov 24 11:38:52 2015
DistUpgraded: 2015-11-06 11:48:36,801 DEBUG enabling apt cron job
DistroCodename: wily
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.7, 4.2.0-18-generic, x86_64: installed
 bbswitch, 0.7, 4.2.0-19-generic, x86_64: installed
 nvidia-352, 352.63, 4.2.0-19-generic, x86_64: installed
 vboxhost, 5.0.2, 4.2.0-18-generic, x86_64: installed
 vboxhost, 5.0.2, 4.2.0-19-generic, x86_64: installed
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:5040]
   Subsystem: Lenovo Device [17aa:5040]
InstallationDate: Installed on 2015-08-21 (95 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: LENOVO 20C6A0DS00
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-19-generic.efi.signed root=UUID=9c7fde50-44fd-4663-900c-1446724ffc68 ro quiet splash vt.handoff=7
SourcePackage: xorg
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2015-11-06 (17 days ago)
dmi.bios.date: 07/29/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: J9ET9AWW (2.20 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20C6A0DS00
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrJ9ET9AWW(2.20):bd07/29/2015:svnLENOVO:pn20C6A0DS00:pvrThinkPadEdgeE540:rvnLENOVO:rn20C6A0DS00:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 20C6A0DS00
dmi.product.version: ThinkPad Edge E540
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.12.2+15.10.20151015-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0+git20150819-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
xserver.bootTime: Tue Nov 24 11:28:08 2015
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.2-1ubuntu9.1

Revision history for this message
SilverFire (d-naumenko-a) wrote :
description: updated
information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
tags: added: bios-outdated-2.20
Changed in xorg (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
SilverFire (d-naumenko-a) wrote :

Helo, Christopher. Sorry for the late reply.
Unfortunately, no. The BIOS update does not fix the problem.

$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
J9ET9CWW (2.22 )
11/02/2015

Changed in xorg (Ubuntu):
status: Incomplete → New
Revision history for this message
penalvch (penalvch) wrote :

SilverFire, to see if this is already resolved in Ubuntu, could you please test http://cdimage.ubuntu.com/daily-live/current/ and advise to the results?

tags: added: latest-bios-2.22
removed: bios-outdated-2.20
tags: added: regression-release
Changed in xorg (Ubuntu):
importance: Low → Medium
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.