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: | Deadlock in test | ||
---|---|---|---|
Product: | ide | Reporter: | Jesse Glick <jglick> |
Component: | Features On Demand | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TEST, THREAD |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Deadlock |
I will try to make sure the logger is initialized sooner first: ergonomics#f17baedd0f5d Integrated into 'main-golden', will be available in build *201102280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f17baedd0f5d User: Jaroslav Tulach <jtulach@netbeans.org> Log: #195699: Making sure the logger is initialized sooner than FileChangedManager intercepts any security checks |
Created attachment 106187 [details] Deadlock One of the ergonomics unit tests hung again; unkillable except by SIGKILL due to deadlock in shutdown hook. Assigning here provisionally since I seem to recall the hangs are always in the ergonomics job; I remember you trying to do something about it before but I guess it didn't work. (I don't have info on which build the hung test process came from; just found it via jps -lm on builder.) I think the right fix is to ensure that FileChangedManager.checkRead never call Logger.log synchronously. It could post events into a ConcurrentLinkedQueue for consumption by another thread, perhaps.