IDEA 6.0.5 on Ubuntu Issues

I'm moving my development over to a Linux environment and have chosen Ubuntu Feisty Fawn.

I have turned on all idea logging and when I start IDEA I get nothing but clean INFO logging to the console however the desktop is blank. It seems as if it is not repainting. See the link for a boring screen shot.

http://farm1.static.flickr.com/167/470228359_593009e26c_b.jpg

Here is the logging:



Any and all help appreciated as I'm an IDEA addict but linux newb.

FYI, JDK_HOME = /usr/lib/jvm/java-6-sun

9 comments

You might be seeing a deadlock. Try getting a thread dump using jps/jstack.


0

jstack output:

 (a javax.swing.TimerQueue)
        at javax.swing.TimerQueue.run(TimerQueue.java:236)
        - locked <0x00002aaad2f28930> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:619)

"Progress Cancel Checker" prio=10 tid=0x00002aaad7b94800 nid=0x41da waiting on condition [0x0000000041941000..0x0000000041941c00]
   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:2)

"XML-RPC Weblistener" prio=10 tid=0x00002aaad5f49c00 nid=0x41d9 runnable [0x0000000040d35000..0x0000000040d35c80]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x00002aaad3527d28> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        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)

"AWT-EventQueue-1" prio=10 tid=0x00002aaad83cf000 nid=0x41d8 in Object.wait() [0x0000000041840000..0x0000000041840d00]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaad2f28460> (a com.intellij.ide.IdeEventQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:479)
        - locked <0x00002aaad2f28460> (a com.intellij.ide.IdeEventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:245)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

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

"AlarmThread" prio=10 tid=0x00002aaad821dc00 nid=0x41d4 in Object.wait() [0x000000004163e000..0x000000004163ea00]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaad349bac8> (a java.lang.Object)
        at com.intellij.util.Alarm$MyThread.run(Alarm.java:277)
        - locked <0x00002aaad349bac8> (a java.lang.Object)

"AlarmThread" prio=10 tid=0x00002aaad821f400 nid=0x41d3 in Object.wait() [0x000000004153d000..0x000000004153da80]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaad3535f20> (a java.lang.Object)
        at com.intellij.util.Alarm$MyThread.run(Alarm.java:277)
        - locked <0x00002aaad3535f20> (a java.lang.Object)

"SocketListenerThread" prio=10 tid=0x00002aaad8193000 nid=0x41d2 runnable [0x000000004143c000..0x000000004143cb00]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        - locked <0x00002aaad34a4890> (a java.net.PlainDatagramSocketImpl)
        at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
        - locked <0x00002aaad34a4890> (a java.net.PlainDatagramSocketImpl)
        at java.net.DatagramSocket.receive(DatagramSocket.java:712)
        - locked <0x00002aaab56504f8> (a java.net.DatagramPacket)
        - locked <0x00002aaad34a4830> (a java.net.MulticastSocket)
        at com.intellij.a.c.a.e.a(e.java:28)
        at com.intellij.a.c.a.h.run(h.java:6)

"SocketListenerThread" prio=10 tid=0x00002aaad8192400 nid=0x41d1 runnable [0x000000004133b000..0x000000004133bb80]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        - locked <0x00002aaad349c1e8> (a java.net.PlainDatagramSocketImpl)
        at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
        - locked <0x00002aaad349c1e8> (a java.net.PlainDatagramSocketImpl)
        at java.net.DatagramSocket.receive(DatagramSocket.java:712)
        - locked <0x00002aaab5650528> (a java.net.DatagramPacket)
        - locked <0x00002aaad349c1a0> (a java.net.DatagramSocket)
        at com.intellij.a.c.a.e.a(e.java:28)
        at com.intellij.a.c.a.h.run(h.java:6)

"MessageDeliveryThread" prio=10 tid=0x00002aaad8216000 nid=0x41d0 in Object.wait() [0x000000004123a000..0x000000004123ac00]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaad34a4c58> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at com.intellij.a.c.r.run(r.java:24)
        - locked <0x00002aaad34a4c58> (a java.lang.Object)

