Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8054799

Deadlock on sequencer.setMicrosecondPosition

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_03"
      Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
      Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 5.2.3790]

      A DESCRIPTION OF THE PROBLEM :
      Found one Java-level deadlock:
      =============================
      "Thread-18":
        waiting to lock monitor 0x16be7964 (object 0x0afacee0, a com.sun.media.sound.RealTimeSequencer$DataPump),
        which is held by "Java Sound Sequencer"
      "Java Sound Sequencer":
        waiting to lock monitor 0x17d422cc (object 0x0b083cc8, a com.sun.media.sound.MidiUtils$TempoCache),
        which is held by "Thread-18"

      Java stack information for the threads listed above:
      ===================================================
      "Thread-18":
              at com.sun.media.sound.RealTimeSequencer$DataPump.setTickPos(Unknown Source)
              - waiting to lock <0x0afacee0> (a com.sun.media.sound.RealTimeSequencer$DataPump)
              at com.sun.media.sound.RealTimeSequencer.setTickPosition(Unknown Source)
              - locked <0x0ade3ef8> (a com.sun.media.sound.RealTimeSequencer)
              at com.sun.media.sound.RealTimeSequencer.setMicrosecondPosition(UnknownSource)
              - locked <0x0b083cc8> (a com.sun.media.sound.MidiUtils$TempoCache)
              at hsplet.media.Music.setPosition(Music.java:150)
              at hsplet.media.Music$1.run(Music.java:110)
      "Java Sound Sequencer":
              at com.sun.media.sound.MidiUtils$TempoCache.getTempoMPQAt(Unknown Source)
              - waiting to lock <0x0b083cc8> (a com.sun.media.sound.MidiUtils$TempoCache)
              at com.sun.media.sound.RealTimeSequencer$DataPump.setTickPos(Unknown Source)
              - locked <0x0afacee0> (a com.sun.media.sound.RealTimeSequencer$DataPump)
              at com.sun.media.sound.RealTimeSequencer$PlayThread.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)

      Found 1 deadlock.


      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: