IDEA 5.0.2, Linux 2.6 and JDK 1.5.0_04 (not starting)

Hello all,

I have IDEA running fine with a 1.4.2 JVM on a Suse 9.3 system. But if I try
to use a 1.5.0 JVM to run IDEA itself, then the process
hangs on startup. I can turn on -XX:+PrintCompilation and
I see that after 30 methods, even that comes to a stop.

Any ideas would be greatly appreciated.

Ctrl\ on the box gives these threads:

Full thread dump Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode):

"Lock thread" prio=1 tid=0x081fe828 nid=0x35ef runnable
at Method)
- locked ]]> (a
at com.intellij.idea.SocketLock$

"DestroyJavaVM" prio=1 tid=0x0805bbe0 nid=0x35e1 waiting on condition

"Idea Main Thread" prio=1 tid=0x081d4bc0 nid=0x35ee runnable
at Method)
at com.intellij.idea.SocketLock.a(
at com.intellij.idea.SocketLock.lock(
- locked (a com.intellij.idea.SocketLock) at com.intellij.idea.Main.lockSystemFolders( - locked <0x51bdb3f8>]]> (a java.lang.Class)
at com.intellij.idea.Main.checkStartupPossible(
at com.intellij.idea.Main.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.intellij.ide.plugins.PluginManager$

"Low Memory Detector" daemon prio=1 tid=0x080c6170 nid=0x35ec runnable

"CompilerThread0" daemon prio=1 tid=0x080c4c20 nid=0x35eb waiting on condition

"Signal Dispatcher" daemon prio=1 tid=0x080c3d88 nid=0x35ea runnable

"Finalizer" daemon prio=1 tid=0x080b8718 nid=0x35e9 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove( - locked <0x45970848>]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(
at java.lang.ref.Finalizer$

"Reference Handler" daemon prio=1 tid=0x080b7a78 nid=0x35e8 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.Reference$Lock) at java.lang.Object.wait( at java.lang.ref.Reference$ - locked <0x45970758>]]> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=1 tid=0x080b4e58 nid=0x35e7 runnable

"VM Periodic Task Thread" prio=1 tid=0x080c7600 nid=0x35ed waiting on condition

1 comment
Comment actions Permalink

The problem was obviously a networking issue with localhost.

Add this to the vmoptions file and all is well.

Yes, our linux boxes all have ipv6 enabled.


Please sign in to leave a comment.