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

Core dump when audio device is busy.

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0fcs
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description

      If the audio device is busy the appletviewer will coredump. Here is a backtrace:

      > appletviewer http://www/
      Warning: <app> tag no longer supported, use <applet> instead:
      <applet codebase="doc:/demo/" code="AudioItem.class" width=100 height=100>
      <param name=snd value="audio/harp.au">
      </applet>

      thread applet-AudioItem find class AudioItem
      Opening stream to: http://www/applets/AudioItem/AudioItem.class to get AudioItem
      audio device busy (attempt 1 out of 5)
      audio device busy (attempt 2 out of 5)
      audio device busy (attempt 3 out of 5)
      audio device busy (attempt 4 out of 5)
      audio device busy (attempt 5 out of 5)
      audio device busy (attempt 1 out of 5)
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_ACCERR [addr: 0x0]

              stackbase=EE012000, stackpointer=EE010DE8

      Full thread dump:
          "Audio Player" (TID:0xee704b48, sys_thread_t:0xee011de8) prio=10 *current thread*
              sun.audio.AudioDevice.play(AudioDevice.java:344)
              sun.audio.AudioPlayer.run(AudioPlayer.java:135)
          "thread applet-AudioItem" (TID:0xee703498, sys_thread_t:0xee041de8) prio=6
              java.lang.Object.wait(Object.java)
              sun.applet.AppletPanel.getNextEvent(AppletPanel.java:154)
              sun.applet.AppletPanel.run(AppletPanel.java:174)
              java.lang.Thread.run(Thread.java)
          "Screen Updater" (TID:0xee7019c8, sys_thread_t:0xee071de8) prio=4
              java.lang.Object.wait(Object.java)
              sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:75)
              sun.awt.ScreenUpdater.run(ScreenUpdater.java:95)
          "AWT-Motif" (TID:0xee701518, sys_thread_t:0xee0a1de8) prio=5
              java.lang.Thread.run(Thread.java)
          "AWT-Input" (TID:0xee7014f8, sys_thread_t:0xee0d1de8) prio=5
          "Finalizer thread" (TID:0xee700348, sys_thread_t:0xee3f1de8) prio=1
          "Async Garbage Collector" (TID:0xee7002f8, sys_thread_t:0xef441de8) prio=1
          "Idle thread" (TID:0xee700288, sys_thread_t:0xef471de8) prio=0
          "clock handler" (TID:0xee7000d0, sys_thread_t:0xef551de8) prio=11
          "main" (TID:0xee7000a0, sys_thread_t:0x72a10) prio=5
      Monitor Cache Dump:
          unknown key (key=0xef441de8): unowned
              Waiting to be notified:
                  "Async Garbage Collector"
          sun.awt.motif.MToolkit@EE7014E0/EE737900 (key=0xee7014e0): unowned
              Waiting to be notified:
                  "AWT-Motif"
          sun.applet.AppletViewerPanel@EE703358/EE73D8C8 (key=0xee703358): unowned
              Waiting to be notified:
                  "thread applet-AudioItem"
          sun.audio.AudioDevice@EE704B90/EE73F0B8 (key=0xee704b90): monitor owner: "Audio Player"
          sun.awt.ScreenUpdater@EE7019C8/EE7384A0 (key=0xee7019c8): unowned
              Waiting to be notified:
                  "Screen Updater"
      Registered Monitor Dump:
          Finalize me queue lock: unowned
              Waiting to be notified:
                  "Finalizer thread"
          Thread queue lock: unowned
              Waiting to be notified:
                  "main"
          Class lock: unowned
          Java stack lock: unowned
          Code rewrite lock: unowned
          Heap lock: unowned
          Has finalization queue lock: unowned
          Monitor IO lock: unowned
          Child death monitor: unowned
          Event monitor: unowned
          I/O monitor: monitor owner: "AWT-Input"
          Alarm monitor: unowned
              Waiting to be notified:
                  "clock handler"
          Sbrk lock: unowned
          Monitor cache lock: unowned
          Monitor registry: monitor owner: "Audio Player"
      Thread Alarm Q:
          sys_thread_t 0xef441de8 [Timeout in 416 ms]
      IOT trap (core dumped)
      Exit 134

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fyellinsunw Frank Yellin (Inactive)
                Reporter:
                ahoffsunw Arthur Hoff (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: