IDEA crashing when choosing Appearance in the Settings menu?

Whenever I try to access the appearance settings, IDEA shutdown with the following error:

#

  1. An unexpected error has been detected by HotSpot Virtual Machine:

#

  1. SIGSEGV (0xb) at pc=0xb7e592c8, pid=15861, tid=2261584816

#

  1. Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)

  2. Problematic frame:

  3. C strcmp+0x8

#

  1. 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
0

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

0

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

0


� wrote:

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....


Did you try the -Dsun.java2d.debugfonts=true property too?

Bas

0

Yes, I did... It didn't show me anything useful, as far as I could see.....

0

Did you've tried your memory bars?

Tom

0

I am not sure what you mean?

0

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

0

The suggestion is to check your memory hardware (SIMM/DIMM/...) for defects using a memory testing tool.

0

Aaah... ok, but my memory is ok.....

0

Bas Leijdekkers wrote:

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


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

0

� wrote:

Yes, I did... It didn't show me anything useful, as far as I could see.....


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

0

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!"


0

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


#

  1. An unexpected error has been detected by HotSpot Virtual Machine:

#

  1. SIGSEGV (0xb) at pc=0x7bde97dd, pid=8936, tid=327701

#

  1. Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode)

  2. Problematic frame:

  3. C

#

  1. An error report file with more information is saved as

/tmp/hs_err_pid8936.log
#

  1. If you would like to submit a bug report, please visit:

  2. http://java.sun.com/webapps/bugreport/crash.jsp

#





Attachment(s):
hs_err_pid8936.log
0

Johannes Schneider 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?


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

0

That helped me nail down the "bad behaved" font...

Thx.... :)


BTJ

0

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.

0

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:

Johannes Schneider 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?


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

0

Johannes Schneider wrote:

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;


Haha, import statements, what's that? ;)

Sascha

0

请先登录再写评论。