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.
Created attachment 107210 [details] dump On MacOSX NetBeans hangs after some automatic remote tests
Created attachment 107211 [details] other dump
I see deadlock in thread dump: Thread "DLightScheduledTask No. 8" tries to connect and asks user for password Thread "AWT-EventQueue-2" calls ConnectionManager.isConnectedTo, which tries to obtain the same lock (7e7ee76c8) that is obtained by "DLightScheduledTask No. 8" Valera, thanks for finding this! Will be fixed shortly.
Fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/50b1a061ff36 http://hg.netbeans.org/cnd-main/rev/2845c5b79337
Integrated into 'main-golden', will be available in build *201103240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/50b1a061ff36 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: Use a separate lock object (fixing #197002 - Remote automatic tests hangs time to time)
Created attachment 107336 [details] dump This fix doesn't resolve my problem. New dump is attached
Created attachment 107339 [details] Full thread dump
We removed locking in ConnectionManager, but AWT thread is now locked in JSchChannelsSupport.isConnected
Fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/bc33b86d522a
Verified in trunk. I launched automatic tests 6 times and fix works nicely.
Integrated into 'main-golden', will be available in build *201103300400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/bc33b86d522a User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #197002 - Remote automatic tests hangs time to time
Verified in RC2 build 20110331.