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 132083 [details] messages.log - first lock Hey, I just witnessed a deadlock with netbeans 7.3. I had the netbeans module "Database Dataview" opened and wanted to edit a JPanel Form (InsertRecordDialog.java). The "Java SE" module suit was not yet activated and the .form file was displayed in the project view. Double clicking the form file brought up the "Activating Java SE, ..."-Dialog. The progressbar froze after some time. I'll attach a screen shot and the messages.log, uigestures and the threaddump from that situation. I had to kill netbeans to go on (this is the reason for priority P1). It happend a second time (same file) - log is also attached: messages.log-second-lock. After that I killed netbeans again, activated the "Java SE" module suit from the plugin manager and after a restart I could open the file correctly. Greetings Matthias
Created attachment 132084 [details] messages.log - second lock
Created attachment 132085 [details] Screenshot from deadlock
Created attachment 132086 [details] threaddump from first lock
Created attachment 132087 [details] uigestures file
Data System Nodes thread locks org.openide.loaders.DataObjectPool when finding a data object for a file object. When holding the lock, it seeks for DataLoader from a FolderLookup. That one blocks, waiting for "Folder recognizer" thread to finish, but that one can't as it can't obtain the org.openide.loaders.DataObjectPool lock. Same situation is in deadlock in bug 225620#comment 26
*** Bug 225620 has been marked as a duplicate of this bug. ***
Probably caused by fix of bug 184509.
Try the behavior with: bbfceafeb90f
Integrated into 'main-golden', will be available in build *201303152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bbfceafeb90f User: Jaroslav Tulach <jtulach@netbeans.org> Log: #226913: Don't hold POOL lock when handleFindDataObject. Adding assert to guarantee that and make Deadlock35847Test.java. Modifying the recursive call to handleFindDataObject to be done outside of critical section.
i was able to reproduce in 7.3 (according to http://netbeans.org/bugzilla/show_bug.cgi?id=225620#c0 ) and cannot reproduce in Product Version: NetBeans IDE Dev (Build 201303152300) Java: 1.8.0-internal; Java HotSpot(TM) 64-Bit Server VM 25.0-b19 Runtime: Java(TM) SE Runtime Environment 1.8.0-internal-jprtadm_2013_03_15_07_36-b00 System: Mac OS X version 10.8.2 running on x86_64; UTF-8; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev -> verified. Please backport.
I just downloaded 2013-03-15 daily and it appears to be fixed. Running on 1.7u17 64 bit linux. Thanks to everyone who got in gear on this show stopper!
changeset: 97b80aad6540 branch: release73 tag: tip parent: b9c40629467d parent: bbfceafeb90f user: Jaroslav Tulach <jtulach@netbeans.org> date: Mon Mar 18 16:01:30 2013 +0100 summary: Merging fix for #226913 into 7.3 branch
*** Bug 226641 has been marked as a duplicate of this bug. ***
*** Bug 227536 has been marked as a duplicate of this bug. ***
Integrated into 'releases', will be available in build *201303200918* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/bbfceafeb90f User: Jaroslav Tulach <jtulach@netbeans.org> Log: #226913: Don't hold POOL lock when handleFindDataObject. Adding assert to guarantee that and make Deadlock35847Test.java. Modifying the recursive call to handleFindDataObject to be done outside of critical section.
*** Bug 227967 has been marked as a duplicate of this bug. ***
*** Bug 228082 has been marked as a duplicate of this bug. ***
Verified the following duplicates with NetBeans IDE 7.3.1 (Build 201304162201): Bug 225620 Bug 226641 Bug 227536 Bug 227536 Bug 227536
OK, weird copy and paste issue with the browser and a text editor. The previous comment should have been: Verified the following duplicates with NetBeans IDE 7.3.1 (Build 201304162201): Bug 225620 Bug 226641 Bug 227536 Bug 227967 Bug 228082