IDEA crashing when choosing Appearance in the Settings menu?
Whenever I try to access the appearance settings, IDEA shutdown with the following error:
#
An unexpected error has been detected by HotSpot Virtual Machine:
#
SIGSEGV (0xb) at pc=0xb7e592c8, pid=15861, tid=2261584816
#
#
An error report file with more information is saved as hs_err_pid15861.log
I have also attached the log file...
I've had this before under IDEA 4.5 and then it was a font problem with Sun's J2SDK, but now IDEA 4.5 work as it should, as does all my others Java apps...
Any suggestions?
Regards,
BTJ
Attachment(s):
hs_err_pid15861.log
请先登录再写评论。
IDEA 5.0 EAP uses a different JVM than IDEA 4.5, with new bugs apparently. See this thread for a similar problem and possible solution:
http://www.intellij.net/forums/thread.jsp?forum=22&thread=152911
Yes, I know... But I have tried using different Java VMs, but to no avail...
I have also tried to exclude all my fonts, but it still crashes....
BTJ
� wrote:
Did you try the -Dsun.java2d.debugfonts=true property too?
Bas
Yes, I did... It didn't show me anything useful, as far as I could see.....
Did you've tried your memory bars?
Tom
I am not sure what you mean?
Just run a mem-test application to check your memory bars. From my
experience 90% of the VM crashs are caused by erroneously memory bars.
Tom
The suggestion is to check your memory hardware (SIMM/DIMM/...) for defects using a memory testing tool.
Aaah... ok, but my memory is ok.....
Bas Leijdekkers wrote:
I have/had the same problems on my machine at home. There also exists
the problem that the vm crashes when I try to open some specific files
(with special characters).
So I think it really might be a problem with the installed fonts...
Johannes Schneider
� wrote:
Too bad. I had hoped it would show what font was loading the moment the
jvm crashed. Then you could have just removed that font and see if that
got things working again.
Bas
Those who interested may watch (or vote) at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6289811
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Okay,
I can reproduce it. Every time I open the Appereance Dialog, Idea
crashes. Seems to be a problem with one (or more fonts I have installed).
Any suggestions?
This is really a big problem for me...
I have a Gentoo Box here (64bit) but I am using a 32bit JDK...
Johannes Schneider
#
An unexpected error has been detected by HotSpot Virtual Machine:
#
SIGSEGV (0xb) at pc=0x7bde97dd, pid=8936, tid=327701
#
Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode)
Problematic frame:
C
#
An error report file with more information is saved as
/tmp/hs_err_pid8936.log
#
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
#
Attachment(s):
hs_err_pid8936.log
Johannes Schneider wrote:
Try to run this code to find the offending font:
public class FontTest {
public static void main(String[] args) {
Font fonts[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
for (int i = 0; i < fonts.length; i++) {
final Font font = fonts+;
final String name = font.getName();
System.out.print("Checking Font: " + name);
if (font.canDisplay('a') &&
font.canDisplay('z') &&
font.canDisplay('A') &&
font.canDisplay('Z') &&
font.canDisplay('0') &&
font.canDisplay('1'))
{
System.out.println(" OK.");
}
}
}
}
HTH,
Sascha
That helped me nail down the "bad behaved" font...
Thx.... :)
BTJ
I had similar problem as well.
I set the setting to default, loaded the fonts and then switched to the custom scheme.
This is just a workaround though.
Thanks,
helped me too ;).
And for those who don't want to run it from the commandline: Here are
the import statements:
import java.awt.Font;
import java.awt.GraphicsEnvironment;
Johannes Schneider
Sascha Weinreuter wrote:
>> Okay,
>>
>> I can reproduce it. Every time I open the Appereance Dialog, Idea
>> crashes. Seems to be a problem with one (or more fonts I have installed).
>> Any suggestions?
Johannes Schneider wrote:
Haha, import statements, what's that? ;)
Sascha