HDCs for AwtComponent not being released

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: client-libs
    • 2d
    • beta
    • 6
    • b56
    • x86
    • windows_xp

      Mustang b51+, Windows XP Prof
      Open Font2DTest, click on any letter to zoom it, click on the Close button in the frame - see assertion:
      *********************
      AWT Assertion Failure
      *********************
      ::GetObjectType(tmpDCList->hDC) == OBJ_DC
      File '../../../src/windows/native/sun/windows/awt_Component.cpp', at line 7118
      GetLastError() is 6 : The handle is invalid.
      Do you want to break into the debugger?
      *********************

      Possibly a regression from 6219278
      Another way to see the problem is to run an application that creates a huge amount of threads and renders once in each thread; this will cause an HDC to be allocated for each thread and never released (the HDC objects should be released upon thread exit).

            Assignee:
            Chet Haase (Inactive)
            Reporter:
            Denis Mikhalkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: