JDK-4809173 : java.awt.MediaTracker.waitForID() never returns
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.1
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-01-28
  • Updated: 2003-01-29
  • Resolved: 2003-01-29
Related Reports
Duplicate :  
Description
The bug happens in Sun ONE Studio 4 update 1 on Windows 2000.  JDK 1.4.0_01 and 1.4.0_02 work fine, but not 1.4.1_xx and 1.4.2 betas.  The problem is well described in our bug report

    http://www.netbeans.org/issues/show_bug.cgi?id=27711

Sorry we cannot produce a nice test case.  One would need the whole IDE to reproduce the bug.  At one place we are fetching an image and use MediaTracker to wait for the image to be fully loaded.  The wait never ends.  In the thread dump there is no "Image Fetcher" thread running.  This is the reason why I believe this must be a bug in JDK not in our code.   Take a look at this thread dump (also referenced from the bug report above)

    http://www.netbeans.org/issues/showattachment.cgi?attach_id=8421

We'll be very glad if AWT engineers can do a quick evaluation of this bug report and let us know if this is a known problem and/or there is any workaround we can use.

Feel free to contact me if you need assistance to reproduce the bug.

###@###.### 2003-01-28

Comments
EVALUATION MediaTracker issues that have to do with image loading are usually handled by the 2D team. I wonder if this bug is related to 4789067? ###@###.### 2003-01-28 Based on the stacktrace (ImageTracker is waiting, no ImageFetchers), I'm closing this bug as a duplicate of 4789067: Debugging test JUnit classes locks up IDE ###@###.### 2003-01-28
28-01-2003