-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
Mac OS X 10.6.7
Java FX 2.0 early access
Our application works fine until we start invoking the Font.loadFont() method to load a ".otf" font file. We are able to load the font and display a text in our application with the font, but once we quit our application it crashes with the following system message:
"java quit unexpectedly while using the libjavafx-font.jnilib plugin."
The output console shows the following message:
"Assertion failed: (t->numPointers == 0), function tsi_DeleteMemhandler, file src/tsimem.c, line 87."
The crash occurs after invoking the following lines of code and then quitting the application:
URL url = FontManager.class.getResource("/fonts/MyriadPro-Bold.otf");
Font font = Font.loadFont(url.toExternalForm(), 12);
The application crashes upon exit if the loadFont method is invoked, but if the load font line is commented out, the application exits just fine. Adding and removing '//' from the loadFont call line shows consistent crash behavior - if the loadFont call is part of the execution, the application always crashes upon exit - if it's not, exit is always normal.
"java quit unexpectedly while using the libjavafx-font.jnilib plugin."
The output console shows the following message:
"Assertion failed: (t->numPointers == 0), function tsi_DeleteMemhandler, file src/tsimem.c, line 87."
The crash occurs after invoking the following lines of code and then quitting the application:
URL url = FontManager.class.getResource("/fonts/MyriadPro-Bold.otf");
Font font = Font.loadFont(url.toExternalForm(), 12);
The application crashes upon exit if the loadFont method is invoked, but if the load font line is commented out, the application exits just fine. Adding and removing '//' from the loadFont call line shows consistent crash behavior - if the loadFont call is part of the execution, the application always crashes upon exit - if it's not, exit is always normal.