JDK-4303161 : MidiSynth with record dialog up can lockup when playing keys
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-01-07
  • Updated: 2006-06-01
  • Resolved: 2006-06-01
Related Reports
Duplicate :  
Description
Build  : 'R'
OS     : only Solaris (win32 ok)

In the MidiSynth demo, if you roll mouse over the keys while the record dialog is up recording or not.  After several roll overs JavaSound deadlocks.   To invoke the deadlock you should roll your mouse over the keys numerous times.  Periodically, you'll get the below NPE or the system may come to a crawl and have very sluggish response.  But this is only with the record dialog up, recording or not doesn't seem to matter.

Kinda malicous test condition.  Under "normal" playing hard to induce.

java.lang.NullPointerException
        at java.awt.EventQueue.postEventPrivate(EventQueue.java:116)
        at java.awt.EventQueue.postEvent(EventQueue.java:103)
        at sun.awt.PostEventQueue.run(SunToolkit.java:502)

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon
14-06-2004

PUBLIC COMMENTS JavaSound: MidiSynth with record dialog up can lockup when playing keys
10-06-2004

EVALUATION ###@###.### 2002-11-02 Couldn't reproduce this on Solaris 8. Fix in the tiger time frame. ###@###.### 2003-09-22 No time for tiger left. Commit to dragonfly.
02-11-2002