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 87598

Summary: Deadlock in editor during starting of ide
Product: editor Reporter: ehucka <ehucka>
Component: -- Other --Assignee: issues@editor <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: yardus
Priority: P1 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 87188    
Attachments: threaddump
threaddump from 200610221800

Description ehucka 2006-10-20 07:25:52 UTC
build 200610191800, linux, jdk 1.6

I started ide with empty userdir, I opened a few j2se project, one freeform
project and two web projects. 
I added root folder of all these projects to favorites view, restarted ide and
ui  of ide was blocked.
Comment 1 ehucka 2006-10-20 07:26:50 UTC
Created attachment 35401 [details]
threaddump
Comment 2 Martin Balin 2006-10-20 15:36:52 UTC
*** Issue 87485 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Hurka 2006-10-20 15:53:39 UTC
See issue #87485 for 7 easy steps how to reproduce it 
Comment 4 Miloslav Metelka 2006-10-22 21:00:48 UTC
There are java and jsp warmup tasks running in parallel and the java warmup task
is waiting on acquiring of the document read lock. Since the two tasks should
certainly not use the same document instance this could be caused by the issue
#86661 which was not yet rolled back in the trunk (only in release55_dev and
release55). I do the rollback immediately to be sure that it's not causing this
problem.
Comment 5 Miloslav Metelka 2006-10-22 21:50:48 UTC
Apologies instead of issue #86661 I've meant rollback of issue #63488. I've
performed its rollback in the trunk.
Comment 6 ehucka 2006-10-23 08:46:02 UTC
It is still there. (NB daily build 200610221800)
Comment 7 ehucka 2006-10-23 08:47:32 UTC
Created attachment 35448 [details]
threaddump from 200610221800
Comment 8 Miloslav Metelka 2006-10-23 09:41:05 UTC
I've done rollback at 20:45 but from 200610221800 I would assume that the build
is performed at 18:00. If that's true then we should wait for the next build (or
I can provide a build for you).
Comment 9 Miloslav Metelka 2006-10-23 13:46:32 UTC
I have postponed Settings update in the BaseCaret which should eliminate the
problem.
Fixed in trunk:
Checking in libsrc/org/netbeans/editor/BaseCaret.java;
/cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v  <--  BaseCaret.java
new revision: 1.126; previous revision: 1.125
Comment 10 Miloslav Metelka 2006-10-23 13:51:50 UTC
Integrated into release60_m4:
Checking in BaseCaret.java;
/cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v  <--  BaseCaret.java
new revision: 1.125.8.1; previous revision: 1.125
Comment 11 ehucka 2006-10-25 11:49:17 UTC
verified