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.
Summary: | ide randomly deadlock (becomes unresponive and must be killed). | ||
---|---|---|---|
Product: | platform | Reporter: | mihai <mihai> |
Component: | Text | Assignee: | mslama <mslama> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | Keywords: | RANDOM, THREAD |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
the printscreen
the threads stack deadloc on double click on search result (stack) deadlock on double click on search result (printscreen) deadlock 3 deadlock 3 part 4 part 4 deadlock 5 deadlock 5 Another stack trace |
Description
mihai
2009-08-17 08:57:24 UTC
Created attachment 86303 [details]
the printscreen
Created attachment 86304 [details]
the threads stack
to me the problem thread seems to be this one, but it's not clear to mewhat NbEditorDocument waits for (no other thread seems to have NbEditorDocument locked. Please evaluate at java.lang.Object.wait(Native Method) - waiting on <0x14f5f458> (a org.netbeans.modules.editor.NbEditorDocument) at java.lang.Object.wait(Object.java:485) at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1372) - locked <0x14f5f458> (a org.netbeans.modules.editor.NbEditorDocument) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1368) at org.openide.text.PositionRef$Manager$DocumentRenderer.render(PositionRef.java:889) at org.openide.text.PositionRef$Manager.processPositions(PositionRef.java:346) at org.openide.text.PositionRef$Manager.documentClosed(PositionRef.java:287) at org.openide.text.CloneableEditorSupport.doCloseDocument(CloneableEditorSupport.java:2142) at org.openide.text.CloneableEditorSupport.closeDocument(CloneableEditorSupport.java:2113) - locked <0x14f5f618> (a org.openide.windows.CloneableOpenSupport$Listener) at org.openide.text.CloneableEditorSupport.notifyClosed(CloneableEditorSupport.java:1985) at org.openide.text.DataEditorSupport.notifyClosed(DataEditorSupport.java:310) at org.netbeans.modules.xml.text.TextEditorSupport.notifyClosed(TextEditorSupport.java:216) at org.openide.text.CloneableEditorSupport.close(CloneableEditorSupport.java:2089) at org.openide.windows.CloneableOpenSupport.close(CloneableOpenSupport.java:126) at org.netbeans.modules.versioning.diff.DiffSidebar.getText(DiffSidebar.java:953) at org.netbeans.modules.versioning.diff.DiffSidebar.getText(DiffSidebar.java:852) at org.netbeans.modules.versioning.diff.DiffSidebar.access$900(DiffSidebar.java:98) at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.fetchOriginalContent(DiffSidebar.java:816) at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.computeDiff(DiffSidebar.java:787) at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.run(DiffSidebar.java:777) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070) *** Issue 170140 has been marked as a duplicate of this issue. *** Another deadlock. After a search in project(ctrl+shift+F), i double clicked on a search result. Created attachment 86377 [details]
deadloc on double click on search result (stack)
Created attachment 86378 [details]
deadlock on double click on search result (printscreen)
I am using a custom look&feel OfficeLnFs_2.7.jar https://sourceforge.net/projects/officelnfs/files/ I hope this is not the cause of the problems. my custom netbeans.conf nb options: netbeans_default_options="-J-Dorg.netbeans.modules.tomcat.autoregister.token=1250073911712 -J-Dorg.netbeans.modules.tomcat.autoregister.catalinaHome=\"C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.20\" -J-client -J-Xss2m -J-Xms400m -J-Xmx400m -J-XX:PermSize=32m -J-XX:MaxPermSize=256m -J-Xverify:none -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Djava.net.preferIPv4Stack=true -J-Dsun.java2d.d3d=true --laf org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel" This time the ide is not redrawing the ui. Created attachment 86389 [details]
deadlock 3
Created attachment 86390 [details]
deadlock 3
Another deadlock when opening an xml file. Attaching the part 4. Created attachment 86394 [details]
part 4
Created attachment 86395 [details]
part 4
Another one when closing a pom.xml editor window (after killing the ide with the part 4). Created attachment 86397 [details]
deadlock 5
Created attachment 86398 [details]
deadlock 5
IMO problem in CloneableEditorSupport. mihai please do not attach screenshots. They are not helpful in this particular case. Threaddumps are good, thanks. Created attachment 86454 [details]
Another stack trace
Fixed in trunk already. *** This issue has been marked as a duplicate of 169717 *** |