[TriLUG] linux java

H Brett Bolen brettb at nc.rr.com
Mon Oct 21 12:20:48 EDT 2002


I have a java app running on linux that gives the following 
error:

> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x61B6E48D
> Function=CreateCMAP__FPUcPUs+0x85
> Library=/usr/java/j2sdk1.4.0_02/jre/lib/i386/libfontmanager.so
> 
> Current Java thread:
> 	at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
> 	- locked <0x5d1490a0> (a java.lang.Class)
> 	at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:709)
> 	at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:560)
> 	at sun.java2d.SunGraphicsEnvironment.access$000(SunGraphicsEnvironment.java:57)
> 	at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:210)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:204)
> 	- locked <0x4439d820> (a sun.awt.X11GraphicsEnvironment)
> 	at sun.java2d.SunGraphicsEnvironment.mapFamilyName(SunGraphicsEnvironment.java:402)
> 	at java.awt.Font.initializeFont(Font.java:314)
> 	at java.awt.Font.<init>(Font.java:346)

Unfortunately, this happens a the client site and I can't reproduce it with my code.

At first I thought it might be a stack overflow problem and I tried playing with
java -Xms<n> -Xmx<n>, but it doesn't seek to fix it.

Has anybody heard of this problem?

I am loading a set of hand made true type fonts onto a linux system running
xfree 4.2.0.  The true type fonts works on our system with demo code and also
on their system with demo code.  It does not work within a large java application.

thanks
b


-- 
b²

-----------------------
-- H Brett Bolen
-- TCNi
-- Phone: 919 550-0828
-- eFax : 509 752-8446






More information about the TriLUG mailing list