Problem launching 8.1 on new Fedora 10 install using Sun jdk1.6.0_13

I just got done with a new installation of Fedora 10.

Afterwards I manually installed Sun's jdk1.6.0_13 into /opt/java/jdk1.6.0_13.  I created appropriate entries in ~/.profile to specify that jdk as $IDEA_JDK.

I then installed IntelliJ 8.1 into /opt/intellij/idea-9732.

Initially I tried copying over ~/.IntelliJIdea80/config to keep license, settings, etc (which actually worked on another fresh Fedora 10 install I was using to validate the upgrade oddly enough) but the problem I will describe below occurs whether the copied config directory is there or not.

Now, whenever I try to launch IntelliJ via /opt/intellij/idea-9732/bin/idea.sh (same effect from Terminal or Gnome launcher) it just hangs after the first dialog it displays.

In the case of the copied user-config directory being there (as it was on my initial launch attempts) it displays the 8.1 splash screen and then the Welcome/Quickstart frames, but the splash never goes away and I am not able to get focus to the IntelliJ frame.  So I have to 'kill -9' it.

So my next step was to nuke the user-config dir I had copied in, thinking perhaps it was the culprit.  On that launch I gets to the "Complete Installation" dialog asking if I want to import settings.  However, that dialog is "frozen" and I am not able to make any selections in it.  Again, 'kill -9'.

On the next launch it now goes to the 'License Key' dialog, again at which point it freezes up.  Again, 'kill -9'.

I have no idea how to even start tracking down what the issue might be.  Like I said above, the really infuriating part is that the same setup worked on another box I had used to proof this upgrade to Fedora 10.

Anyone have any thoughts on either what the cause might be or how to go about tracking it down?

10 comments
Comment actions Permalink

I'd delete everything in the .Intellij.../system/caches directory and try again. If that doesn't work, i'd try a

kill -QUIT process_id
when it's hanging. At least that way you'd get to know exactly what the jvm is doing when its hanging. If it's not immediately obvious what the problem is you could try pasting the stacktraces from that here and maybe someone else could spot the problem.
0
Comment actions Permalink

Thanks for the response.

I did nuke the caches directory, but still get the hang.  Unfortunately, 'kill -QUIT {pid}' had no effect at all.

0
Comment actions Permalink

I should say though, considering that the hang occurs even if I nuke both {system} and {config} I dont think this is an issue with the data contained in either of those directories...

0
Comment actions Permalink

Assuming the process is running attached to a  console, try hitting ctrl-break in the console - that should also give a stack dump.

0
Comment actions Permalink

And failing that, you could try running it through strace if you have that installed - may give extra information although it'll be rather verbose.

0
Comment actions Permalink

Seems ctrl-break only works on windows.
I'd put something in the idea.sh to output "which java", any applicable environment settings etc, just to make sure it's running on what you think it is. Perhaps you could try running it of a different version of java, if there are any in /usr/lib/jvm.

0
Comment actions Permalink

Actually I was able to get 'kill -QUIT' to dump the stacktraces.  Here they are (trying inline text first):

2009-03-25 21:30:17
Full thread dump Java HotSpot(TM) Server VM (11.3-b02 mixed mode):


"TimerQueue" daemon prio=10 tid=0x62c61c00 nid=0xd42 in Object.wait() [0x62bd4000..0x62bd5020]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0xb0fe1418> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:236)
    - locked <0xb0fe1418> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)


"atlassian-idea-plugin background status checkers" prio=10 tid=0x63154000 nid=0xd40 in Object.wait() [0x63677000..0x63677ea0]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0xb1028558> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0xb1028558> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)


"XML-RPC Weblistener" prio=10 tid=0x631d5000 nid=0xd3b runnable [0x62da6000..0x62da6f20]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
    - locked <0xb1028970> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:453)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at org.apache.xmlrpc.WebServer.run(WebServer.java:453)
    at java.lang.Thread.run(Thread.java:619)


