Xorg segfaults during LiveCD installation using preseed file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Chris Van Hoof | ||
ubiquity (Ubuntu) |
Fix Released
|
Critical
|
Canonical Foundations Team | ||
Natty |
Fix Released
|
Critical
|
Canonical Foundations Team | ||
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington | ||
Natty |
Fix Released
|
High
|
Bryce Harrington |
Bug Description
An X fault occurs in Ubuntu's automated testing facility across a range of machines which shows itself as an Xorg segfault during the installation process. I suspect it to be caused by an out-of-memory situation. Perhaps a memory leak?
We've been chasing this bug for a while (such as fixed in commit 6e721e098b9181e
The issue is seen only on Intel graphics hardware and (often) results in an X termination within the drm code.
[Original Report]
We're attempting to install from a Natty daily image, through the network and using a preseed file.
The installation starts normally and goes up to a certain point, but then the installer exits and we're dropped to the LiveCD graphical environment. Sometimes a "system program failed" message appears. I've also observed the systems rebooting, my guess is that it happens when the bug gets triggered twice in a row (once for the installation and once again for the LiveCD environment).
syslog shows a sefgault on Xorg, which is probably what's causing the installer to die.
This particular trace and attached apport report were produced on a Dell Vostro 3400, though I am able to reproduce the problem on an Acer Aspire One D255, Lenovo Thinkpad X201, Asus EeePC 1001PX and Dell Inspiron Mini 1011.
This bug is very similar to bug 708744 which is a duplicate of 705078, and the circumstances under which it occurs are as described on bug 706117, we're using the same test setup and the only thing we changed was the image, this problem occurs using the 20110207 image, and though the symptom is similar, from glancing at the backtrace I get the impression it's a different problem than the one described/fixed on bug 705078.
How to reproduce:
- Use the LiveCD image from 20110207 to do a network install using the attached preseed file. The system gets PXE configuration through DHCP and its preseed file via http, mounting the relevant install media through NFS.
Expected result:
- System finishes installing and reboots
Actual result:
- The installation gets stopped when the X server crashes, usually dropping to the LiveCD environment.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6~3ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-2-generic i686
Architecture: i386
DRM.card0.HDMI.A.1:
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card0.LVDS.1:
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card0.VGA.1:
status: disconnected
enabled: disabled
dpms: On
modes:
edid-base64:
DRM.card1.DP.1:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card1.HDMI.A.2:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card1.LVDS.2:
status: connected
enabled: enabled
dpms: On
modes: 1366x768
edid-base64: AP/////
DRM.card1.VGA.2:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
Date: Mon Feb 7 09:37:22 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
GdmLog1: Not present
GdmLog2: Not present
GraphicsCard:
Subsystem: Dell Device [1028:044d]
Subsystem: Dell Device [1028:044d]
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110207)
MachineType: Dell Inc. Vostro 3400
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
ProcKernelCmdLine: url=http://
SourcePackage: xorg
dmi.bios.date: 09/10/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0RXV7H
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Vostro 3400
dmi.product.
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.2.
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu) |
Changed in xserver-xorg-video-intel (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
tags: | added: hwe-blocker |
Changed in oem-priority: | |
importance: | Undecided → High |
assignee: | nobody → Chris Van Hoof (vanhoof) |
tags: | added: patch |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → Critical |
milestone: | none → natty-alpha-3 |
Changed in oem-priority: | |
status: | New → Fix Released |
Here are the backtraces from the systems where I experienced this crash, I realize they aren't 100% identical. Our installation procedure is very homogeneous so I think these might all be related, as they all occured using the same installation procedure.
124 - Vostro 3400 prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory +0x3b) [0x80e94cb] rt_sigreturn+ 0x0) [0xd2040c] xorg/modules/ drivers/ intel_drv. so (0x1c8000+0xf2ea) [0x1d72ea] xorg/modules/ drivers/ intel_drv. so (0x1c8000+0x2662e) [0x1ee62e] xorg/modules/ drivers/ intel_drv. so (0x1c8000+0x26b4c) [0x1eeb4c] start_main+ 0xe6) [0x277ce6] wiki.x. org for help. Xorg.0. log" for additional information. 1ab000]
[ 115.517] (WW) intel(0): intel_uxa_
[ 115.517] (WW) intel(0): intel_uxa_
[ 115.518] (WW) intel(0): intel_uxa_
[ 115.518] Backtrace:
[ 115.518] 0: X (xorg_backtrace
[ 115.518] 1: X (0x8048000+0x5dcd8) [0x80a5cd8] [ 115.518] 2: (vdso) (__kernel_
[ 115.518] 3: /usr/lib/
[ 115.518] 4: /usr/lib/
[ 115.518] 5: /usr/lib/
[ 115.518] 6: X (0x8048000+0xe175e) [0x812975e]
[ 115.518] 7: X (0x8048000+0x23dd5) [0x806bdd5]
[ 115.518] 8: X (0x8048000+0x278d7) [0x806f8d7]
[ 115.518] 9: X (0x8048000+0x1a84c) [0x806284c]
[ 115.518] 10: /lib/libc.so.6 (__libc_
[ 115.519] 11: X (0x8048000+0x1a441) [0x8062441]
[ 115.519] Segmentation fault at address 0x10
[ 115.519] Caught signal 11 (Segmentation fault). Server aborting
[ 115.519] Please consult the The X.Org Foundation support ^I at http://
[ 115.519] Please also check the log file at "/var/log/
[ 115.519] ubuntu kernel:
[ 115.608394] Xorg[5398]: segfault at 0 ip 08138a8e sp bfa81100 error 6 in Xorg[8048000+
125 - Aspire One D255 prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory prepare_ access: bo map failed: Cannot allocate memory +0x3b) [0x80e94cb] rt_sigreturn+ 0x0) [0xe0b40c] start_main+ 0xe6) [0x2efce6]
[ 194.542] (WW) intel(0): intel_uxa_
[ 194.544] (WW) intel(0): intel_uxa_
[ 194.545] (WW) intel(0): intel_uxa_prepare _access: bo map failed: Cannot allocate memory
[ 194.545] (WW) intel(0): intel_uxa_
[ 194.546] (WW) intel(0): intel_uxa_
[ 194.547] (WW) intel(0): intel_uxa_prepare _access: bo map failed: Cannot allocate memory
[ 194.547] (WW) intel(0): intel_uxa_
[ 194.548] (WW) intel(0): i ntel_uxa_
[ 194.548] (WW) intel(0): intel_uxa_
[ 194.549] (WW) intel(0): intel_uxa_
[ 194.550] Backtrace:
[ 194.550] 0: X (xorg_backtrace
[ 194.551] 1: X (0x8048000+0x5dcd8) [0x80a5cd8]
[ 194.551] 2: (vdso) (__kernel_
[ 194.551] 3: X (0x8048000+0x22a80) [0x806aa80]
[ 194.551] 4: X (0x8048000+0x278d7) [0x806f8d7]
[ 194.551] 5: X (0x8048000+0x1a84c) [0x806284c]
[ 194.551] 6: /lib/libc.so.6 (__libc_
[ 194.551] 7: X (0x8048000+0x1a441) [0x806244...