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 when expanding the MySQL node | ||
---|---|---|---|
Product: | db | Reporter: | Petr Jiricka <pjiricka> |
Component: | Code | Assignee: | David Vancouvering <davidvc> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | RANDOM |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread dump of the deadlock |
Description
Petr Jiricka
2008-04-25 16:19:30 UTC
Created attachment 60700 [details]
Thread dump of the deadlock
I'm assuming this doesn't happen every time? If it does, then this is a P1... Not a deadlock. It is caused by making a call into the driver while holding the lock on ServerInstance. Then the AWT thread is blocked until the driver call returns. No, this does not happen every time. I believe it happened when I tried to expand the MySQL node while it was still checking the status (i.e. you have to do it very quickly after expanding the Databases node). This is not a P1. Petr, please verify, I was not able to reproduce, but using the thread dump I put in some changes that I think should fix it. http://hg.netbeans.org/main?cmd=changeset;node=072f3763e4db |