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 186028 - blocked in waitIOLoad
Summary: blocked in waitIOLoad
Status: RESOLVED DUPLICATE of bug 185900
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 15:47 UTC by Vladimir Voskresensky
Modified: 2010-05-13 13:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump of frozen IDE (50.35 KB, text/plain)
2010-05-12 15:47 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-05-12 15:47:29 UTC
Created attachment 98878 [details]
thread dump of frozen IDE

During "checking for external changes" in Suspended mode I have called Find Usages which displayed dialog but all buttons were inactive except cancel. After some waiting I pressed Cancel in dialog. "checking for external changes" was still in Suspended mode. I pressed cancel (x) in progress bar of this task and confirmed cancellation, but not disabling.
After that IDE is frozen
Comment 1 Stanislav Aubrecht 2010-05-13 09:29:17 UTC
(perhaps a duplicate of an older bug?)
Comment 2 Jaroslav Tulach 2010-05-13 13:45:27 UTC
The question is whether:

org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.refresh(ChildrenSupport.java:140)
        - locked <0x9f0b2bf0> (a org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache)
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache.refresh(FolderObj.java:561)

also means that ChildrenCache.mutex is being held.
Comment 3 Jaroslav Tulach 2010-05-13 13:48:19 UTC
As there is:
        mutexPrivileged.enterWriteAccess();
        try {
            oldChildren = new HashSet<FileNaming>(cache.getCachedChildren());
            refreshResult = cache.refresh();
        } finally {
            mutexPrivileged.exitWriteAccess();
        }

in FolderObj. I assume this is duplicate.

*** This bug has been marked as a duplicate of bug 185900 ***