You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/04/10 19:26:16 UTC

[jira] [Resolved] (CB-2936) Fatal signal Crash on PlayAudio

     [ https://issues.apache.org/jira/browse/CB-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-2936.
----------------------------

    Resolution: Cannot Reproduce

If you can provide more information, we'll be happy to re-open this issue.  We can't let critical issues stay open if we can't reproduce them.  Sorry!
                
> Fatal signal Crash on PlayAudio
> -------------------------------
>
>                 Key: CB-2936
>                 URL: https://issues.apache.org/jira/browse/CB-2936
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CordovaJS
>    Affects Versions: 2.5.0
>         Environment: Sony Xperia Tablet Z
>            Reporter: James Wong
>            Assignee: Joe Bowser
>            Priority: Critical
>
> 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:
> {quote}
> 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
> {color:red} 04-07 17:34:03.610: A/libc(14639): Fatal signal 11 (SIGSEGV) at 0x00000016 (code=1){color}
> {quote}
> I tried 2 versions of MP3 (48kbps and 128kbps) files but it would still crash.
> Here is my javascript code
> {noformat} 
> 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;
> }
> {noformat} 
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira