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 94407 - Deadlock while opening Font Chooser
Summary: Deadlock while opening Font Chooser
Status: RESOLVED DUPLICATE of bug 92449
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-02-05 17:01 UTC by Maros Sandor
Modified: 2007-02-14 10:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (20.72 KB, text/plain)
2007-02-05 17:02 UTC, Maros Sandor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maros Sandor 2007-02-05 17:01:02 UTC
I went to Options / Fonts and clicked on the (...) button to change the default
font. The Font Chooser dialog opens but nothing is shown inside and the IDE
freezes. It is not easily reproducible.
Comment 1 Maros Sandor 2007-02-05 17:02:02 UTC
Created attachment 38059 [details]
Thread dump
Comment 2 Vitezslav Stejskal 2007-02-05 22:20:47 UTC
Looking at the thread dump I can't really see any deadlock. Are you sure that
the IDE was forzen (ie. no CPU activity)? Have you attached the right thread
dump? We know about the deadlock in issue #92449, which could be the same
situation, but your FTD does not show that.
Comment 3 Maros Sandor 2007-02-05 22:58:31 UTC
Yes, as far as I can tell, the AWT thread was frozen, IDE was not repainting
itself and I could not do anything with it. There was no CPU activity. Yes, this
is the right thread dump.
Comment 4 Vitezslav Stejskal 2007-02-09 00:25:17 UTC
I see, well, the only suspicios code I can see is the static initialization of
o.n.m.editor.java.Utilities. I'll reassign this to the java guys to have a look.
Comment 5 Jan Lahoda 2007-02-12 09:43:43 UTC
The "OpenIDE-request-processor-4" thread seems to be actually waiting until
o.n.m.e.j.Utilities clinit finishes, and the clinit waits for a lock that is
held by "OpenIDE-request-processor-4".
Comment 6 Dusan Balek 2007-02-14 10:31:52 UTC
Already fixed.

*** This issue has been marked as a duplicate of 92449 ***