XServer crash logs the user off randomly

Bug #1472471 reported by Cyril Soler
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Expired
Medium
Unassigned

Bug Description

System: Ubuntu 14.04, running cinnamon, on a Dell M3800.

The bug happens randomly and logs off the user, who loses everything in the current session.
It happens mostly when a new window is openned, especially terminals (but not only).

> cat /proc/version_signature
Ubuntu 3.16.0-41.57~14.04.1-generic 3.16.7-ckt11

The same happens with the latest 3.16.0-43 kernel. Here's what I found in the Xorg.0.log.old file:

[ 1063.253] (EE) Backtrace:
[ 1063.254] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7fe8e43aaed8]
[ 1063.254] (EE) 1: /usr/bin/X (0x7fe8e4206000+0x1a8f19) [0x7fe8e43aef19]
[ 1063.254] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fe8e2385000+0x36d40) [0x7fe8e23bbd40]
[ 1063.254] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fe8de18b000+0x258f9) [0x7fe8de1b08f9]
[ 1063.254] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fe8de18b000+0x26d7c) [0x7fe8de1b1d7c]
[ 1063.254] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fe8de18b000+0xf4f4f) [0x7fe8de27ff4f]
[ 1063.254] (EE) 6: /usr/bin/X (0x7fe8e4206000+0x1755bd) [0x7fe8e437b5bd]
[ 1063.254] (EE) 7: /usr/bin/X (0x7fe8e4206000+0x176397) [0x7fe8e437c397]
[ 1063.255] (EE) 8: /usr/bin/X (DRI2GetBuffersWithFormat+0x10) [0x7fe8e437c770]
[ 1063.255] (EE) 9: /usr/bin/X (0x7fe8e4206000+0x178499) [0x7fe8e437e499]
[ 1063.255] (EE) 10: /usr/bin/X (0x7fe8e4206000+0x5369e) [0x7fe8e425969e]
[ 1063.255] (EE) 11: /usr/bin/X (0x7fe8e4206000+0x574ea) [0x7fe8e425d4ea]
[ 1063.255] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fe8e23a6ec5]
[ 1063.255] (EE) 13: /usr/bin/X (0x7fe8e4206000+0x42a5e) [0x7fe8e4248a5e]
[ 1063.255] (EE)
[ 1063.255] (EE) Bus error at address 0x7fe890108000
---
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: csoler 7078 F.... pulseaudio
 /dev/snd/controlC0: csoler 7078 F.... pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=/dev/mapper/swap
