[
https://issues.apache.org/jira/browse/CB-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666557#comment-13666557
]
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:
{code}
15 WebCore 0x37a71aa6
WebCore::HTMLCanvasElement::paint(WebCore::GraphicsContext*, WebCore::IntRect
const&, bool) + 186
{code}
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: https://issues.apache.org/jira/browse/CB-3451
> 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 useful.
--
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