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 191966 - Deadlock in cnd.makeproject.api.configurations.MakeConfigurationDescriptor.waitInitTask
Summary: Deadlock in cnd.makeproject.api.configurations.MakeConfigurationDescriptor.w...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 192198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-15 12:55 UTC by Alexander Simon
Modified: 2010-11-26 06:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (34.17 KB, text/plain)
2010-11-15 12:55 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-11-15 12:55:41 UTC
Created attachment 102982 [details]
thread dump

Step to reproduce:
- Create C/C++ application.
- Close all project in IDE
- Close IDE
- replace version in project in nbproject/configuration.xml file (second line, increase version on version + 1)
- Restart IDE
- Open project
See deadlock.
Comment 1 Alexander Simon 2010-11-19 21:18:03 UTC
*** Bug 192198 has been marked as a duplicate of this bug. ***
Comment 2 Jaroslav Tulach 2010-11-23 15:01:56 UTC
Try to avoid blocking in


        at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.waitInitTask(MakeConfigurationDescriptor.java:262)
        - waiting to lock <0x6f145790> (a org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor)
        at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:197)
        at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:106)
        at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider.getMakeConfigurationDescriptor(MakeLogicalViewProvider.java:1098)
        at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider.createLogicalView(MakeLogicalViewProvider.java:182)
Comment 3 Alexander Simon 2010-11-25 15:59:58 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/c506ba8f57a7
Comment 4 Quality Engineering 2010-11-26 06:14:53 UTC
Integrated into 'main-golden', will be available in build *201011260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c506ba8f57a7
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #191966 Deadlock in cnd.makeproject.api.configurations.MakeConfigurationDescriptor.waitInitTask