Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2318

Deadlock in SQL Editor when closing editor

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. deadlock.txt
          41 kB
          Matthias Bläsing

        Issue Links

          Activity

            People

              matthiasblaesing Matthias Bläsing
              matthiasblaesing Matthias Bläsing
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h