Bug 20718 - X-Server crashes very often in FindGlyphRef
Summary: X-Server crashes very often in FindGlyphRef
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 25840 26801 28343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-17 16:40 UTC by Michael Jansen
Modified: 2018-06-12 16:36 UTC (History)
8 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michael Jansen 2009-03-17 16:40:54 UTC
Backtrace:
0: /usr/bin/X(xf86SigHandler+0x65) [0x47e715]
1: /lib64/libc.so.6 [0x7f84f7f7f6e0]
2: /usr/bin/X(FindGlyphRef+0x2f) [0x5130df]
3: /usr/bin/X(FindGlyphByHash+0x29) [0x513749]
4: /usr/bin/X [0x51fadd]
5: /usr/bin/X(Dispatch+0x364) [0x44beb4]
6: /usr/bin/X(main+0x45d) [0x43231d]
7: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f84f7f6b586]
8: /usr/bin/X [0x4316f9]

Fatal server error:
Caught signal 11.  Server aborting

I would say it's http://lists.freedesktop.org/archives/xorg/2009-March/044396.html

Happens with nv and nvidia drivers


Name        : xorg-x11-server              Relocations: (not relocatable)
Version     : 7.4                               Vendor: openSUSE
Release     : 17.3                          Build Date: Mi 03 Dez 2008 15:48:08 CET
Install Date: Di 09 Dez 2008 22:48:21 CET      Build Host: build23
Group       : System/X11/Servers/XF86_4     Source RPM: xorg-x11-server-7.4-17.3.src.rpm
Size        : 5613377                          License: X11/MIT
Signature   : RSA/8, Mi 03 Dez 2008 15:48:49 CET, Key ID b88b2fd43dbdc284
Packager    : http://bugs.opensuse.org
URL         : http://xorg.freedesktop.org/


Summary     : X.Org Server
Description :
This package contains the X.Org Server.
Distribution: openSUSE 11.1
Comment 1 Michael Jansen 2009-08-15 05:29:00 UTC
Doesn't happen anymore with 

Name        : xorg-x11-server              Relocations: (not relocatable)
Version     : 7.4                               Vendor: openSUSE
Release     : 17.6.1                        Build Date: Do 02 Jul 2009 10:09:59 CEST
Install Date: Do 16 Jul 2009 22:11:47 CEST      Build Host: kuckuk
Group       : System/X11/Servers/XF86_4     Source RPM: xorg-x11-server-7.4-17.6.1.src.rpm
Size        : 5630085                          License: X11/MIT
Signature   : RSA/8, Do 02 Jul 2009 10:10:43 CEST, Key ID b88b2fd43dbdc284
Packager    : http://bugs.opensuse.org
URL         : http://xorg.freedesktop.org/
Summary     : X.Org Server

So i feel free to close it.
Comment 2 Rémi Cardona 2009-10-26 10:56:36 UTC
Apparently, this isn't entirely fixed. I have a bug report [1] in Gentoo for that, I'll tell the user to bring more info in here.

Thanks

[1] https://bugs.gentoo.org/288747
Comment 3 Thomas Capricelli 2009-11-22 08:32:28 UTC
(i'm the one reporting the pb on gentoo)

i keep on having this crash using xorg-server 1.7.1
Most of the time it happens when i select some text in kmail.

The last backtrace (today..) is slightly different:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x46dce8]
1: /usr/bin/X (0x400000+0x6e269) [0x46e269]
2: /lib/libpthread.so.0 (0x7fdec13bf000+0xf030) [0x7fdec13ce030]
3: /usr/bin/X (FindGlyphRef+0x1c) [0x4d4b3c]
4: /usr/bin/X (FindGlyphByHash+0x32) [0x4d4e52]
5: /usr/bin/X (0x400000+0xdc137) [0x4dc137]
6: /usr/bin/X (0x400000+0x54db4) [0x454db4]
7: /usr/bin/X (0x400000+0x2512d) [0x42512d]
8: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7fdebffebbbd]
9: /usr/bin/X (0x400000+0x24ca9) [0x424ca9]
Segmentation fault at address 0x4
Comment 4 Thomas Capricelli 2009-11-22 08:35:23 UTC
I've experienced the bug with x11-drivers/xf86-video-ati-6.12.4 and the same driver from git repository (latest try : git version of november 21st)


I've never been able to reproduce the crash once i had applied the patch on:
http://lists.freedesktop.org/archives/xorg/2009-March/044396.html

Comment 5 Paulo Zanoni 2009-11-30 11:37:37 UTC
This bug seems to be affecting a lot of people. Here are some links to distro bug reports since they have attached files with logs, backtraces, xorg.confs and lspcis:

https://qa.mandriva.com/show_bug.cgi?id=55673
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/479031
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/442144
http://bugs.gentoo.org/show_bug.cgi?id=288747

Comment 6 Thomas Capricelli 2009-11-30 12:06:43 UTC
Yes. At least on gentoo, I know of several people that suffered from this bug and who now apply the patch (Gentoo does not apply the patch to its package, yet?)
Comment 7 Michel Dänzer 2010-03-01 04:14:14 UTC
*** Bug 26801 has been marked as a duplicate of this bug. ***
Comment 8 Ralf Jung 2010-03-01 09:52:51 UTC
I also occasionally experience this issue when opening the "new mail" window in KMail. My attempt to get a readable backtrace resulted in this (I used addr2line on a debug binary, not the one which actually crashed - but it looks right):

3: FindGlyphByHash
/build/buildd/xorg-server-1.6.4/obj-i486-linux-gnu/render/../../render/glyph.c:263
4: ProcRenderAddGlyphs
/build/buildd/xorg-server-1.6.4/obj-i486-linux-gnu/render/../../render/render.c:1131
5: ProcRenderDispatch
/build/buildd/xorg-server-1.6.4/obj-i486-linux-gnu/render/../../render/render.c:2092
6: Dispatch
/build/buildd/xorg-server-1.6.4/obj-i486-linux-gnu/dix/../../dix/dispatch.c:457
7: main
/build/buildd/xorg-server-1.6.4/obj-i486-linux-gnu/dix/../../dix/main.c:399

This is with Kubuntu 9.10, X.Org X Server 1.6.4, NVidia binary drivers 185.18.36, KDE 4.3.5, KMail 1.12.4.
Comment 9 Peter Harris 2010-03-24 08:42:27 UTC
Fixed in 185185eeb44a277c324be0f58a4b4a469b56b69b, and nominated for backport.
Comment 10 Ralf Jung 2010-03-24 08:49:58 UTC
Thank you very much :) . Now I pray that this patch makes it into the next *buntu.
Comment 11 Julien Cristau 2010-06-02 05:32:57 UTC
*** Bug 28343 has been marked as a duplicate of this bug. ***
Comment 12 Adam Jackson 2018-06-12 16:36:06 UTC
*** Bug 25840 has been marked as a duplicate of this bug. ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.