Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101046 - Eterm takes a long time to start with certain LANG's
Summary: Eterm takes a long time to start with certain LANG's
Status: RESOLVED DUPLICATE of bug 71747
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 213728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-01 17:41 UTC by Javier Jaramillo
Modified: 2008-03-18 14:24 UTC (History)
2 users (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 Javier Jaramillo 2005-08-01 17:41:26 UTC
I'm using Eterm (cvs version which is masked), when i launch it the hole system
goes to 100% CPU ussage, takes like 10secs to display the prompt, then when i
click on a menu happens the same, i've been looking in the (gentoo) forums, and
noone seems to find a 'logic' solution, all the others E app's works fine. I'm
wondering is something related with unicode support, but not sure as i've been
playing with it for a while now and doesnt seems to solve the problem. I've also
asked to ppl in IRC and noone (using another distro) seems to have the same problem.
I found the same problem in a previous (beta) version of xterm but now it seems
to be fixed.

Reproducible: Always
Steps to Reproduce:
1. Launch Eterm.
2. Try to navigate through a menu.

Actual Results:  
the hole system goes up to 100% CPU usage at every step.

Expected Results:  
work as fast as xterm/aterm/konsole/gnome-terminal/etc

All other enlightenment-applications works really fine, the problem is only with
this one (Eterm). Now that i remember, the same problem with xterm was
reproduced when i compiled it with toolbar support.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-02 03:21:56 UTC
`emerge --info` is missing
Comment 2 SpanKY gentoo-dev 2005-08-02 06:40:29 UTC
does eterm-0.9.3-r4 and libast-0.6.1-r1 work ?
Comment 3 Javier Jaramillo 2005-08-02 13:02:42 UTC
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl doc eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg kde libg++ libwww
mad mikmod motif mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell
ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode
vorbis xine xinerama xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Javier Jaramillo 2005-08-02 13:29:02 UTC
- does eterm-0.9.3-r4 and libast-0.6.1-r1 work ?
Same result.

Also tried both cvs versions (9999) Eterm and libast.
Getting the same results.

And cvs version of libast with Eterm-0.9.3-r4.
Same result.
Comment 5 SpanKY gentoo-dev 2005-08-02 13:31:37 UTC
ive seen other people report this behavior but no one has tracked it down
Comment 6 Javier Jaramillo 2005-08-03 18:17:25 UTC
wow, i was just about to test blender and i found something weird, i get exactly
the same problem (Lagged menus that makes my CPU go up to ~100%). I can use the
program normally, but everytime i try to click some menu (not just a drop-down
menu, but also a textbox or something), i get a lag. I think it could be some
kind of lib ;-\.
Comment 7 Javier Jaramillo 2005-08-10 23:31:16 UTC
Well, i just did a clean install a couple of days ago, (stable). I dont get the
crazy bug, it starts as fast as xterm/aterm. (Eterm cvs-version).
Here is the `emerge --info` output.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl doc eds emboss
encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses
nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline
samba sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts
unicode vorbis xinerama xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 8 SpanKY gentoo-dev 2005-08-16 20:24:59 UTC
seems to be locale related
Comment 9 Javier Jaramillo 2005-08-17 08:46:18 UTC
yes, it is. I just got these emails from the E-devel mailing list:

Dave Novakovic <dnovakov@student.bond.edu.au> wrote:

> Hve been reccomended to submit a bug report to this email addie.
>
> Using locale en_AU.utf8 causes eterm to start very slowly, the whole
> time it is loading it uses 100% cpu, and pretty much puts my system
> in stop mode. With RiverRat's help i was able to make an alias to
> ignore the locale for eterm, so im happy.  Just posting the bug to
> provide more info if possible.
>
> I'm using eterm-0.9.3-r4 on gentoo, compiled from portage.
>
> xorg-x11-6.8.2-r2 for xorg.
>
> cheers
>
It's the same here with de_DE.UTF-8. Eterm doesn't support utf-8 (yet)
If i start it with a iso locale like:

LC_ALL="de_DE@euro" Eterm &

all is fine ;)

regards
tom
Comment 10 Alias John Doe 2005-10-14 00:20:09 UTC
a dirty hack in my ~/.bashrc 
 
alias Eterm='LC_ALL="fr_FR@euro" Eterm --trans' 
 
 
and now the alias bring it @the speed of light 
Comment 11 Matthias Langer 2005-12-22 17:13:25 UTC
Exactly the same here with eterm-0.9.3-r4 and the useflags mmx and unicode ...

Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm audiofile avi berkdb bitmap-fonts bzip2 bzlib cdr crypt cups curl dbus dvd dvdr emboss encode esd evo exif expat fam ffmpeg firefox foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib ipv6 java jpeg junit lcms libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg ncurses nls nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdflib perl plotutils png python readline recode ruby sdl slang speex spell sqlite sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml xml2 xmms xv xvid zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 12 Chris Bainbridge (RETIRED) gentoo-dev 2006-03-19 05:58:58 UTC
This is probably a dupe of #71747
Comment 13 the_mgt 2006-07-15 09:44:36 UTC
I agree with Chris Bainbridge about this bug being a dupe of #71747.
The proposed solution in that bug is "emerge font-daewoo-misc font-isas-misc font-jis-misc" and it does work, at least for me.
Comment 14 SpanKY gentoo-dev 2006-07-15 20:38:09 UTC

*** This bug has been marked as a duplicate of 71747 ***
Comment 15 SpanKY gentoo-dev 2008-03-18 02:28:05 UTC
*** Bug 213728 has been marked as a duplicate of this bug. ***
Comment 16 Jill Mitchell 2008-03-18 14:24:56 UTC
I originated Bug 213728, as this didn't show up in the search I did for all bugs with Eterm as my search term. Some more information: using "LANG=C Eterm" as the command to open an Eterm from my fluxbox 0.9.4 menu is a workaround.

Emerge --info:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.
23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 AMD Sempron(tm) Processor 2800+
Timestamp of tree: Thu, 13 Mar 2008 03:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gcon
f /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel_fetch sandbox sfperms stri
ct unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit X acl acpi alsa arts avi berkdb binary-drivers bitmap-fonts cairo cdp
aranoia cdr cg chroot cli cracklib crypt cups dbus dlloader dri dvd dvdread eds 
encode esd evo fam fat firefox fortran gdbm gif gkrellm glibc-omitfp gnome gpm g
streamer gtk hal iconv ipv6 isdnlog jikes jpeg kde kerberos ldap libg++ lm_senso
rs logitech-mouse mad midi mikmod mmx mp3 mpeg mudflap mysql mysqli ncurses nfor
ce2 nls nptl nptlonly ogg opengl openmp oss pam pcre pdf pdflib perl pink png pp
ds pppd python qt3 qt3support qt4 quicktime readline reflection reiserfs sdl ses
sion spell spl sql ssl startup-notification svg tcpd tiff tools truetype truetyp
e-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xscreensaver xv
 yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
 emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x
0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="ad
pcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug lad
spa lfloat linear meter mulaw multi null plug rate route share shm softvol" APAC
HE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_def
ault authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner a
uthz_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 mi
me mime_magic negotiation rewrite setenvif speling status unique_id userdir user
track vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L
CD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses tex
t" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, L
INGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORT
DIR_OVERLAY


This may be considered to be resolved, but as my Eterm is compiled with the UNICODE USE flag, I think it needs some resolution, probably from upstream, though I'm not certain about that...having to use this rather ugly hack isn't an ideal resolution at all, I don't think. OFC, I'm just a user, what do I know :P