On 21.01.2005 07:48:25 Saptarshi Sen wrote: > I tried to check for a graphical environment before the 'transcode' > process using the piece of code Victor had provided (attached below). There > is infact a graphical environment available (the method returns true). > > The statement "ge = > GraphicsEnvironment.getLocalGraphicsEnvironment();" generates the following > log: <snip/> > > However, there was no LinkageError at this step. > > At the next step (transcode call), the server just comes down. The > log I see is: > Assertion failed: errno == 0 && count == (size_t) size, file > ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp > , line 343 > Abort - core dumped > > What could be the problem?
Clearly this has something to do with Sun's native code for handling fonts inside the JVM. At any rate, this is no problem inside any Java code. Sun's Bugparade lists several similar problems: http://bugs.sun.com/bugdatabase/search.do?process=1&category=&subcategory=&bugStatus=&type=&keyword=fontObject.cpp&maxResults=10&startIndex=1&sortBy=relevance Check if you can upgrade your JVM. Maybe the problem has been fixed in a later version. It could also be that you've got a problematic font in your system that causes the crash. > Will using the PJA (Pure Java AWT) package help? You can try, but I'm not sure if it'll help. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]