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 184703

Summary: deadlock in LookupProviderSupport
Product: projects Reporter: delbd
Component: Generic InfrastructureAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal Keywords: RANDOM, THREAD
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump

Description delbd 2010-04-22 09:54:42 UTC
Created attachment 97844 [details]
thread dump

after a maven compilation, deadlock occured:


Found one Java-level deadlock:
=============================
"Project UI":
  waiting to lock monitor 0x0000000042123b00 (object 0x00007fbf24a65b30, a org.netbeans.spi.project.support.LookupProviderSupport$DelegatingLookupImpl),
  which is held by "Default RequestProcessor"
"Default RequestProcessor":
  waiting to lock monitor 0x00000000428fd5a8 (object 0x00007fbf24a52ef0, a java.lang.Object),
  which is held by "Default RequestProcessor"
"Default RequestProcessor":
  waiting to lock monitor 0x0000000042123b00 (object 0x00007fbf24a65b30, a org.netbeans.spi.project.support.LookupProviderSupport$DelegatingLookupImpl),
  which is held by "Default RequestProcessor"



See attachement for details.
Comment 1 Jesse Glick 2010-04-23 18:02:58 UTC
Using a private lock in core-main #98b6972aba57.
Comment 2 Jesse Glick 2010-04-23 18:05:50 UTC
core-main #98b6972aba57
Comment 3 Quality Engineering 2010-04-24 05:31:34 UTC
Integrated into 'main-golden', will be available in build *201004240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/98b6972aba57
User: Jesse Glick <jglick@netbeans.org>
Log: #184703: deadlock in LookupProviderSupport