Appearance Settings Crashes IDEA on Solaris

I am hopeful that someone here can help me work around this. I am using build 2239 on a SPARC Solaris 9 machine. Any time I click on the appearance settings IDEA will crash with the following error message.

Assertion failed: p != NULL, file ../../../src/share/native/sun/awt/font/t2k/t1.c, line 1974

The JRE I have in use is 1.4.2_05-b04.

Any way I can fix this?

Thanks,

Matthew

14 comments

I think you have the same issue as that reported here:
http://www.intellij.net/tracker/idea/viewSCR?publicId=28549
Which is that a bad font found its way onto your system and is crashing the virtual machine. This is the first time I have heard of the problem occurring on Solaris.

Bas

0

Thanks for the pointer.

If it is a bad font and a JVM bug like the src you reference indicates, is it not reasonable to assume that I would see similar problems in other Java applications? So far only IDEA has this problem. This is also a fresh install of Solaris 9.

Matthew

0

Maybe uses a JDK feature, other Java-application you've tested, did not
use? As you can see, the bug occured in a c-file - I doubt, that IDEA's
Solaris-bundle contains any native code.

Tom

0

I think the check IDEA does to see if a font is monospaced may trigger the problem.

0

Oh sure. I too doubt that .c file is from IDEA. :)

I was specifically trying NetBeans 4.0 in hopes that its font handling would trigger the problem again. Unfortunately, not.

Matthew

0

This only happens when clicking on the "Appearance" settings not "Colors and Fonts." IDEA is able to analyize the fonts on the system successfully in the "Colors and Fonts" settings.

Matthew

0

You're saying you can select an editor font in the "Colors and Fonts" settings that is not a monospaced font? Strange, but the font list and selection system is a little different in those two dialogs, it could be one triggers the problem and the other doesn't. You could try to temporarily remove all fonts you don't use regularly and see if IDEA still crashes.
Also there are a number of bugs reported in the sun java bugdatabase that could be the same as yours. See
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4599491
and its duplicates.

0

This must be the bug you're having:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4892906
And apparantly it's fixed in JDK 5.0.

Bas

0

Correct. I can select any type of font in the "Colors and Fonts" settings with no crash happening.

Matthew

0

You're all way off - and no it is not fixed in JDK 1.5.

It occurs on Windows 2000, Debian "Sid" (64 bit and 32 bit) and Solaris 9, with the bundled JVM and any other you'd care to try - I've tried 1.4.2_02, 1.4.2_FCS (32 and 64bit), 1.5.0_rc (32 and 64bit) and 1.5.0 (32 and 64bit).

Always the same symptoms, and curiously the same assertion failure at the same line in the AWT code on both Windows and Solaris.

The idea.log contains no trace of the fault after the crash.

There are many reported occurences in the Forums dating back to Dec 2003, but when nothing was done we just lived with it.

As of build 3185 the default look and feel is bloody ugly so I would REALLY like someone at JetBrains to have a serious look into this.

0

1. You can switch IDEA laf via View|Quick Switch Scheme.
2. JVM crash is JVM implementation fault by definition.

You're all way off - and no it is not fixed in JDK 1.5.

It occurs on Windows 2000, Debian "Sid" (64 bit and 32 bit) and
Solaris 9, with the bundled JVM and any other you'd care to try - I've
tried 1.4.2_02, 1.4.2_FCS (32 and 64bit), 1.5.0_rc (32 and 64bit) and
1.5.0 (32 and 64bit).

Always the same symptoms, and curiously the same assertion failure at
the same line in the AWT code on both Windows and Solaris.

The idea.log contains no trace of the fault after the crash.

There are many reported occurences in the Forums dating back to Dec
2003, but when nothing was done we just lived with it.

As of build 3185 the default look and feel is bloody ugly so I would
REALLY like someone at JetBrains to have a serious look into this.



0

This crash no longer happens (on my system) running Solaris using JDK 1.4.2_6 as the runtime. I have tried this on Solaris 9 x86 and 10 x86. I will test on my system today by switching back and forth from an _5 to an _6 JDK to see if I can cause the crash again.

0

It is clearly a jvm and font problem, not an IDEA problem and it happens to very few people. The gsfonts-x11 package for example is known to cause this issue. See:
http://www.intellij.net/forums/thread.jsp?forum=13&thread=111865&tstart=0&trange=15
If you could provide Jetbrains with the/a font that is causing this problem, maybe just maybe they can implement some sort of workaround.

Bas

0

My system is currently running Solaris 10 x86. If I run IDEA with a 1.4.2_05 JRE, selecting "Appearance Settings" causes the described crash. If I run IDEA with a 1.4.2_06 JRE, no crash occurs. IDEA works very well on Solaris using a 1.4.2_06 JRE. I have personally never seen this problem on Windows, only Solaris. Alas, my home Linux box is running headless and has no X server installed. Otherwise I would have experimented on Linux as well.

0

Please sign in to leave a comment.