[gm45] Xorg crash when idle: Failed to map batchbuffer: Cannot allocate memory

Bug #588549 reported by Jeremy Kerr
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

I have had Xorg crash several times while not at the computer, and I return to find a KDM login prompt. Before the crash, the screen has been locked, with no screensaver running.

There may have been notifications appearing in the background; I generally have IRC (Quassel) and IM (kopete) clients running while the system is idle. The crash may be related to an event (notifcation) occuring at the time, but I can't tell.

Xorg.0.log.old reports around 2.5k lines of:

 (WW) intel(0): i830_uxa_prepare_access: bo map failed

At the end of the log:

 Fatal server error:
 Failed to map batchbuffer: Cannot allocate memory

May be a dup of Bug #539938, but reporting separately as it looks like we have a different errno here.

Running lucid, xserver-xorg-video-intel version is 2:2.9.1-3ubuntu5, kernel version 2.6.32-22.33.

Happy to provide more info if required.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xserver-xorg-video-intel 2:2.9.1-3ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Wed Jun 2 08:23:04 2010
DkmsStatus:

EcryptfsInUse: Yes
MachineType: LENOVO 2777CTO
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=66f31270-8b1f-4e8b-b057-0dbb76dc5c81 ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_AU.utf8
 SHELL=/bin/bash
SourcePackage: xserver-xorg-video-intel
dmi.bios.date: 05/15/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 6EET41WW (3.01 )
dmi.board.name: 2777CTO
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:bvr6EET41WW(3.01):bd05/15/2009:svnLENOVO:pn2777CTO:pvrThinkPadX301:rvnLENOVO:rn2777CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2777CTO
dmi.product.version: ThinkPad X301
dmi.sys.vendor: LENOVO
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-22-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
     Subsystem: Lenovo Device [17aa:20e4]

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote :
Stenten (stenten)
tags: added: gm45
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
tags: added: kubuntu
Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote :

Just happened again, except this time the machine wasn't idle; I was editing a file with gvim. Xorg had been running for about two days.

Same message in the Xorg log:

Fatal server error:
Failed to map batchbuffer: Cannot allocate memory

bugbot (bugbot)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

Yeah, all of the X error messages are just generic errors that mean the system ran out of memory. Some other gui app was probably leaking memory badly. The xserver in Lucid has poor low-memory-condition handling, so will crash in those situations, but the underlying problem is going to be something else.

Fwiw, I put in several memory-starvation fixes into xserver subsequent to Lucid, but they don't actually fix the problem, they just make X not crash in these situations; your system is still out of memory and other things will certainly fail.

Bumping out of the X queue since figuring out what's leaking will take additional sleuth work.

affects: xserver-xorg-video-intel (Ubuntu) → ubuntu
Revision history for this message
penalvch (penalvch) wrote :

Jeremy Kerr, thank you for reporting this bug to Ubuntu. Lucid Desktop reached EOL on May 9, 2013.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Is this an issue in a supported release?

tags: added: bios-outdated-3.16
removed: crash gm45
Changed in ubuntu:
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in 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.