Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121339 - xlockmore-5.21-r1 (USE=nls) segfaults with LC_ALL set to *.UTF-8
Summary: xlockmore-5.21-r1 (USE=nls) segfaults with LC_ALL set to *.UTF-8
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 12:09 UTC by Florian E
Modified: 2006-02-11 01:42 UTC (History)
0 users

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 Florian E 2006-02-02 12:09:23 UTC
$ xlock 
Could not create FontSet -*-fixed-medium-r-*-*-14-*-*-*-*-*-*,-*-*-medium-r-normal--14-*
Could not create FontSet fixed,-*-14-*
Speicherzugriffsfehler
$ env | grep LC
LC_ALL=de_DE.UTF-8
$ LC_ALL="de_DE@euro" xlock 
$ echo $?
0
$ LC_ALL="en_US.UTF-8" xlock 
Could not create FontSet -*-fixed-medium-r-*-*-14-*-*-*-*-*-*,-*-*-medium-r-normal--14-*
Could not create FontSet fixed,-*-14-*
Speicherzugriffsfehler
$ LC_ALL="en_US" xlock ; echo $?
0
$ LC_ALL="" xlock ; echo $?
Could not create FontSet -*-fixed-medium-r-*-*-14-*-*-*-*-*-*,-*-*-medium-r-normal--14-*
Could not create FontSet fixed,-*-14-*
Speicherzugriffsfehler
139
$ LC_ALL="foo" xlock ; echo $?
0


('Speicherzugriffsfehler' is segmentation fault in german)
steps to reproduce:
1.emerge xlockmore-5.21-r1 with nls-useflag set
2.run "xlock" with LC_ALL set to an UTF-8 value -> segfault

workaround: emerge xlockmore with USE="-nls" (it's always english anyway ^^)

 # emerge info
Portage 2.1_pre4-r1 (default-linux/ppc/2005.1/ppc, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 ppc)
=================================================================
System uname: 2.6.15-gentoo-r1 ppc 7447A, altivec supported
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -maltivec -mabi=altivec -pipe -fno-strict-aliasing -funroll-loops -DHAVE_ALTIVEC_H"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -maltivec -mabi=altivec -pipe -fno-strict-aliasing -funroll-loops -DHAVE_ALTIVEC_H"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="many lines..."
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X a52 aac alsa altivec asf bash-completion berkdb bitmap-fonts bzip2 caps crypt eds emboss esd fbcon flac fortran gdbm gif gnutls gpm gstreamer gtk gtk2 jack jpeg ldap libwww mad mikmod mmap motif mp3 mpeg ncurses nls nocd nptl nptlonly ogg oggvorbis pam pcre pdflib perl png python readline sdk sdl socks5 speex ssl tcpd tetex theora truetype truetype-fonts type1-fonts udev unicode userlocales v4l vorbis xml2 xv zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-02-10 16:14:12 UTC
Please, please - read the ChangeLog - nls doesn't enable translations for xlockmore - it allows it to display multi byte chars correctly - please see bug #115731 for more detail.
Comment 2 Florian E 2006-02-11 01:42:55 UTC
oh, I don't bother it's english or german.. most the time my opera is english because I'm to lazy to fetch a recent language file.
my problem wasn't the translation or the lack there of, more the fact "wtf? I can't lock my screen!"
but with a nls-useflag set in make.conf xlock segfaults, what definitly should not happen. I solved the problem for me with disabling nls. just wanted to help.

have a nice day!