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.
[I didn't see a category for the parsing api so filing against ide in the hopes that somebody can redirect it] My IDE has been deadlocking frequently over the last week or two. Since I'm on a Mac jstack frequently doesn't work, but this time it did. This is with a fresh build (I pulled and built main-silver 30 minutes ago), on OSX, with JDK 6. My tip is 41da655a338d. Here's the deadlock (just the two deadlocked threads -- I'll attach the full thread dump if that helps). Found one Java-level deadlock: ============================= "OpenIDE-request-processor-7": waiting to lock monitor 0x00000001360ce570 (object 0x0000000109528500, a java.lang.Object), which is held by "Parsing & Indexing Loop (090518)" "Parsing & Indexing Loop (090518)": waiting to lock monitor 0x0000000135d53030 (object 0x00000001094e8b28, a org.netbeans.modules.parsing.impl.TaskProcessor$InternalLock), which is held by "OpenIDE-request-processor-7" Java stack information for the threads listed above: =================================================== "OpenIDE-request-processor-7": at org.netbeans.modules.parsing.impl.TaskProcessor$CurrentRequestReference.cancelCompleted(TaskProcessor.java:1037) - waiting to lock <0x0000000109528500> (a java.lang.Object) at org.netbeans.modules.parsing.impl.TaskProcessor.handleAddRequests(TaskProcessor.java:501) at org.netbeans.modules.parsing.impl.TaskProcessor.addPhaseCompletionTasks(TaskProcessor.java:306) at org.netbeans.modules.parsing.impl.TaskProcessor.updatePhaseCompletionTask(TaskProcessor.java:400) - locked <0x00000001094e8b28> (a org.netbeans.modules.parsing.impl.TaskProcessor$InternalLock) at org.netbeans.modules.parsing.impl.SourceCache.scheduleTasks(SourceCache.java:425) at org.netbeans.modules.parsing.spi.Scheduler$1.run(Scheduler.java:155) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:576) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1013) "Parsing & Indexing Loop (090518)": at org.netbeans.modules.parsing.impl.SourceCache.getSnapshot(SourceCache.java:114) - waiting to lock <0x00000001094e8b28> (a org.netbeans.modules.parsing.impl.TaskProcessor$InternalLock) at org.netbeans.modules.parsing.impl.TaskProcessor$CurrentRequestReference.setCurrentTask(TaskProcessor.java:895) - locked <0x0000000109528500> (a java.lang.Object) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:706) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637) Found 1 deadlock.
Created attachment 82341 [details] A full thread dump of the deadlocked VM
*** This issue has been marked as a duplicate of 165262 ***