Xorg crashes with SIG 11 in FindGlyphRef

Bug #442144 reported by Fuchs
This bug report is a duplicate of:  Bug #401045: X crashes in FindGlyphByHash. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Dear all,

when using some applications (easiest to reproduce is kmail, when writing a new mail) X crashes with Signal 11.

Backtrace is:

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133e0b]
1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7bd5]
2: [0x31a400]
3: /usr/bin/X(FindGlyphRef+0x11) [0x816e0d1]
4: /usr/bin/X(FindGlyphByHash+0x3c) [0x816e7bc]
5: /usr/bin/X [0x817b1dc]
6: /usr/bin/X [0x8174385]
7: /usr/bin/X(Dispatch+0x347) [0x808d057]
8: /usr/bin/X(main+0x395) [0x8072465]
9: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x3aeb56]
10: /usr/bin/X [0x8071911]
Saw signal 11. Server aborting.

Steps to reproduce: (please note that this doesn't happen always)

- Open Kmail
- Write a new mail

Expected result:

- Window opens, I am able to write a mail

Actual result:

- Xorg crashes and I am back at the login screen

Sysinfo:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu karmic (development branch)"

$ LANG=C apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
  Installed: 2:2.8.1-1ubuntu2
  Candidate: 2:2.8.1-1ubuntu2
  Version table:
 *** 2:2.8.1-1ubuntu2 0
        500 http://ch.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)

Unfortunately i am not 100% sure which package causes this, whether it is Xorg, the intel driver or Qt. But my best guess was the intel driver, as I only saw it on my intel system so far.

Hope you are able to reproduce and fix this.
Just ask if you need further information.

Kind regards

Christian

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

Hi fuchs,

Please attach the output of `lspci -vvnn` and `dmesg`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you're using a custom /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: crash
tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
Fuchs (fuchs) wrote :

Hello Bryce,

I will update the bug report tomorrow, as for today I don't have access to this system anymore.

As an update in general:

I tried to track down the problem, and as it seems to be font rendering (glyph cache), I tried a few options there.

The problem is only reproducible when

1) Font Antialiasing is on for Qt/KDE
2) Specific fonts are used (tried: Serif/Sans Serif, which should be an alias to deja-vu (default)

As soon as I either change fonts (tried with Arial) or disable font antialiasing I can't reproduce it anymore.

I will reproduce it for you tomorrow and add the output requested. Please note that in the meantime I updated the intel driver with the xorg-updates ppa, but the problem stays the same. Just as a sidenote, as the output will differ from what I wrote in the original report.

Thanks so far, kind regards

Christian

Revision history for this message
Fuchs (fuchs) wrote :

As promised I attached the information I was asked for.

Even though I am quite sure that it wont help much, as the interesting thing about Xorg is the Segmentation Fault with back trace.

As far as I can see/guess, there is some caching going on for glyphs when font antialiasing is enabled. However, some applications (kmail is easiest, maybe due to the fact that it hides windows?) seems to trigger a glyph lookup which tries to fetch from an invalid / forbidden memory section. This is why it's a bit hard for me to tell which package really causes this, but my best guess is Xorg and the video driver. I know that this is a bug which might be hard to reproduce, but unfortunately I can't do much more.

As said, this only happens with font antialiasing enabled, and only with some fonts (default binding for serif/sans serif, which should be dejavu). Easiest way to trigger: (might be better to do this in gnome) go to systemsettings, font settings, revert all settings to standard, apply, start kmail, reply to a mail. Xorg should crash. At least it does that here, 100% reproducible.

Kind regards,

Christian

Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
Rainer (rainerf) wrote :

This bug seems to affect me too, but not with xserver-xorg-video-intel but with nvidia's proprietary driver (185.18.36-0ubuntu8). Also, it is not as reliably reproducible for me, xorg just crashes more or less randomly. I am also using the default fonts (DejaVu) and anti-aliasing.

Revision history for this message
Rainer (rainerf) wrote :
Revision history for this message
Rainer (rainerf) wrote :
Revision history for this message
Rainer (rainerf) wrote :
Revision history for this message
Fuchs (fuchs) wrote :

Why is this bug still marked as incomplete?

I delivered the requested information long time ago and got no feedback.
I don't see why it should expired due to this wrong status ...

If you need further information, please request it.

If I get no further feedback, I will change this status before the bug expires.

Kind regards,

Christian

Revision history for this message
Fuchs (fuchs) wrote :

Seems other people got this on different drivers as well,

http://lists.freedesktop.org/archives/xorg/2009-March/044396.html
http://bugs.gentoo.org/show_bug.cgi?id=288747

Even though the report is old, it seems to happen with recent versions of xorg as well.

Could you please check whether this patch has been applied with upstream, and if not, whether it would make sense to apply it?

Xorg crashing is a severe issue, as it takes down all applications (with unsaved documents) started in it as well.

Kind regards,

Christian

Fuchs (fuchs)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
Revision history for this message
Vikram Dhillon (dhillon-v10) wrote :

This issue was reported against karmic, so can you confirm if this issue exists with the most recent Lucid Lynx 10.04 Alpha release? ISO CD images are available at http://cdimage.ubuntu.com/releases/lucid/ . Thanks in advance.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
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.