Re: current locale is not supported in X11, locale is set to CX

Nathan Bryant <[email protected]> Thu, 22 Jul 2004 14:24:28 -0400
Newsgroups gmane.comp.java.linux.general
Organization Allegient Systems
Message-ID <[email protected]>
try:

LANG=C java newgui (to use the ASCII character set)
or
LANG=en_US java newgui (to use ISO-8859-1)
or
LANG=en_US.UTF-8 java newgui (to use UTF-8 unicode)

McCoig, Kenneth wrote:

> Correction - I am having problems running my program, NOT compiling it.
>
> ------------------------------------------------------------------------
> *From:* McCoig, Kenneth
> *Sent:* Thu 7/22/2004 1:59 PM
> *To:* [email protected]
> *Subject:* current locale is not supported in X11, locale is set to CX
>
> Could someone please help me with this. I am having problems with 
> compiling my project on the iPAQ H5550. I am unsure what I added to 
> the code that would cause this error. However the gui was working 
> before we added all the JMF stuff. Im wondering if this is the problem 
> or not. Anyone have any ideas on why this would I happen I would 
> appreciate it.
> Thanks:
>  
> ~/ipaq_gui # java newgui
> current locale is not supported in X11, locale is set to CX locale 
> modifiers are
>  not supported, using defaultfree(): invalid pointer 0x4012fdfc!
> SIGSEGV   11*  segmentation violation
>     si_signo [11]: SIGSEGV   11*  segmentation violation
>     si_errno [0]: Success
>     si_code [1]: SEGV_MAPERR [addr: 0x200]
>         stackpointer=0xbfffcb40
> Full thread dump Classic VM (Blackdown-1.3.1-RC1, native threads):
>     "AWT-Motif" (TID:0x40fae960, sys_thread_t:0x251520, state:MW, 
> native ID:0x18
> 007) prio=6
>         at sun.awt.motif.MToolkit.run(Native Method)
>         at java.lang.Thread.run(Thread.java:484)
>     "SunToolkit.PostEventQueue-0" (TID:0x40faeda0, 
> sys_thread_t:0x23afc8, state:
> CW, native ID:0x14006) prio=6
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(Object.java:420)
>         at sun.awt.PostEventQueue.run(SunToolkit.java:491)
>     "AWT-EventQueue-0" (TID:0x40faed78, sys_thread_t:0x234650, 
> state:CW, native
> ID:0x10005) prio=6
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(Object.java:420)
>         at java.awt.EventQueue.getNextEvent(EventQueue.java:260)
>         at 
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:106)
>         at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:98)
>         at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
>     "Finalizer" (TID:0x40f95528, sys_thread_t:0x5de48, state:CW, 
> native ID:0xc00
> 4) prio=8
>         at java.lang.Object.wait(Native Method)
>         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
>         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
>         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
>     "Reference Handler" (TID:0x40f95300, sys_thread_t:0x56f20, 
> state:CW, native
> ID:0x8003) prio=10
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(Object.java:420)
>         at 
> java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
>     "Signal Dispatcher" (TID:0x40f95330, sys_thread_t:0x55d70, 
> state:CW, native
> ID:0x4002) prio=5
>     "main" (TID:0x40f951b0, sys_thread_t:0x1be00, state:R, native 
> ID:0x4000) pri
> o=5
>         at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)
>         at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:93)
>         at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:53)
>         at sun.awt.motif.MToolkit.createFrame(MToolkit.java:139)
>         at java.awt.Frame.addNotify(Frame.java:353)
>         at java.awt.Window.pack(Window.java:367)
>         at newgui.<init>(newgui.java:95)
>         at newgui.main(newgui.java:507)
> Monitor Cache Dump:
>     java.awt.EventQueue@40FAEF90/41015848 
> <mailto:java.awt.EventQueue@40FAEF90/41015848>: <unowned>
>         Waiting to be notified:
>             "AWT-EventQueue-0" (0x234650)
>     java.lang.Class@40FA7318/41018970 
> <mailto:java.lang.Class@40FA7318/41018970>: owner "main" (0x1be00) 1 entry
>         Waiting to enter:
>             "AWT-Motif" (0x251520)
>     sun.awt.PostEventQueue@40FAEDA0/41015D28 
> <mailto:sun.awt.PostEventQueue@40FAEDA0/41015D28>: <unowned>
>         Waiting to be notified:
>             "SunToolkit.PostEventQueue-0" (0x23afc8)
>     java.awt.Component$AWTTreeLock@40F9DED8/40FFB040 
> <mailto:java.awt.Component$AWTTreeLock@40F9DED8/40FFB040>: owner 
> "main" (0x1be00) 1 e
> ntry
>     java.lang.ref.Reference$Lock@40F95310/40FCAF98 
> <mailto:java.lang.ref.Reference$Lock@40F95310/40FCAF98>: <unowned>
>         Waiting to be notified:
>             "Reference Handler" (0x56f20)
>     java.lang.ref.ReferenceQueue$Lock@40F95540/40FCB478 
> <mailto:java.lang.ref.ReferenceQueue$Lock@40F95540/40FCB478>: <unowned>
>         Waiting to be notified:
>             "Finalizer" (0x5de48)
> Registered Monitor Dump:
>     utf8 hash table: <unowned>
>     JNI pinning lock: <unowned>
>     JNI global reference lock: <unowned>
>     BinClass lock: <unowned>
>     Class linking lock: <unowned>
>     System class loader lock: <unowned>
>     Code rewrite lock: <unowned>
>     Heap lock: <unowned>
>     Monitor cache lock: owner "main" (0x1be00) 1 entry
>     Thread queue lock: owner "main" (0x1be00) 1 entry
>     Monitor registry: owner "main" (0x1be00) 1 entry




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]