[OT] Diagnosing fontmanager.dll crashes
I remember earlier versions of IDEA used to suffer from occasional fontmanager.dll crashes on Win32 (caused by corrupt fonts and/or boneheaded font parsing in the native JVM font manager).
Just now I'm experiencing this problem while using the latest YourKit (7.5.6).
If I remember correctly, someone once posted a small program here or in JIRA to iterate the installed fonts, and load them one by one - thus providing an indication which of the hundreds of installed fonts actually causes the JVM to crash.
I've searched the forum and JIRA, but without results.
Any chance some regulars here remember what I'm talking about?
Please sign in to leave a comment.
Maybe this one?
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=4&externalID=172
Taras Tielkes wrote:
Thanks Stephen, that's the one.
Unfortunately it doesn't crash :)
Ah well, submitted the crash log to Sun and YourKit, we'll see..
You might also try setting the following system property at startup:
-Dsun.java2d.debugfonts=true
(This prints out a lot of debug info to standard out)
Bas
Thanks Bas,
Do you perhaps know how I can launch the YK client with console enabled?
T.
Are you on windows?
Something like "java -Xmx512m -jar lib\yjp.jar" from the yourkit installation directory should do the trick.
Bas