cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-3451) iOS Cordova app crashes with "failed to resume in time" when reopening
Date Fri, 24 May 2013 19:02:19 GMT


Shazron Abdullah commented on CB-3451:

Aha that's a good clue - the creation of canvas objects. In the stack trace for the crash
there is this line:
15 WebCore 0x37a71aa6 WebCore::HTMLCanvasElement::paint(WebCore::GraphicsContext*, WebCore::IntRect
const&, bool) + 186

Ok - for the rest of the items (load web audio assets, streaming of mp3 audio) - does that
use any Cordova APIs?

First thing I would get you to do is, get it to crash with your existing code to establish
that it still occurs in this session. Then:
1) Remove the creation of canvas objects, re-test
2) If it doesn't crash, remove the load web audio assets code, re-test
3) If it doesn't crash, remove the mp3 streaming code, re-test

If it doesn't crash at A step, by deduction you've found the culprit and we can go from there.

> iOS Cordova app crashes with "failed to resume in time" when reopening
> ----------------------------------------------------------------------
>                 Key: CB-3451
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.6.0
>         Environment: Running on iPhone 5
>            Reporter: Brendan
>            Assignee: Shazron Abdullah
>             Fix For: 2.8.0
> I have a Cordova 2.6.0 app that runs well on my iPhone 5.  It uses web audio and canvas,
it that's relevant.  When I reopen the app, it sometimes restores fine, but often it crashes,
and the crash log indicates "failed to resume in time".  I can share an entire crash log if

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:

View raw message