-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.3.0
-
None
-
sparc
-
solaris_8
When starting the application on an dual processor Solaris machine the app
deadlocks. The thread dump (attached below) suggests its an issue with
ImageIcon and MediaTracker. This is further supported by some tests I've run
using JButton(string) instead of JButton(imageIcon) which run fine.
The deadlock occurs on 90% of appliation starts.
The application is quite large and I've not had time to produce a small test
case.
Untar the attachment and run RUNME to start the app. The app will either start OK (ie all windows are painted) or will freeze with all windows grey.
You will need to install Java3D to run the app, however the Java3D threads
have not started when the Swing Deadlock occurs.
I've tested on JDK 1.3 Beta and JDK 1.3 build 1.3.0-b22
I've also tried various ways to load and track the images before creating the
ImageIcons, but the app still freezes in MediaTracker even once my loading
code has completed OK.
The JButtons containing the ImageIcons are created in
com/sun/j3d/demos/j3dedit/j3deditor/ConfigLoader.java, line 151 onwards
- duplicates
-
JDK-4332685 AbstractButton.getDisabledIcon can cause the VM to hang! (dual-processor box)
-
- Closed
-