You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Matthias Bläsing (JIRA)" <ji...@apache.org> on 2019/03/27 20:26:00 UTC

[jira] [Created] (NETBEANS-2318) Deadlock in SQL Editor when closing editor

Matthias Bläsing created NETBEANS-2318:
------------------------------------------

             Summary: Deadlock in SQL Editor when closing editor
                 Key: NETBEANS-2318
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2318
             Project: NetBeans
          Issue Type: Bug
          Components: db - Code
    Affects Versions: 10.0
            Reporter: Matthias Bläsing
            Assignee: Matthias Bläsing
         Attachments: deadlock.txt

In the attached thread dump a deadlock can be found, when the SQL editor is closed.

The AWT thread holds the SQLEditorSupport lock, then call into a RequestProcessor and it is assumed, that that request processor is "org.openide.text Document Processing". That in turn tries to acquire the SQLEditorSupport lock and thus prevents progress.

Suggested solution: Untangle the locks and separate the lock protecting the logger from the object lock.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists