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 133951 - Deadlock when expanding the MySQL node
Summary: Deadlock when expanding the MySQL node
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P2 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-04-25 16:19 UTC by Petr Jiricka
Modified: 2008-04-30 19:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump of the deadlock (15.11 KB, text/plain)
2008-04-25 16:20 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2008-04-25 16:19:30 UTC
I tried to expand the MySQL node, got deadlock.
Comment 1 Petr Jiricka 2008-04-25 16:20:40 UTC
Created attachment 60700 [details]
Thread dump of the deadlock
Comment 2 David Vancouvering 2008-04-25 21:44:18 UTC
I'm assuming this doesn't happen every time?  If it does, then this is a P1...
Comment 3 Andrei Badea 2008-04-28 10:26:13 UTC
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.
Comment 4 Petr Jiricka 2008-04-28 12:47:17 UTC
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.
Comment 5 David Vancouvering 2008-04-30 19:41:35 UTC
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