"Performance watcher" prio=10 tid=0x631d4c00 nid=0xd3a waiting on condition [0x62df7000..0x62df7da0]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0xb1028cf0> (a java.util.concurrent.Semaphore$NonfairSync)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:947)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1239)
    at java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:383)
    at com.intellij.diagnostic.PerformanceWatcher.c(PerformanceWatcher.java:72)
    at com.intellij.diagnostic.PerformanceWatcher.access$100(PerformanceWatcher.java:85)
    at com.intellij.diagnostic.PerformanceWatcher$2.run(PerformanceWatcher.java:1)
    at java.lang.Thread.run(Thread.java:619)


"ApplicationImpl pooled thread" prio=10 tid=0x631bac00 nid=0xd39 waiting on condition [0x62e69000..0x62e69e20]
   java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0xb102d888> (a java.util.concurrent.SynchronousQueue$TransferStack)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
    at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)


"Progress Cancel Checker" prio=10 tid=0x631b8800 nid=0xd36 waiting on condition [0x63492000..0x63492120]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:4)


"AWT-EventQueue-1 8.1#9732, eap:false" prio=10 tid=0x63156800 nid=0xd2f runnable [0x62fe1000..0x62fe1fa0]
   java.lang.Thread.State: RUNNABLE
    at sun.awt.X11.XInputMethod.openXIMNative(Native Method)
    at sun.awt.X11.XInputMethod.openXIM(XInputMethod.java:45)
    at sun.awt.X11InputMethod.initXIM(X11InputMethod.java:184)
    - locked <0xae1317a8> (a sun.awt.X11.XInputMethod)
    at sun.awt.X11InputMethod.<init>(X11InputMethod.java:168)
    at sun.awt.X11.XInputMethod.<init>(XInputMethod.java:30)
    at sun.awt.X11.XInputMethodDescriptor.createInputMethod(XInputMethodDescriptor.java:20)
    at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:835)
    at sun.awt.im.InputContext.getInputMethod(InputContext.java:785)
    - locked <0xae130320> (a sun.awt.im.InputMethodContext)
    at sun.awt.im.InputContext.dispatchEvent(InputContext.java:222)
    at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:180)
    at java.awt.Component.dispatchEventImpl(Component.java:4517)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4413)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
    at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4345)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4202)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4413)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:223)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


"timed reference disposer" prio=10 tid=0x646aa400 nid=0xd28 waiting on condition [0x63626000..0x63626ea0]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0xb105c628> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)


"Periodic tasks thread" prio=10 tid=0x08c26c00 nid=0xd1b waiting on condition [0x63cfe000..0x63cfef20]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0xb0fe11b0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)


"AWT-Shutdown" prio=10 tid=0x63dd3400 nid=0xd19 in Object.wait() [0x634e2000..0x634e2e20]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0xb105c978> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0xb105c978> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)


"SocketListenerThread" prio=10 tid=0x63dd5400 nid=0xd18 runnable [0x63533000..0x635340a0]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainDatagramSocketImpl.receive0(Native Method)
    - locked <0xb1070498> (a java.net.PlainDatagramSocketImpl)
    at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    - locked <0xb1070498> (a java.net.PlainDatagramSocketImpl)
    at java.net.DatagramSocket.receive(DatagramSocket.java:712)
    - locked <0x75051dd8> (a java.net.DatagramPacket)
    - locked <0xb1070460> (a java.net.MulticastSocket)
    at com.intellij.a.e.a.e.a(e.java:3)
    at com.intellij.a.e.a.h.run(h.java:16)


"SocketListenerThread" prio=10 tid=0x63dc3000 nid=0xd17 runnable [0x63584000..0x63585120]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainDatagramSocketImpl.receive0(Native Method)
    - locked <0xb106fe78> (a java.net.PlainDatagramSocketImpl)
    at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
    - locked <0xb106fe78> (a java.net.PlainDatagramSocketImpl)
    at java.net.DatagramSocket.receive(DatagramSocket.java:712)
    - locked <0x75051df8> (a java.net.DatagramPacket)
    - locked <0xb106fe50> (a java.net.DatagramSocket)
    at com.intellij.a.e.a.e.a(e.java:3)
    at com.intellij.a.e.a.h.run(h.java:16)


"MessageDeliveryThread" prio=10 tid=0x63d60c00 nid=0xd16 in Object.wait() [0x635d5000..0x635d5fa0]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0xb10706d0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at com.intellij.a.e.j.run(j.java:2)
    - locked <0xb10706d0> (a java.lang.Object)


