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 207351 - Deadlock in properties dialog
Summary: Deadlock in properties dialog
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 16:02 UTC by Vladimir Kvashin
Modified: 2012-02-27 13:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump (31.08 KB, text/plain)
2012-01-16 16:02 UTC, Vladimir Kvashin
Details
proposed fix (4.91 KB, patch)
2012-01-17 13:56 UTC, Vladimir Kvashin
Details | Diff
proposed fix (4.73 KB, patch)
2012-01-18 12:24 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2012-01-16 16:02:16 UTC
Created attachment 114935 [details]
Full thread dump

I opened Tools > Options and got deadlock.
This was actually in the blacktie product, but the stack shows that it isn't this product fault. The full thread dump is in the attachment.

The analysis shows that
1) "SFTP: : Uploading ... tid=0x09371800"
waits on HostInfoUtils.class (0xa2e8e4c0)

2) "Load Open Projects" daemon prio=3 tid=0x092cb000
locked HostInfoUtils.class (0xa2e8e4c0)
and waits for SFTP thread in RemoteServerSetup.copyTo (RemoteServerSetup.java:185)

Thw AWT thread is also waiting on HostInfoUtils.class (0xa2e8e4c0)
Comment 1 Vladimir Kvashin 2012-01-17 13:56:26 UTC
Created attachment 114965 [details]
proposed fix
Comment 2 Vladimir Kvashin 2012-01-18 12:24:05 UTC
Created attachment 114994 [details]
proposed fix
Comment 3 Vladimir Kvashin 2012-01-18 16:30:03 UTC
Fixed in cnd-main:
http://hg.netbeans.org/cnd-main/rev/3ce873d4dda9
blacktie:
rev/5530fe84e2fa
Comment 4 Vladimir Kvashin 2012-01-19 11:04:39 UTC
There are two more change sets in blacktie:
rev/931f98fb9504
rev/3de2a7e1d744
Comment 5 Quality Engineering 2012-01-25 16:39:37 UTC
Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3ce873d4dda9
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #207351 Deadlock in properties dialog
(transplanted from 5530fe84e2fa5a087ce7bbb21a190f1606c65eba)
Comment 6 Alexander Pepin 2012-02-01 13:20:50 UTC
I believe it should be a candidate for both 7.1 and 7.0.1 patches.
Comment 7 Alexander Pepin 2012-02-07 15:28:26 UTC
Can not reproduce this bug in OSS IDE being built on NB trunk.
Comment 8 Vladimir Kvashin 2012-02-08 20:09:57 UTC
Integrated into release71_fixes:
http://hg.netbeans.org/releases/rev/4ae1f9f7dd21
Comment 9 Quality Engineering 2012-02-09 02:37:45 UTC
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/4ae1f9f7dd21
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #207351 Deadlock in properties dialog
(transplanted from 5530fe84e2fa5a087ce7bbb21a190f1606c65eba)
(transplanted from 3ce873d4dda9e46d74c9ee0386f4cf76108ae8c6)
Comment 10 Alexander Pepin 2012-02-27 13:35:10 UTC
can not reproduce in 7.1.1 rc1 build (20120214)