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 196137 - IDE hangs for some time
Summary: IDE hangs for some time
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 00:18 UTC by Egor Ushakov
Modified: 2011-03-04 05:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (26.45 KB, text/plain)
2011-03-01 00:18 UTC, Egor Ushakov
Details
another stacktrace (36.79 KB, text/plain)
2011-03-01 00:30 UTC, Egor Ushakov
Details
yet another stacktrace (30.63 KB, text/plain)
2011-03-01 00:40 UTC, Egor Ushakov
Details
thread dump concerning code model issue (39.06 KB, text/plain)
2011-03-01 16:12 UTC, Vladimir Kvashin
Details
another hang (35.50 KB, text/plain)
2011-03-02 17:39 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2011-03-01 00:18:15 UTC
Created attachment 106576 [details]
stacktrace

IDE hangs for some time during different remote operations (file opening, editing of toolchains etc.), see stack attached
Comment 1 Egor Ushakov 2011-03-01 00:19:15 UTC
by some time I mean 1-2 minutes
Comment 2 Egor Ushakov 2011-03-01 00:30:37 UTC
Created attachment 106577 [details]
another stacktrace
Comment 3 Egor Ushakov 2011-03-01 00:40:10 UTC
Created attachment 106578 [details]
yet another stacktrace
Comment 4 Vladimir Voskresensky 2011-03-01 15:26:55 UTC
will fix case with ToolsCacheManagerImpl.getCompilerSetManagerCopy which calls normalization on remote fs
Comment 5 Vladimir Voskresensky 2011-03-01 15:40:00 UTC
use copy instead of "set"
http://hg.netbeans.org/cnd-main/rev/4d2aafe6c7d0
Comment 6 Vladimir Kvashin 2011-03-01 16:11:52 UTC
Thread dumps above show 2 different reasons:
1) issue related with CompilerSetManager
2) issue related with DataObject pool and parents initialization
I also realized 3-rd reason, connected with code model (see attached thread
dump)
Comment 7 Vladimir Kvashin 2011-03-01 16:12:49 UTC
Created attachment 106603 [details]
thread dump concerning code model issue
Comment 8 Quality Engineering 2011-03-02 07:06:15 UTC
Integrated into 'main-golden', will be available in build *201103020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4d2aafe6c7d0
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing #196137 -  IDE hangs for some time
- use copy to prevent expensive normalization on remote FS
Comment 10 Vladimir Voskresensky 2011-03-02 17:39:58 UTC
Created attachment 106627 [details]
another hang

next hang when UI waits for files creations
Comment 12 Quality Engineering 2011-03-03 09:59:19 UTC
Integrated into 'main-golden', will be available in build *201103030057* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/649ac9a8a966
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: control ability of find method to create files (needed to fix #196137:  IDE hangs for some time)
Comment 14 Vladimir Kvashin 2011-03-03 21:58:30 UTC
Additional fix
http://hg.netbeans.org/cnd-main?cmd=changeset;node=b8593eed7bac
Comment 15 Quality Engineering 2011-03-04 05:43:39 UTC
Integrated into 'main-golden', will be available in build *201103040000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b9c084954f08
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: reworked refresh (fixing #196137 IDE hangs for some time)