"AWT-XAWT" daemon prio=10 tid=0x63dbf400 nid=0xd13 waiting on condition [0x636c8000..0x636c8f20]
   java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0x7508bfe8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:778)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1114)
    at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186)
    at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)
    at sun.awt.SunToolkit.awtLock(SunToolkit.java:241)
    at sun.awt.X11.XToolkit.waitForEvents(Native Method)
    at sun.awt.X11.XToolkit.run(XToolkit.java:548)
    at sun.awt.X11.XToolkit.run(XToolkit.java:523)
    at java.lang.Thread.run(Thread.java:619)


"Java2D Disposer" daemon prio=10 tid=0x63d4dc00 nid=0xd12 in Object.wait() [0x63721000..0x63721da0]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0xb0d904b0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0xb0d904b0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)


"Lock thread" prio=10 tid=0x63d07c00 nid=0xd11 runnable [0x6394a000..0x6394ae20]
   java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
    - locked <0xb1070988> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:453)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java:9)
    at java.lang.Thread.run(Thread.java:619)


"DestroyJavaVM" prio=10 tid=0x63d05c00 nid=0xcff waiting on condition [0x00000000..0xb7eee060]
   java.lang.Thread.State: RUNNABLE


"timed reference disposer" prio=10 tid=0x646bd000 nid=0xd0a waiting on condition [0x63f7f000..0x63f80120]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0xb0fe9728> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)


"Low Memory Detector" daemon prio=10 tid=0x64691800 nid=0xd08 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE


"CompilerThread1" daemon prio=10 tid=0x6468f800 nid=0xd07 waiting on condition [0x00000000..0x640e6358]
   java.lang.Thread.State: RUNNABLE


"CompilerThread0" daemon prio=10 tid=0x6468dc00 nid=0xd06 waiting on condition [0x00000000..0x641673d8]
   java.lang.Thread.State: RUNNABLE


"Signal Dispatcher" daemon prio=10 tid=0x6468c400 nid=0xd05 waiting on condition [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE


"Finalizer" daemon prio=10 tid=0x6467c400 nid=0xd04 in Object.wait() [0x647b3000..0x647b3e20]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x753d9048> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x753d9048> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)


"Reference Handler" daemon prio=10 tid=0x6467ac00 nid=0xd03 in Object.wait() [0x643b8000..0x643b90a0]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x753d9000> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x753d9000> (a java.lang.ref.Reference$Lock)


"VM Thread" prio=10 tid=0x64677400 nid=0xd02 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x08984400 nid=0xd00 runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x08985800 nid=0xd01 runnable

"VM Periodic Task Thread" prio=10 tid=0x64693800 nid=0xd09 waiting on condition

JNI global references: 1713

Heap
PSYoungGen      total 51008K, used 19750K [0xadbc0000, 0xb14a0000, 0xb4d80000)
  eden space 43776K, 28% used [0xadbc0000,0xae7fc8e8,0xb0680000)
  from space 7232K, 99% used [0xb0d90000,0xb149d140,0xb14a0000)
  to   space 7232K, 0% used [0xb0680000,0xb0680000,0xb0d90000)
PSOldGen        total 466048K, used 17352K [0x74d80000, 0x914a0000, 0xadbc0000)
  object space 466048K, 3% used [0x74d80000,0x75e720e8,0x914a0000)
PSPermGen       total 24448K, used 24427K [0x64d80000, 0x66560000, 0x74d80000)
  object space 24448K, 99% used [0x64d80000,0x6655ad88,0x66560000)


Killed

0
Comment actions Permalink

By different version do you mean a different 1.6 update?  I thought IntelliJ 8.1 required 1.6 to run...

0
Comment actions Permalink

So it would appear there is a problem with PermGen space

PSPermGen       total 24448K, used 24427K [0x64d80000, 0x66560000, 0x74d80000)
  object space 24448K, 99% used [0x64d80000,0x6655ad88,0x66560000)


But i have tried with various idea.vmoptions settings to no avail.

One thing I did do differently on this machine from the one where I proofed the Fedora install was to partition the hard drive.  Could this possibly be an issue with the swap partition?  Not sure how the VM and swap play together if at all.

0

Please sign in to leave a comment.