InstallationDate: Installed on 2015-06-18 (19 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: Dell Inc. Dell Precision M3800
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-41-generic root=UUID=ed58d38e-680c-4454-863d-9c8e4698082c ro quiet splash
ProcVersionSignature: Ubuntu 3.16.0-41.57~14.04.1-generic 3.16.7-ckt11
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-41-generic N/A
 linux-backports-modules-3.16.0-41-generic N/A
 linux-firmware 1.127.12
Tags: trusty
Uname: Linux 3.16.0-41-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
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.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd01/08/2015:svnDellInc.:pnDellPrecisionM3800:pvrA09:rvnDellInc.:rnDellPrecisionM3800:rvrA09:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Dell Precision M3800
dmi.product.version: A09
dmi.sys.vendor: Dell Inc.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1472471

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Cyril Soler (csoler-users) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
Cyril Soler (csoler-users) wrote : BootDmesg.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : CRDA.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : IwConfig.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : Lspci.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : Lsusb.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : ProcEnviron.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : ProcModules.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : RfKill.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : UdevDb.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : UdevLog.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote : WifiSyslog.txt

apport information

Revision history for this message
Cyril Soler (csoler-users) wrote :

Apport actually leaks a bunch of info about my computer. I had to delete a few files.

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

Cyril Soler, thank you for reporting this and helping make Ubuntu better. To see if this is already resolved in Ubuntu, could you please test cdimage.ubuntu.com/daily-live/current/ and advise to the results?

tags: added: latest-bios-a09
affects: linux (Ubuntu) → xorg (Ubuntu)
Changed in xorg (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Cyril Soler (csoler-users) wrote :

all my packages are up to date. Is the live CD of Ubuntu more "recent" than the latest up-to-date packages?

Revision history for this message
Cyril Soler (csoler-users) wrote :

I could not reproduce that bug using the live CD for 1 hour. Given that I'm not using unity, given that the bug happens in a way that is very unpredictable (sometimes 2-3 times in a row in 10 minutes, then nothing for several days), this does not mean that this bug is fixed. I'm not even sure that the live CD uses the same driver (intel_drv) which seems responsible for the crash.

That bug happened to me once again 1 hour ago (exact same callstack).

Being myself a developer, I can if you indicate me how, install debug symbols for that module (does this exist?) and give you more info. From my experience, a bug like this seems to depend on some unitialized variable which value depends on what's in the graphics memory at the time of use.

Is there a way not to use intel_drv?

thx for the help

Revision history for this message
penalvch (penalvch) wrote :

Cyril Soler, it would be a lot faster and easier if you just installed it and used it for a couple weeks.

Revision history for this message
Cyril Soler (csoler-users) wrote :

Seriously? You would like me to back up all my data, wipe off my install, re-encrypt all my disks, re-install ubuntu, re-parameterize all the fonts/apps that took me a while to get working on a high DPI screen, just for the sake of testing if the bug has been fixed in the next (still not even beta) release?

I wold not like to sound rude, but that stands really beyond the limit of the help I can practically provide.

Honnestly, 14.04 being long term support, I will stick to it. As I said, if you need me to install intel_drv with debug symbols, please tell me how and I'll do it.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Did you install using 14.04.2 media? Then you're using the driver stack from 14.10. You could try using 'Option "AccelMethod" "uxa"' in xorg.conf (man intel), or update to vivid lts stack in trusty-proposed.

affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Cyril Soler (csoler-users) wrote :

I dont have an /etc/X11/xorg.conf file. Still, my /var/log/Xorg.0.log states that the accel method used is indeed SNA. In which file can I specify the "uxa" parameter?

     [ 36.193] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend

It's using /usr/share/X11/xorg.conf.d/*, but there's no file in there that would contain a "Device" section.

Should I create a Xorg.conf file in /etc/X11/ from scratch and put that in it?

Section "Device"
    Identifier "intel"
    Driver "intel"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "UXA"
EndSection

Revision history for this message
Cyril Soler (csoler-users) wrote :

So, I switched to UXA, which I did by adding a file "20-intel.conf" containing this:
<code>
Section "Device"
 Identifier "Intel Graphics"
 Driver "intel"
 Option "AccelMethod" "uxa"
EndSection
</code>

The bug seems to be gone this way. But apparently the UXA mode has its own problems (such as gnome-terminal invariably freezing the entire session (mouse included) for 15 secs).

Hope that helps
Thanks
C.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Cyril Soler (csoler-users) wrote :

Switched back from expired to incomplete. This bug is still very much alive (and extremely frustrating).

Changed in xserver-xorg-video-intel (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Cyril Soler (csoler-users) wrote :

I continue to get randomly logged out. This is really annoying.

I tired to install xserver-xorg-video-intel-lts-utopic-dbg, but I get not much more information in the Xorg.0.log:

[ 62.029] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f320e243ed8]
[ 62.029] (EE) 1: /usr/bin/X (0x7f320e09f000+0x1a8f19) [0x7f320e247f19]
[ 62.029] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f320c21d000+0x36d40) [0x7f320c253d40]
[ 62.029] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3208023000+0x258e9) [0x7f32080488e9]
[ 62.029] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3208023000+0x26d6c) [0x7f3208049d6c]
[ 62.029] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f3208023000+0xf4f7f) [0x7f3208117f7f]
[ 62.029] (EE) 6: /usr/bin/X (0x7f320e09f000+0x1755bd) [0x7f320e2145bd]
[ 62.029] (EE) 7: /usr/bin/X (0x7f320e09f000+0x176397) [0x7f320e215397]
[ 62.029] (EE) 8: /usr/bin/X (DRI2GetBuffersWithFormat+0x10) [0x7f320e215770]
[ 62.029] (EE) 9: /usr/bin/X (0x7f320e09f000+0x178499) [0x7f320e217499]
[ 62.029] (EE) 10: /usr/bin/X (0x7f320e09f000+0x5369e) [0x7f320e0f269e]
[ 62.029] (EE) 11: /usr/bin/X (0x7f320e09f000+0x574ea) [0x7f320e0f64ea]
[ 62.029] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f320c23eec5]
[ 62.029] (EE) 13: /usr/bin/X (0x7f320e09f000+0x42a5e) [0x7f320e0e1a5e]
[ 62.029] (EE)
[ 62.029] (EE) Bus error at address 0x7f31b8678000

I'm trying to finish this post fast bfore I get kicked of again from my session.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xserver-xorg-video-intel (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.