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 during XTest | ||
---|---|---|---|
Product: | cnd | Reporter: | Jesse Glick <jglick> |
Component: | Terminalemulator | Assignee: | ivan <ivan> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | THREAD |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread dump |
Description
Jesse Glick
2002-02-11 11:36:58 UTC
Created attachment 4651 [details]
Thread dump
[dev feb 11], sorry. Not sure if it is reproducible. The contention seems to be over the 'synchronized' on the Term instance itself. On thread, xtest.AntRunner_1, grabs the lock in Term.appendText(). That keeps the other thread, AWT-EventQueue-0, which calls the paint methods, stuck waiting for the lock. Now the scrollbar is supposed to be adjusted in the AWT event queue as well, as the comment in Term.adjust_scrollbar() says. In fact invokeAndWait() is used, but in a class somewhat removed from Term; StreamTerm. But since NB io window code bypasses StreamTerm all this stuff gets executed asynchronously. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. I"m marking this and other NPE related bugs as fixed with my commit tagged ivan_17. For a thorough description read .../terminalemulator/ReleaseNotes.ivan.txt. Since this is a rather radical change I'd rather see new bugs filed as opposed to these being reopened. it seems ok. moving terminal emulator issues to terminalemulator component. To see the correct version and target milestone of this issue look at Issue Activity table. |