"AWT-XAWT" daemon prio=10 tid=0x00002aaad8207400 nid=0x41ce runnable [0x0000000041038000..0x0000000041038d00]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(XToolkit.java:585)
        at sun.awt.X11.XToolkit.run(XToolkit.java:560)
        at java.lang.Thread.run(Thread.java:619)

"Java2D Disposer" daemon prio=10 tid=0x00002aaad53eb000 nid=0x41cd in Object.wait() [0x0000000040f37000..0x0000000040f37d80]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaad2f70450> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002aaad2f70450> (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=0x00002aaad8015c00 nid=0x41cc runnable [0x0000000040e36000..0x0000000040e36a00]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x00002aaad353ba48> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java)
        at java.lang.Thread.run(Thread.java:619)

"DestroyJavaVM" prio=10 tid=0x00002aaad8001400 nid=0x41c0 waiting on condition [0x0000000000000000..0x000000004022acf0]
   java.lang.Thread.State: RUNNABLE

"Low Memory Detector" daemon prio=10 tid=0x00002aaad5334800 nid=0x41c9 runnable [0x0000000000000000..0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=10 tid=0x00002aaad5332000 nid=0x41c8 waiting on condition [0x0000000000000000..0x0000000040a31bf0]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x00002aaad5330400 nid=0x41c7 waiting on condition [0x0000000000000000..0x0000000040930c80]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00002aaad532ec00 nid=0x41c6 runnable [0x0000000000000000..0x0000000040830990]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00002aaad530ac00 nid=0x41c5 in Object.wait() [0x000000004072f000..0x000000004072fd80]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab5650f30> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x00002aaab5650f30> (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=0x00002aaad530a000 nid=0x41c4 in Object.wait() [0x000000004062e000..0x000000004062ea00]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00002aaab697ce90> (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 <0x00002aaab697ce90> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x00002aaad5305400 nid=0x41c3 runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x000000004011d000 nid=0x41c1 runnable 

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

"VM Periodic Task Thread" prio=10 tid=0x00002aaad5336400 nid=0x41ca waiting on condition 

JNI global references: 1233
]]>


It doesn't appear to be locked. Mouse still moves and cursor changes in some screen areas (seems the hints dialog is modal and the mouse changes when it passes over this and the idea logging looks like the hints dialog might be displayed). I'll read through this stack and see if I see anything but please feel free to point out the obvious to me as well.

After further mousing and clicking over the blank screen, it appears that it might be some dialog related to selecting a default browser. I can click and get an error dialog indicating I need to specify a default browser and it tells me where to go do that in Idea but without seeing the menu system I have a hard time doing that... :(

0

Did you try running on a 32 bit JVM?


0


If I try and install a 32-bit version, I get install errors say that it can't be installed on this platform.

0

Is the YK profiling agent loaded, and if so, is it the 64-bit version?
If not, you might want to try disabling it (in the .vmoptions file).


0

I'm sorry for wasting all y'all's time.

This turned out to be an issue with Desktop Effects built into the latest Ubuntu release. After I turned those off, everything is working fine.

Summary, 6.0.5 release now running fine on AM2 AMD64 platform running 64 bit release of Ubuntu 7.04 after disabling built in Desktop Effects.

0

Actually,

The bug is with the JDK. If you download the 1.6.0.1 jdk from Sun (and launch IDEA using that, either by exporting IDEA_JDK or JAVA_HOME), you can have your eyecandy and use IDEA at the same time.

Note there's still some quirks I've noticed, but by in large the latest JDK solves the issue.

~kc

0

i may give that a try later. I'm not big on eye candy so I don't mind having it turned off. The main thing is for me to have the ide running so I can churn out boring old accounting applications that our clients love so much ;)

0

I had the same problem with 7.0M1 on Fiesty fawn w/Beryl. instead of running jdk 6, I added the following line to my .profile and the problem was fixed:

export AWT_TOOLKIT="MToolkit"

0

Please sign in to leave a comment.