Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Funny locale problem with Gentoo



After installing Gentoo, I discovered I couldn't start some apps from
the command line (e.g. gnumeric, abiword, konqueror, emacs, gnomecc),
but they would start ok from menus or by clicking on icons (in
WindowMaker). When I ran them with strace I found that they all
segfaulted with the same context:

read(3, "\1\0101\0\r\0\0\0\202\1\0\0\0\0\0\0004\0\0\0\0\0\0\0\1"..., 32)
= 32
readv(3, [{"@example.com=ja_JP.SJIS,ja_JP.EUC,ja_"..., 52}, {"", 0}], 2) = 52
munmap(0x40d8d000, 116192)              = 0
--- SIGSEGV (Segmentation fault) ---

To my untrained eye, it looked like it was having trouble loading
Japanese locales, so I took 
export XMODIFIERS="@example.com=kinput2"
out of my .bashrc, and, lo, I could start my apps again! This is not a
big deal, since I can set XMODIFIERS in wrapper scripts for the apps I
need Japanese (rather then for the whole session), but doesn't this mean
there's something missing from my install, or a bug in Gentoo? (I did
emerge kinput2, as suggested by Scott, and Japanese input works fine in
evolution, mozilla and emacs.) Anyone (in particular, Scott or Ryan)
have a clue? 
-- 
Stuart Luppescu -=- s-luppescu@example.com        
University of Chicago -=- CCSR 
才文と智奈美の父 -=-    Kernel 2.4.19-xfs-r1                
Every creature has within him the wild,
 uncontrollable urge to punt.   -- Snoopy 
 

Attachment: signature.asc
Description: This is a digitally signed message part


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links