Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.5.0
    • Fix Version/s: None
    • Component/s: cordova-android, cordova-js
    • Labels:
      None
    • Environment:

      Sony Xperia Tablet Z

      Description

      On Sony Xperia Tablet Z, playing audio would crash after 2-3 seconds of playback. Here is the error log I get from the console:

      04-07 17:34:01.220: D/dalvikvm(14639): GC_CONCURRENT freed 64K, 2% free 11807K/12039K, paused 1ms+2ms
      04-07 17:34:03.230: D/AudioPlayer(14639): Send a onStatus update for the new seek
      04-07 17:34:03.610: A/libc(14639): Fatal signal 11 (SIGSEGV) at 0x00000016 (code=1)

      I tried 2 versions of MP3 (48kbps and 128kbps) files but it would still crash.

      Here is my javascript code

       
      function playAudio(src) {
       if(my_media){ stopAudio(); }
        my_media = new Media(src, onSuccess, onError);
        my_media.play();
       }
      }
      
      function stopAudio() {
        my_media.stop();
        my_media.release();
        my_media = null;
      }
      

        Attachments

          Activity

            People

            • Assignee:
              bowserj Joe Bowser
              Reporter:
              thejae James Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: