This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 152461 - Sun Studio IDE hangs at "Open Project" action (runs infinite loop)
Summary: Sun Studio IDE hangs at "Open Project" action (runs infinite loop)
Status: RESOLVED DUPLICATE of bug 110904
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 21:46 UTC by Thomas Preisler
Modified: 2009-02-19 22:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2008-11-05 21:46:30 UTC
Was CR 6720497.

I started sunstudio from the latest build (080627) with empty userdir - it start ok:

But if I press "Open Project" button, it hangs (does not even repaint the screen).
Actually it runs almost infinite loop:

einstein% ps          
   PID TTY      TIME CMD
  1060 pts/3    0:00 csh
  1829 pts/3    0:00 ps
  1823 pts/3    0:10 java
  1706 pts/3    0:00 sunstudi
  1743 pts/3    0:00 bash
einstein% ptree 1706
187   /usr/sbin/inetd -s
  1058  in.rlogind
    1060  -csh
      1706  /bin/bash /.../sunstudio --userdir ud2
        1743  /bin/bash /.../netbeans
          1823  /usr/jdk/jdk1.5.0_09/bin/java -Djdk.home=/usr/jdk/jdk1.5.0_09 -classpath /share
einstein% truss -p 1823 | head -9
/17:    poll(0x78EA0E80, 2, 99)                         = 0
/17:    gettimeofday(0x761FFC58)                        = 0
/17:    gettimeofday(0x761FFC90)                        = 0
/29:    lwp_cond_wait(0x08509D10, 0x08509CF8, 0x709FF808) Err#62 ETIME
/17:    ioctl(12, I_NREAD, 0x761FFC40)                  = 0
/24:    lwp_cond_wait(0x08508150, 0x08508138, 0x75DFFA80) Err#62 ETIME
/29:    gettimeofday(0x709FF850)                        = 0
/24:    gettimeofday(0x75DFFBD8)                        = 0
/29:    gettimeofday(0x709FF810)                        = 0
/24:    gettimeofday(0x75DFFAB8)                        = 0
/17:    ioctl(12, I_NREAD, 0x761FFC40)                  = 0
/24:    gettimeofday(0x75DFFA88)                        = 0
/17:    gettimeofday(0x761FFC80)                        = 0
/2:     lwp_cond_wait(0x08074EA8, 0x08074E90, 0xA8D7FA78) Err#62 ETIME
/17:    poll(0x761FF8EC, 1, 0)                          = 0
/2:     gettimeofday(0xA8D7FAC8)                        = 0
/17:    ioctl(12, I_NREAD, 0x761FFC68)                  = 0
/17:    ioctl(12, I_NREAD, 0x761FFC68)                  = 0
/2:     gettimeofday(0xA8D7FA80)                        = 0
/17:    gettimeofday(0x761FFCA8)                        = 0

After a few minutes it will show "Open Project" dialog, but I don't think
any user can wait that long. 
And it runs the same loop at every "Open Project" action.
*** (#1 of 4): 2008-06-27 18:20:17 PDT nik

Here is the stack trace at the moment IDE "hangs":

einstein% /.../sunstudio --userdir ud2
^\Full thread dump Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode):

"Basic L&F File Loading Thread" prio=10 tid=0x088a2780 nid=0x33 runnable [0x6b9ff000..0x6b9ffc38]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"Basic L&F File Loading Thread" prio=10 tid=0x088a2998 nid=0x32 runnable [0x6bdff000..0x6bdffcb8]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"Basic L&F File Loading Thread" prio=10 tid=0x08a1c148 nid=0x31 runnable [0x6c1ff000..0x6c1ffb38]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"Basic L&F File Loading Thread" prio=10 tid=0x086e9030 nid=0x30 runnable [0x6c5ff000..0x6c5ffbb8]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"Basic L&F File Loading Thread" prio=10 tid=0x08824a98 nid=0x2f runnable [0x6c9ff000..0x6c9ffa38]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"Basic L&F File Loading Thread" prio=10 tid=0x0859e4a8 nid=0x2e runnable [0x6cdff000..0x6cdffab8]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"Basic L&F File Loading Thread" prio=10 tid=0x082a6d10 nid=0x2d runnable [0x6d1ff000..0x6d1ffd38]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:195)

"pool-5-thread-1" prio=10 tid=0x08f4b638 nid=0x2a waiting on condition [0x6d9ff000..0x6d9ffcb8]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:595)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x08f4a878 nid=0x29 in Object.wait() [0x6ddff000..0x6ddffb38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7ce854b0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7ce854b0> (a java.lang.Object)

"pool-4-thread-1" prio=10 tid=0x08f49c40 nid=0x28 waiting on condition [0x6e1ff000..0x6e1ffbb8]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:595)

"pool-1-thread-1" prio=10 tid=0x08f49010 nid=0x27 waiting on condition [0x6e5ff000..0x6e5ffa38]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:595)

"pool-2-thread-1" prio=10 tid=0x08f48428 nid=0x26 waiting on condition [0x6e9ff000..0x6e9ffab8]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:595)

"pool-3-thread-1" prio=10 tid=0x08f47980 nid=0x25 waiting on condition [0x6edff000..0x6edffd38]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:595)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x08f5fc60 nid=0x24 in Object.wait() [0x6f1ff000..0x6f1ffdb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7ce857a8> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7ce857a8> (a java.lang.Object)

"Default RequestProcessor" daemon prio=1 tid=0x08f581a8 nid=0x23 runnable [0x6f5ff000..0x6f5ffc38]
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.isHidden(File.java:773)
        at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:110)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:422)
        at org.netbeans.swing.dirchooser.DirectoryNode.getFiles(DirectoryNode.java:175)
        at org.netbeans.swing.dirchooser.DirectoryNode.loadChildren(DirectoryNode.java:136)
        at org.netbeans.swing.dirchooser.DirectoryChooserUI$12.run(DirectoryChooserUI.java:1058)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

"Inactive RequestProcessor thread [Was:OpenIDE-request-processor-0/org.netbeans.core.startup.preferences.NbPreferences$1]" daemon prio=1 tid=0x08f55930 nid=0x22 in Object.wait() [0x6f9ff000..0x6f9ffcb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7ce4e458> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7ce4e458> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:OpenIDE-request-processor-0/org.netbeans.core.startup.preferences.NbPreferences$1]" daemon prio=1 tid=0x08f55708 nid=0x21 in Object.wait() [0x6fdff000..0x6fdffb38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7ce4e550> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7ce4e550> (a java.lang.Object)

"MySQL Statement Cancellation Timer" daemon prio=1 tid=0x08d0c5f8 nid=0x1f in Object.wait() [0x701ff000..0x701ffa38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7cb4ea60> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:474)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x7cb4ea60> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4]" daemon prio=1 tid=0x08cc8af0 nid=0x1e in Object.wait() [0x705ff000..0x705ffab8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7cb31420> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7cb31420> (a java.lang.Object)

"GSF Source Worker Thread" prio=10 tid=0x0854d5d0 nid=0x1d waiting on condition [0x709ff000..0x709ffd38]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1803)
        at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:236)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1170)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" prio=10 tid=0x08cb37f0 nid=0x1c in Object.wait() [0x70dff000..0x70dffdb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7cac37d0> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:474)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x7cac37d0> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"DestroyJavaVM" prio=10 tid=0x080758e0 nid=0x1 waiting on condition [0x00000000..0x080464c0]

"AWT-EventQueue-1" prio=10 tid=0x0828f8c8 nid=0x19 in Object.wait() [0x715ff000..0x715ffb38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7eb77e08> (a org.openide.util.RequestProcessor$Task)
        at java.lang.Object.wait(Object.java:474)
        at org.openide.util.Task.waitFinished(Task.java:130)
        - locked <0x7eb77e08> (a org.openide.util.RequestProcessor$Task)
        at org.openide.util.RequestProcessor$Task.waitFinished(RequestProcessor.java:745)
        at org.netbeans.swing.dirchooser.DirectoryChooserUI.updateTree(DirectoryChooserUI.java:1048)
        at org.netbeans.swing.dirchooser.DirectoryChooserUI.fireDirectoryChanged(DirectoryChooserUI.java:1258)
        at org.netbeans.swing.dirchooser.DirectoryChooserUI.access$2600(DirectoryChooserUI.java:106)
        at org.netbeans.swing.dirchooser.DirectoryChooserUI$14.propertyChange(DirectoryChooserUI.java:1379)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
        at java.awt.Component.firePropertyChange(Component.java:7159)
        at javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:562)
        at org.openide.filesystems.FileUtil.preventFileChooserSymlinkTraversal(FileUtil.java:1748)
        at org.netbeans.modules.project.ui.ProjectChooserAccessory.createProjectChooser(ProjectChooserAccessory.java:507)
        at org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(OpenProject.java:78)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1778)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

"TimerQueue" daemon (see next page ...)
*** (#2 of 4): 2008-06-30 17:19:12 PDT nikolay.molchanov@sun.com

"TimerQueue" daemon prio=10 tid=0x0828f740 nid=0x18 in Object.wait() [0x75dff000..0x75dffbb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7c6adb00> (a javax.swing.TimerQueue)
        at javax.swing.TimerQueue.run(TimerQueue.java:233)
        - locked <0x7c6adb00> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:595)

"Thread-2" daemon prio=10 tid=0x0828f3f0 nid=0x17 in Object.wait() [0x719ff000..0x719ffa38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7c563580> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:474)
        at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1456)
        - locked <0x7c563580> (a java.util.LinkedList)

"Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon prio=1 tid=0x085c0a28 nid=0x13 in Object.wait() [0x71dff000..0x71dffc38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7c631ea0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7c631ea0> (a java.lang.Object)

"AWT-Motif" daemon prio=10 tid=0x084df278 nid=0x11 runnable [0x761ff000..0x761ffb38]
        at sun.awt.motif.MToolkit.run(Native Method)
        at java.lang.Thread.run(Thread.java:595)

"AWT-Shutdown" prio=10 tid=0x084db568 nid=0x10 in Object.wait() [0x765ff000..0x765ffbb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7c044b20> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0x7c044b20> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:595)

"Java2D Disposer" daemon prio=10 tid=0x0846e230 nid=0xf in Object.wait() [0x769ff000..0x769ffa38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7c044ba8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x7c044ba8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.java2d.Disposer.run(Disposer.java:107)
        at java.lang.Thread.run(Thread.java:595)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4]" daemon prio=1 tid=0x083c3c60 nid=0xd in Object.wait() [0x771ff000..0x771ffd38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7bfb7128> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x7bfb7128> (a java.lang.Object)

"Timer-0" daemon prio=10 tid=0x083928d0 nid=0xc in Object.wait() [0x775ff000..0x775ffdb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7bfb7198> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x7bfb7198> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=10 tid=0x08390c20 nid=0xb runnable [0x779ff000..0x779ffc38]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x7bfb7268> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1003)

"Active Reference Queue Daemon" daemon prio=1 tid=0x081ab400 nid=0x9 in Object.wait() [0x785ff000..0x785ffb38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7bfb73e8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x7bfb73e8> (a java.lang.ref.ReferenceQueue$Lock)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3056)
        at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=10 tid=0x0814aa20 nid=0x7 runnable [0x00000000..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x081499b8 nid=0x6 waiting on condition [0x00000000..0xa8d2f588]

"Signal Dispatcher" daemon prio=10 tid=0x08148ba0 nid=0x5 waiting on condition [0x00000000..0x00000000]

"Finalizer" daemon prio=10 tid=0x0813c6f8 nid=0x4 in Object.wait() [0x791ff000..0x791ffdb8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7bfb7590> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x7bfb7590> (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=0x0813ba08 nid=0x3 in Object.wait() [0x795ff000..0x795ffc38]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x7bfb6f90> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x7bfb6f90> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x08138b80 nid=0x2 runnable 

"VM Periodic Task Thread" prio=10 tid=0x0814bc48 nid=0x8 waiting on condition
*** (#3 of 4): 2008-06-30 17:19:12 PDT nik

Truss file shows that Sun Studio IDE tries to access all files and directories 
in HOME directory (what for?), and if some of them are links to a nfs file system,
and this nfs server does not reply, the IDE sleeps for a while and tries again:

/5:     lwp_park(0x00000000, 0)         (sleeping...)
/60:    stat64("/.../testarea-rainier-2", 0x6B5FF938) (sleeping...)
/6:     lwp_cond_wait(0x080758D8, 0x080758C0, 0x00000000) (sleeping...)
/65:    stat64("/.../testarea-rainier-2", 0x6A1FFA38) (sleeping...)
/56:    lwp_cond_wait(0x08DB1DF0, 0x08DB1DD8, 0x00000000) (sleeping...)
/59:    stat64("/.../testarea-rainier-2", 0x711FF7B8) (sleeping...)
/54:    lwp_cond_wait(0x0894E7D8, 0x0894E7C0, 0x00000000) (sleeping...)
/1:     lwp_cond_wait(0x08074FD8, 0x08074FC0, 0x00000000) (sleeping...)
/23:    lwp_cond_wait(0x0868A4F0, 0x0868A4D8, 0x00000000) (sleeping...)
/29:    lwp_cond_wait(0x08393C88, 0x08393C70, 0x70DFF708) (sleeping...)
/36:    stat64("/...
/13:    lwp_cond_wait(0x08392308, 0x083922F0, 0x771FF860) (sleeping...)
/63:    stat64("/.../testarea-rainier-2", 0x6A9FFB38) (sleeping...)
/34:    lwp_cond_wait(0x08764BC0, 0x08764BA8, 0x00000000) (sleeping...)
/16:    lwp_cond_wait(0x084DF4E0, 0x084DF4C8, 0x00000000) (sleeping...)
/44:    lwp_cond_wait(0x08361D38, 0x08361D20, 0x00000000) (sleeping...)
/9:     lwp_cond_wait(0x081AB970, 0x081AB958, 0x00000000) (sleeping...)
/62:    stat64("/.../testarea-rainier-2", 0x6ADFFAB8) (sleeping...)
/4:     lwp_cond_wait(0x0813D2A8, 0x0813D290, 0x00000000) (sleeping...)
/51:    lwp_cond_wait(0x089B1AE0, 0x089B1AC8, 0x00000000) (sleeping...)
/2:     lwp_cond_wait(0x08075068, 0x08075050, 0xA8D7FB78) Err#62 ETIME
/7:     lwp_cond_wait(0x08074618, 0x08074600, 0x00000000) (sleeping...)
/2:     gettimeofday(0xA8D7FBC8)                        = 0

I think that's the root of the problem.
*** (#4 of 4): 2008-07-02 15:41:59 PDT nik
Comment 1 Thomas Preisler 2008-11-05 21:51:20 UTC
Please evaluate. Sun Studio is based on NB 6.1.
Comment 2 Milos Kleint 2008-11-14 10:13:14 UTC
a dir chooser issue. projects just want to open the open project dialog..
Comment 3 David Simonek 2008-11-21 15:50:10 UTC
Actually duplicate of 110904. Problem is I couldn't find which code starts these file loading threads, which are
probably guilty. 

*** This issue has been marked as a duplicate of 110904 ***