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 - Deadlock in editor during starting of ide
Summary: Deadlock in editor during starting of ide
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords: REGRESSION
: 87485 (view as bug list)
Depends on:
Blocks: 87188
  Show dependency tree
 
Reported: 2006-10-20 07:25 UTC by ehucka
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump (14.32 KB, text/plain)
2006-10-20 07:26 UTC, ehucka
Details
threaddump from 200610221800 (14.28 KB, text/plain)
2006-10-23 08:47 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
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