Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288747 - [PATCH] x11-base/xorg-server often crashes on FindGlyphRef+0x29
Summary: [PATCH] x11-base/xorg-server often crashes on FindGlyphRef+0x29
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 17:20 UTC by Thomas Capricelli
Modified: 2009-12-07 08:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2009-10-12 17:20:28 UTC
I'm using ~amd64, x11-base/xorg-server-1.6.5 and x11-drivers/xf86-video-ati-6.12.4, thought the bug was already there with x11-base/xorg-server-1.6.4.

X crashes completely, it often happens when i'm selecting text in kmail, but there are other cases.

Xorg.0.log always contains :

-----------------------------------------------------------
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4ffec6]
1: /usr/bin/X(xf86SigHandler+0x6f) [0x49897f]
2: /lib/libc.so.6 [0x3c7bc326d0]
3: /usr/bin/X(FindGlyphRef+0x29) [0x539909]
4: /usr/bin/X(FindGlyphByHash+0x32) [0x539c42]
5: /usr/bin/X [0x546e83]
6: /usr/bin/X(Dispatch+0x39c) [0x44cabc]
7: /usr/bin/X(main+0x3a5) [0x4315d5]
8: /lib/libc.so.6(__libc_start_main+0xe6) [0x3c7bc1ea26]
9: /usr/bin/X [0x430a39]

Fatal server error:
Caught signal 11.  Server aborting
-----------------------------------------------------------

I've found that with google :
http://lists.freedesktop.org/archives/xorg/2009-March/044396.html

So i've re-emerged xorg-server and hand-applied the proposed patch before it got compiled. I'm not testing this new server and will report here.


Reproducible: Always




Portage 2.2_rc46 (default/linux/amd64/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.32-rc3-hg528dcc2bdcb7 x86_64)
=================================================================                                                
System uname: Linux-2.6.32-rc3-hg528dcc2bdcb7-x86_64-AMD_Athlon-tm-_II_X4_620_Processor-with-gentoo-2.0.1        
Timestamp of tree: Mon, 12 Oct 2009 16:00:01 +0000                                                               
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                        
ccache version 2.4 [disabled]                                                                                    
app-shells/bash:     4.0_p33                                                                                     
dev-java/java-config: 2.1.9-r1                                                                                   
dev-lang/python:     2.6.3, 3.1.1-r1                                                                             
dev-python/pycrypto: 2.0.1-r8                                                                                    
dev-util/ccache:     2.4-r8                                                                                      
dev-util/cmake:      2.6.4-r3                                                                                    
sys-apps/baselayout: 2.0.1                                                                                       
sys-apps/openrc:     0.5.1                                                                                       
sys-apps/sandbox:    2.1                                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                             
sys-devel/binutils:  2.19.1-r1                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.30-r1                                                                                   
ABI="amd64"                                                                                                      
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
ACCEPT_LICENSE="* -@EULA"                                                                                        
ACCEPT_PROPERTIES="*"                                                                                            
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"             
ANT_HOME="/usr/share/ant"                                                                                                                                                                             
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"        
ARCH="amd64"                                                                                                                                                                                                           
ASFLAGS_x86="--32"                                                                                                                                                                                                     
AUTOCLEAN="yes"                                                                                                                                                                                                        
BASH_ENV="/.profile"                                                                                                                                                                                                   
CAMERAS="canon ptp2"                                                                                                                                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                                           
CDEFINE_amd64="__x86_64__"                                                                                                                                                                                             
CDEFINE_x86="__i386__"                                                                                                                                                                                                 
CFLAGS="-march=native -pipe -O3"                                                                                                                                                                                       
CFLAGS_x86="-m32"                                                                                                                                                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                                            
CHOST_amd64="x86_64-pc-linux-gnu"                                                                                                                                                                                      
CHOST_x86="i686-pc-linux-gnu"                                                                                                                                                                                          
CLEAN_DELAY="5"                                                                                                                                                                                                        
COLLISION_IGNORE="/lib/modules"                                                                                                                                                                                        
CONFIG_PROTECT="/etc /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/kde/4.svn/share/config /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                          
CVS_RSH="ssh"                                                                                                                                                                                                          
CXXFLAGS="-march=native -pipe -O3"                                                                                                                                                                                     
DCCC_PATH="/usr/lib64/distcc/bin"                                                                                                                                                                                      
DEFAULT_ABI="amd64"                                                                                                                                                                                                    
DISPLAY=":0"                                                                                                                                                                                                           
DISTCC_LOG=""                                                                                                                                                                                                          
DISTCC_VERBOSE="0"                                                                                                                                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                                       
EDITOR="/usr/bin/vim"                                                                                                                                                                                                  
ELIBC="glibc"
Comment 1 Wormo (RETIRED) gentoo-dev 2009-10-20 07:00:01 UTC
Any luck after applying the mentioned patch?
Comment 2 Thomas Capricelli 2009-10-20 22:51:00 UTC
well, actually, i haven't had any crash since then. Sometimes X takes 90% of cpu (on quad-core AMD) and i have to restart it, but i'm confident it's a different issue. I highly recommend this patch, i'm very happy with it :-)

Probably we should bug upstream about it. They are more or less aware of it, but not enough to include it, it seems.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-10-26 13:02:20 UTC
Please file a bug upstream [1] with all the info you've gathered and paste the URL here so I can track the issue.

Thanks
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-10-26 13:02:38 UTC
[1] https://bugs.freedesktop.org/
Comment 5 Thomas Capricelli 2009-10-26 16:36:55 UTC
It seems closed upstream,
https://bugs.freedesktop.org/show_bug.cgi?id=20718

but i dont understand in which version of xorg-server ...

Also, i think you were quite click to close this bug. Until i bring this link, it was not really 'closed', but rather "waiting for upstream". We could at least report here which gentoo version of the package the user need in order to be protected from this very bug.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-10-26 17:52:26 UTC
(In reply to comment #5)
> It seems closed upstream,
> https://bugs.freedesktop.org/show_bug.cgi?id=20718
> 
> but i dont understand in which version of xorg-server ...

Indeed, it's not quite clear.

> Also, i think you were quite click to close this bug. Until i bring this link,
> it was not really 'closed', but rather "waiting for upstream". We could at
> least report here which gentoo version of the package the user need in order to
> be protected from this very bug.

In our bugzilla, NEEDINFO means "we (gentoo devs) have asked something from you (users) and we can't help you without that information".

So it worked since you replied in less than a day :)

Thanks
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-10-26 17:57:52 UTC
I've reopened the upstream bug. Please add all the information you have in your case in the upstream bug, I've CCed myself there, we'll track the issue directly in FreeDesktop's bugzilla.

Thanks
Comment 8 Thomas Capricelli 2009-10-30 02:47:55 UTC
i've updated to x11-base/xorg-server-1.7.1 and the crashes are back. I'm now applying the same patch by  hand.