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 189604 - NetBeans deadlocks on code undo
Summary: NetBeans deadlocks on code undo
Status: RESOLVED DUPLICATE of bug 188843
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 16:02 UTC by alexismp
Modified: 2010-08-19 08:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (63.12 KB, text/plain)
2010-08-17 16:02 UTC, alexismp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexismp 2010-08-17 16:02:33 UTC
Created attachment 101459 [details]
IDE log file

IDE locked itself up while doing undo (removing code in the Java editor).
Here's the stack trace :


2010-08-16 16:15:15
Full thread dump Java HotSpot(TM) 64-Bit Server VM (16.3-b01-279 mixed mode):

"Attach Listener" daemon prio=9 tid=1033af000 nid=0x139993000 waiting on condition [00000000]
 java.lang.Thread.State: RUNNABLE

"Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.xml.xam.AbstractModelFactory$1]" daemon prio=1 tid=101d30800 nid=0x139e5c000 in Object.wait() [139e5b000]
 java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1910)
	- locked <11a853e98> (a java.lang.Object)

"Parsing & Indexing Loop (201006101454)" daemon prio=1 tid=150700800 nid=0x138f5f000 waiting on condition [138f5e000]
 java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <10ef2a4d8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
	at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:220)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:573)
	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)

"GSF Source Worker Thread" daemon prio=1 tid=1034ae000 nid=0x14ad2c000 waiting on condition [14ad2b000]
 java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <10b8d3f68> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
	at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
	at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1348)
	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)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" daemon prio=1 tid=101e11000 nid=0x14ab29000 in Object.wait() [14ab28000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <10b8d8550> (a java.util.TaskQueue)
	at java.lang.Object.wait(Object.java:485)
	at java.util.TimerThread.mainLoop(Timer.java:483)
	- locked <10b8d8550> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"DestroyJavaVM" prio=5 tid=103000800 nid=0x100601000 waiting on condition [00000000]
 java.lang.Thread.State: RUNNABLE

"AWT-EventQueue-1" prio=6 tid=103232800 nid=0x14bb3b000 runnable [14bb39000]
 java.lang.Thread.State: RUNNABLE
	at org.netbeans.modules.editor.NbEditorDocument$AnnotationDescDelegate.getLine(NbEditorDocument.java:379)
	at org.netbeans.editor.Annotations$LineAnnotations.getLine(Annotations.java:1017)
	- locked <1143a4d38> (a java.util.LinkedList)
	at org.netbeans.editor.Annotations.getNextLineWithAnnotation(Annotations.java:499)
	- locked <10fd22990> (a java.util.ArrayList)
	at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.computeTotalStatus(AnnotationViewDataImpl.java:460)
	at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:268)
	at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:348)
	at javax.swing.JComponent.paint(JComponent.java:1029)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5098)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:811)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

"TimerQueue" daemon prio=5 tid=101fd5000 nid=0x14b835000 in Object.wait() [14b834000]
 java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at javax.swing.TimerQueue.run(TimerQueue.java:232)
	- locked <10a4517a8> (a javax.swing.TimerQueue)
	at java.lang.Thread.run(Thread.java:637)

"Thread-3" daemon prio=5 tid=1037a1800 nid=0x14b632000 in Object.wait() [14b631000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <10a26cd68> (a java.util.LinkedList)
	at java.lang.Object.wait(Object.java:485)
	at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1461)
	- locked <10a26cd68> (a java.util.LinkedList)

"AWT-Shutdown" prio=5 tid=101a79000 nid=0x14a2f9000 in Object.wait() [14a2f8000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:485)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
	- locked <1092a1280> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:637)

"Java2D Disposer" daemon prio=10 tid=103157000 nid=0x149f5f000 in Object.wait() [149f5e000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
	- locked <1092a1298> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
	at sun.java2d.Disposer.run(Disposer.java:125)
	at java.lang.Thread.run(Thread.java:637)

"AWT-AppKit" daemon prio=5 tid=103156800 nid=0x7fff70442c20 runnable [00000000]
 java.lang.Thread.State: RUNNABLE

"Poller SunPKCS11-Darwin" daemon prio=1 tid=1019dc800 nid=0x13aa7d000 waiting on condition [13aa7c000]
 java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:692)
	at java.lang.Thread.run(Thread.java:637)

"CLI Requests Server" daemon prio=5 tid=101aa8000 nid=0x13a620000 runnable [13a61f000]
 java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
	- locked <10933e738> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:453)
	at java.net.ServerSocket.accept(ServerSocket.java:421)
	at org.netbeans.CLIHandler$Server.run(CLIHandler.java:999)

"Active Reference Queue Daemon" daemon prio=1 tid=101869800 nid=0x1383ce000 in Object.wait() [1383cd000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
	- locked <1092cde38> (a java.lang.ref.ReferenceQueue$Lock)
	at org.openide.util.lookup.implspi.ActiveQueue$Impl.run(ActiveQueue.java:59)
	at java.lang.Thread.run(Thread.java:637)

"Timer-0" daemon prio=5 tid=10307f000 nid=0x1381cb000 in Object.wait() [1381ca000]
 java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.util.TimerThread.mainLoop(Timer.java:509)
	- locked <109388100> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"Low Memory Detector" daemon prio=5 tid=10182a000 nid=0x137c0d000 runnable [00000000]
 java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=9 tid=101829000 nid=0x137a0a000 waiting on condition [00000000]
 java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=9 tid=101828800 nid=0x137807000 waiting on condition [00000000]
 java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=9 tid=101827800 nid=0x137604000 runnable [00000000]
 java.lang.Thread.State: RUNNABLE

"Surrogate Locker Thread (CMS)" daemon prio=5 tid=101827000 nid=0x137401000 waiting on condition [00000000]
 java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=10307a000 nid=0x136fee000 in Object.wait() [136fed000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
	- locked <10934c1e8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=103079000 nid=0x136deb000 in Object.wait() [136dea000]
 java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:485)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
	- locked <1092a12c8> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=9 tid=103076800 nid=0x136be8000 runnable

"Gang worker#0 (Parallel GC Threads)" prio=9 tid=103002000 nid=0x102504000 runnable

"Gang worker#1 (Parallel GC Threads)" prio=9 tid=103002800 nid=0x102707000 runnable

"Concurrent Mark-Sweep GC Thread" prio=9 tid=103042000 nid=0x1368f0000 runnable
"VM Periodic Task Thread" prio=10 tid=101801800 nid=0x137e10000 waiting on condition

"Exception Catcher Thread" prio=10 tid=103001800 nid=0x102301000 runnable
JNI global references: 78728
Comment 1 David Strupl 2010-08-19 08:06:34 UTC
After checking the dump it seems like we already have this one reported as 188843. Marking this issue as a duplicate.

*** This bug has been marked as a duplicate of bug 188843 ***