X server crashes sporadically with a segfault

Bug #1598904 reported by Stefan Freyr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Medium
Unassigned

Bug Description

My desktop session crashes sporadically. Often this happens when I leave the computer and the screensaver starts (Euphoria GL screensaver). This bug is not reproducible on demand.

Attached is my Xorg log file which seems to indicate that this problem is related to the i915 driver code.

---
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
DistUpgraded: 2016-06-15 15:16:54,383 DEBUG enabling apt cron job
DistroCodename: trusty
DistroRelease: Ubuntu 14.04
DistroVariant: ubuntu
EcryptfsInUse: Yes
ExtraDebuggingInterest: No
GraphicsCard:
 Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:5036]
InstallationDate: Installed on 2016-05-26 (59 days ago)
InstallationMedia: Kubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
LightdmGreeterLog:
 QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
 QFileSystemWatcher: failed to add paths: /var/lib/lightdm/.config/ibus/bus
 Bus::open: Can not get ibus-daemon's address.
 IBusInputContext::createInputContext: no connection to ibus-daemon
 file:///usr/share/kde4/apps/lightdm-kde-greeter/themes/userbar/main.qml:135: Unable to assign [undefined] to QString usersession
LightdmGreeterLogOld:
 QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
 QFileSystemWatcher: failed to add paths: /var/lib/lightdm/.config/ibus/bus
 Bus::open: Can not get ibus-daemon's address.
 IBusInputContext::createInputContext: no connection to ibus-daemon
 file:///usr/share/kde4/apps/lightdm-kde-greeter/themes/userbar/main.qml:135: Unable to assign [undefined] to QString usersession
MachineType: LENOVO 20BWS18900
Package: xorg 1:7.7+1ubuntu8.1
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.6.3-040603-generic root=UUID=285091fd-ac1a-4801-8055-c356ab9083a5 ro quiet splash vt.handoff=7
Tags: trusty ubuntu
Uname: Linux 4.6.3-040603-generic x86_64
UpgradeStatus: Upgraded to trusty on 2016-06-15 (39 days ago)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 03/02/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: JBET46WW (1.11 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20BWS18900
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrJBET46WW(1.11):bd03/02/2015:svnLENOVO:pn20BWS18900:pvrThinkPadT450s:rvnLENOVO:rn20BWS18900:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.name: 20BWS18900
dmi.product.version: ThinkPad T450s
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1~ubuntu14.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri N/A
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Mon Jul 25 09:49:33 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 1133
 vendor LGD
xserver.version: 2:1.17.2-1ubuntu9.1~trusty1

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :
Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

The crash just happened again... this time it looks like it was related to fullscreening a video on facebook.

I should probably also mention that I have a dual screen setup.

Revision history for this message
penalvch (penalvch) wrote :

Stefan Freyr, thank you for reporting this and helping make Ubuntu better.

Could you please run the following command once from a terminal by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information:
apport-collect -p xorg 1598904

When reporting xorg related bugs in the future, please do so via the above method. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in xorg (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Stefan Freyr (stefan-freyr) wrote : BootDmesg.txt

apport information

tags: added: apport-collected ubuntu
description: updated
Revision history for this message
Stefan Freyr (stefan-freyr) wrote : BootLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Dependencies.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : DpkgLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : LightdmDisplayLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : LightdmLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Lspci.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Lsusb.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcEnviron.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcModules.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : UdevDb.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : UdevLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : XorgLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : XorgLogOld.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Xrandr.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : xdpyinfo.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : xserver.devices.txt

apport information

tags: added: kubuntu
description: updated
Revision history for this message
Stefan Freyr (stefan-freyr) wrote : BootDmesg.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : BootLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Dependencies.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : DpkgLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : LightdmDisplayLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : LightdmLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Lspci.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Lsusb.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcEnviron.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : ProcModules.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : UdevDb.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : UdevLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : XorgLog.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : XorgLogOld.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : Xrandr.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : xdpyinfo.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote : xserver.devices.txt

apport information

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

Sorry... I ran the apport command twice! The first run I did as root but the second one was performed as my regular user.

I hope this helps.

Let me know if there is any more information that I can provide.

penalvch (penalvch)
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Stefan Freyr, kernel 4.6.x is not supported. If you return your OS to the default Ubuntu kernel is this still reproducible?

tags: added: bios-outdated-1.24
Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

Yes, unfortunately, the reason I upgraded the kernel is this issue. So this happens with the default kernel.

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

It feels like the problem is occurring less frequently after I upgraded the kernel but that may very well just be wishful thinking.

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

I've updated the BIOS and I've also removed all the non trusty kernels. So now I'm running on 3.13.0-92-generic. I haven't had a crash yet but I will report back if/when I do.

One other thing though that might be of importance. I noticed when cleaning up the kernel packages that I have xserver-xorg-video-intel-lts-wily installed (and a bunch more wily packages regarding the x server, including xserver-xorg-video-all-lts-wily).

I tried cleaning that up and downgrading to the trusty version of these packages but ran into dependency problems and eventually gave up. Do you think this might be causing problems as well? Is there any way to help with downgrading all these packages?

Finally, I'd like to mention that I do think that after downgrading to the 3.13 kernel, I think that full screen videos are being displayed smoother.

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

➜ ~ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
JBET61WW (1.25 )
07/13/2016

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

I have cleaned out my kernel packages and now I only have the official trusty kernel package installed. So I'm running on kernel 3.13 now and I've just experienced this crash again.

This time I was looking at Google maps on Chrome, so nothing special really going on (except maybe if Google maps is using some hardware acceleration similar to the ones that the Euphoria screensaver is using).

But as I said, I'm now running on the official kernel so I'm re-uploading the Xorg log file.

➜ ~ uname -a
Linux hyperion-stfs 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

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

Stefan Freyr, if you install the xenial xorg enablement stack following https://wiki.ubuntu.com/Kernel/LTSEnablementStack is this issue still reproducible?

tags: added: latest-bios-1.25
removed: bios-outdated-1.24
Changed in xorg (Ubuntu):
importance: Low → Medium
status: New → Incomplete
Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

I've added the xenial enablement stack and will report back if the crash occurs.

Here's my updated kernel and Xorg version info:

➜ ~ Xorg -version

X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.0-91-generic x86_64 Ubuntu
Current Operating System: Linux hyperion-stfs 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=UUID=285091fd-ac1a-4801-8055-c356ab9083a5 ro quiet splash vt.handoff=7
Build Date: 03 July 2016 09:17:03AM
xorg-server 2:1.18.3-1ubuntu2.2~trusty1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.

➜ ~ uname -a
Linux hyperion-stfs 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

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.

Other bug subscribers

Remote bug watches

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