running 'xterm' crashes X server
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xorg-server (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
As of relatively recently in onieric, if I run xterm, my X session ends abruptly.
tested with gnome-shell's alt+f2 runner as well as running from within a gnome-terminal command line.
#0 0x00007faac7cf529b in ?? () from /lib/x86_
No symbol table info available.
#1 0x00007faac7cf777d in malloc () from /lib/x86_
No symbol table info available.
#2 0x00007faac51b3e54 in exaPrepareAcces
index=0, pReg=0x0) at ../../exa/
pixmaps = {{as_dst = 13765184, as_src = 0, pPix = 0x7faac80151c0,
pReg = 0xdcf460}}
pExaPixmap = 0xd398c0
success = <optimized out>
#3 0x00007faac51be337 in ExaCheckImageGl
pGC=0xd38ae0, x=2, y=13, nglyph=<optimized out>, ppci=<optimized out>,
pglyphBase=0x0) at ../../exa/
pExaScr = 0x8f8ee0
pExaGC = 0xd38ba8
#4 0x00000000004dd33a in damageText (pDrawable=
y=13, count=<optimized out>, chars=<optimized out>,
fontEncodin
charinfo = 0xd40ed0
info = <optimized out>
i = 80
n = 80
w = 0
imageblt = 1
#5 0x00000000004e109d in damageImageText16 (pDrawable=
x=2, y=13, count=<optimized out>, chars=<optimized out>)
at ../../.
pGCPriv = 0xd38bb8
oldFuncs = 0x7defa0
#6 0x00000000004316cf in doImageText (client=0xd393f0, c=0x7fffc8f87960)
at ../../dix/
err = 0
lgerr = 1
fpe = <optimized out>
itemSize = 2
#7 0x0000000000432b40 in ImageText (client=<optimized out>,
pDraw=
data=<optimized out>, xorg=<optimized out>, yorg=13, reqType=77,
did=39845935) at ../../dix/
nChars = 80 'P', data = 0xcf0380 "", xorg = 2, yorg = 13,
reqType = 77 'M', did = 39845935}
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xterm 271-1ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,
CompositorRunning: None
Date: Mon Aug 22 08:09:22 2011
DistUpgraded: Log time: 2011-07-13 10:07:59.371965
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus:
virtualbox, 4.1.0, 3.0.0-8-generic, x86_64: installed
virtualbox, 4.1.0, 3.0.0-9-generic, x86_64: installed
GraphicsCard:
ATI Technologies Inc Broadway PRO [Mobility Radeon HD 5800 Series] [1002:68a1] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device [103c:1522]
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
MachineType: Hewlett-Packard HP ENVY 15 Notebook PC
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xterm
UpgradeStatus: Upgraded to oneiric on 2011-07-13 (39 days ago)
dmi.bios.date: 04/23/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.26
dmi.board.
dmi.board.name: 1522
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 36.34
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP ENVY 15 Notebook PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.5.0-0ubuntu5
version.ia32-libs: ia32-libs 20090808ubuntu16
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
| Joe Barnett (thejoe) wrote : | #1 |
| Joe Barnett (thejoe) wrote : | #3 |
.xsession-errors after crash/endsession attached.
this is with GDM.
pretty sure this was working approximately 2 weeks ago, but not sure exactly when it got broken.
left shift during boot didn't seem to bring up the kernel boot menu; will try again, possible I got the timing of it wrong.
| Changed in xterm (Ubuntu): | |
| status: | Incomplete → New |
Quoting Joe Barnett <email address hidden>:
> Public bug reported:
>
> As of relatively recently in onieric, if I run xterm, my X session ends
> abruptly.
>
> tested with gnome-shell's alt+f2 runner as well as running from within a
> gnome-terminal command line.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: xterm 271-1ubuntu2
> ProcVersionSign
> Uname: Linux 3.0.0-9-generic x86_64
> Architecture: amd64
> CompizPlugins:
This sounds like yet another bug in compiz.
--
Thomas E. Dickey
http://
ftp://invisible
... except i'm running gnome-shell/mutter, not compiz...
On Mon, 22 Aug 2011, Joe Barnett wrote:
> .... except i'm running gnome-shell/mutter, not compiz...
The description I read of it sounded as if it uses much of the same code.
(I would comment directly on it, but 11.04 is the latest Ubuntu I've
installed so far, and it refused to run Unity in a VM - and most of
the Ubuntu reports I've seen in the past year have been compiz-related).
--
Thomas E. Dickey
http://
ftp://invisible
@Thomas, it does sound like a compiz bug, however "CompositorRunning: None" indicates no compiz. (I thought that would detect gnome-shell/mutter too but perhaps not). In any case, GdmLog2.txt shows:
*** glibc detected *** /usr/bin/Xorg: free(): corrupted unsorted chunks: 0x0000000002b844c0 ***
======= Backtrace: =========
/lib/x86_
/lib/x86_
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/lib/x86_
/usr/bin/
Which is why I asked about lightdm vs. gdm. That log shows a 8/12 build date on xserver, which seems to correspond with the timeframe of 2 weeks. So, while xterm might be triggering it, it's looking more like an xserver bug to me.
| affects: | xterm (Ubuntu) → xorg-server (Ubuntu) |
| Changed in xorg-server (Ubuntu): | |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| Bryce Harrington (bryce) wrote : | #8 |
@Joe, could you collect a full backtrace on this bug? I think it'd provide some better details than was captured in that log.
See http://
| Changed in xorg-server (Ubuntu): | |
| status: | Triaged → Incomplete |
| Joe Barnett (thejoe) wrote : | #9 |
debug bt attached
| Changed in xorg-server (Ubuntu): | |
| status: | Incomplete → New |
| Joe Barnett (thejoe) wrote : | #10 |
not sure if related, but as of today* noticing weird potentially damage-related issues in gnome-terminal/
if i have two tabs open and switch between them, the terminal/tab display doesn't always update. Sometimes only the tab contents get repainted, sometimes only the tab itself, sometimes neither. if I then unfocus the window, the terminal gets repainted appropriately. let me know if I should file a separate bug for that.
* possibly related to mutter/clutter upgrade? unclear to me...
| description: | updated |
| Bryce Harrington (bryce) wrote : | #11 |
Hmm, the code is failing on this line in exa_migration_
However the backtrace doesn't indicate what the values are for sys_pitch or drawable.height, so it's unclear why malloc would fail here.
Can you tell me more about your setup? What makes it unusual compared with a stock Ubuntu instance? Any ideas why memory allocation might be failing?
Also, you mentioned that you saw this "relatively recently" - is your implication that this used to work in oneiric and regressed recently? If so, can you give an estimate as to roughly what day (or range of days) the regression began for you?
You mention gnome-shell... are you able to reproduce this bug *only* in gnome-shell, or do you see it under other window managers like unity or unity-2d?
| Changed in xorg-server (Ubuntu): | |
| status: | New → Incomplete |
| Joe Barnett (thejoe) wrote : | #12 |
Nothing particularly unusual I think... gfx card is a ATI Technologies Inc Broadway PRO [Mobility Radeon HD 5800 Series]; probably most unusual part of setup is 1920x1080 laptop screen attached to 1920x1200 monitor. Definitely no idea why malloc would fail.
This worked in oneiric until around when bug report was filed (definitely worked ~2 weeks beforehand, then didn't test for a week, then failed). It also worked in natty, although I just remembered that I was seeing the same behavior towards the end of the natty xorg-edgers updates. It fixed when purging xorg-edgers ppa, and then remained fixed on upgrade to oneiric.
will test with gnome-panel/
| Joe Barnett (thejoe) wrote : | #13 |
ok, right now getting X to freeze/lock up instead of exit when starting xterm. tested in gnome-panel, gnome-shell, and unity sessions
also seeing this in /var/log/Xorg.0.log and /var/log/
/var/log/
[ 253.514]
Backtrace:
[ 253.533] 0: /usr/bin/Xorg (xorg_backtrace
[ 253.533] 1: /usr/bin/Xorg (0x400000+0x64a4a) [0x464a4a]
[ 253.533] 2: /lib/x86_
[ 253.533] 3: /lib/x86_
[ 253.533] 4: /lib/x86_
[ 253.533] 5: /usr/lib/
[ 253.533] 6: /usr/lib/
[ 253.533] 7: /usr/bin/Xorg (0x400000+0xdd33a) [0x4dd33a]
[ 253.533] 8: /usr/bin/Xorg (0x400000+0xe109d) [0x4e109d]
[ 253.534] 9: /usr/bin/Xorg (doImageText+0x23f) [0x4316cf]
[ 253.534] 10: /usr/bin/Xorg (ImageText+0x40) [0x432b40]
[ 253.534] 11: /usr/bin/Xorg (0x400000+0x2d222) [0x42d222]
[ 253.534] 12: /usr/bin/Xorg (0x400000+0x2fb39) [0x42fb39]
[ 253.534] 13: /usr/bin/Xorg (0x400000+0x232ae) [0x4232ae]
[ 253.534] 14: /lib/x86_
[ 253.534] 15: /usr/bin/Xorg (0x400000+0x2359d) [0x42359d]
[ 253.534] Segmentation fault at address (nil)
[ 253.534]
Caught signal 11 (Segmentation fault). Server aborting
[ 253.534]
Please consult the The X.Org Foundation support
at http://
for help.
[ 253.534] Please also check the log file at "/var/log/
[ 253.534]
[ 257.818] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 257.818]
Backtrace:
[ 257.836] 0: /usr/bin/Xorg (xorg_backtrace
[ 257.836] 1: /usr/bin/Xorg (mieqEnqueue+0x201) [0x45a891]
[ 257.836] 2: /usr/bin/Xorg (xf86PostMotion
[ 257.836] 3: /usr/lib/
[ 257.836] 4: /usr/lib/
[ 257.836] 5: /usr/bin/Xorg (0x400000+0x6d947) [0x46d947]
[ 257.836] 6: /usr/bin/Xorg (0x400000+0x121b9e) [0x521b9e]
[ 257.836] 7: /lib/x86_
[ 257.836] 8: /lib/x86_
[ 257.836] 9: /lib/x86_
[ 257.836] 10: /lib/x86_
[ 257.836] 11: /usr/bin/Xorg (0x400000+0x6bc62) [0x46bc62]
[ 257.837] 12: /usr/bin/Xorg (0x400000+0x6c0e4) [0x46c0e4]
[ 257.837] 13: /usr/bin/Xorg (CloseWellKnown
[ 257.837] 14: /usr/bin/Xorg (0x400000+0x639a8) [0x4639a8]
[ 257.837] 15: /usr/bin/Xorg (0x400000+0x645b3) [0x4645b3]
[ 257.837] 16: /lib/x86_
[ 2...
| Changed in xorg-server (Ubuntu): | |
| status: | Incomplete → New |
| summary: |
- running 'xterm' exists X session + running 'xterm' crashes X server |
| Joe Barnett (thejoe) wrote : | #14 |
hmm.... is working again now; not sure what changed?!
| Bryce Harrington (bryce) wrote : | #15 |
Hey thejoe,
Hi, thanks for reporting this issue during the development period of
Ubuntu.
I notice there's not been further comments to the bug report since the
release came out, would you mind updating us on the status of it in the
release?
Are you still able to reproduce the issue? If not, do you think the bug
report can be closed, or do you think we should continue tracking it?
| Changed in xorg-server (Ubuntu): | |
| status: | New → Incomplete |
| Joe Barnett (thejoe) wrote : | #16 |
ok with closing this one, haven't seen since 2011-09-12 on oneiric
| Launchpad Janitor (janitor) wrote : | #17 |
[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]
| Changed in xorg-server (Ubuntu): | |
| status: | Incomplete → Expired |


Are you using lightdm or gdm?
Can you attach your .xsession-errors file from after reproducing the bug?
You mentioned the regression started just recently; could you narrow down on a date range? We haven't had much change in X, so it's possible the bug is due to something else; knowing roughly when the regression started we can examine your dpkg.log to see what might be causing it. I'm attaching a parsed list of packages that you upgraded in the past couple days.
I notice there was a kernel upgrade in this period; you could try booting into 3.0.0-8 and see if you can reproduce it there (hold down the left shift during boot to bring up the kernel boot menu).