Finding / Fixing Fonts That Crash the JVM Follow
Hi,
I am running IDEA 6.0.2 on Linux using Java 1.5.0_07 and have the problem of the JVM blowing out when I try to configure the text editing font.
What I'd like to know is how to find or identify the curlprit font so I can remove it or replace it with a non-corrupt one. Removing fonts one at a time is not a feasible option, since I have a great many installed on my system.
I must say I am somewhat perplexed by this symptom, given the number of Java applications I use that can configure font selections without dying in this manner.
How have others worked around this problem?
Thanks.
Randall Schulz
Please sign in to leave a comment.
http://support.jetbrains.com/kb/entry.jspa?externalID=172&categoryID=4
http://intellij.net/forums/thread.jsp?forum=27&thread=189420
OK, so what does it mean when none of those programs crash for me?
RRS
Are you sure you run them under the same JVM as IDEA? Can you provide JVM crash dump?
Yes, definitely the same JVM.
Here's what was sent to the standard out / err (I gather them into a log file in my home directory via the command in the desktop launcher icon I created):
#
An unexpected error has been detected by HotSpot Virtual Machine:
#
SIGSEGV (0xb) at pc=0x5e5b2114, pid=3665, tid=1769831344
#
Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
Problematic frame:
C
#
An error report file with more information is saved as hs_err_pid3665.log
#
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
#
The file "hs_err_pid3665.log" is attached.
Attachment(s):
hs_err_pid3665.log
That's weird.
Are you sure that the app provided here:
http://intellij.net/forums/message.jspa?messageID=5014810#5014810
doesn't crash for you?
In thread "IDEA crashes when trying to change font in Ubuntu" several culprit fonts were mentioned. One of them, reported by Mark Derricutt, is called "Saab" and on my SuSE Linux 10.0 system comes from a package call "indic-fonts-2005.06.15" was installed. The descriptive text shown in the package maanger is:
"Professional Indian Language TrueType Fonts
"This package contains many fonts contributed by the community and some also donated by organisations to the OpenSource. All fonts are available under GPL."
After removing that package I can successfully open the IDEA font selector.
]]>
Randall SchulzI'm positive. I ran that one, with and without the Swing threading correction posted by Eric Burke, as well the simpler program from Knowledge Base article IDEA 5.0 crashes when trying to open Settings | Appearance dialog. None of them crashed. Not all the fonts were "OK," since I have symbol fonts and non-Latin fonts installed, but there was no JVM crash nor any exception thrown.
But as I reported below, removing the Saab (Indic) font alleviated the symptom.
]]>
Randall Schulz