[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-23 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13665700#comment-13665700
 ] 

Shazron Abdullah commented on CB-3451:
--

Yup, anything fancy going on either window.onload / ondeviceready / resume 
event? Is your index.html page loading anything besides js/images/html/css, 
like SVG and the like?

 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

 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


[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13664695#comment-13664695
 ] 

Shazron Abdullah commented on CB-3451:
--

Please provide a crash log, we don't have enough info to even begin a repro.

 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

 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


[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Brendan (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13664724#comment-13664724
 ] 

Brendan commented on CB-3451:
-

Here you go:

Incident Identifier: 10951C64-A19E-4A93-B067-F86934BFAA8C
CrashReporter Key:   acc0827a0e8111d9e68847ae8a05fb9114cf7a7b
Hardware Model:  iPhone5,1
Process: MyApp [6926]
Path:
/var/mobile/Applications/33D857A2-B56B-4569-94F0-DCD4C89B9156/MyApp.app/MyApp
Identifier:  MyApp
Version: ??? (???)
Code Type:   ARM (Native)
Parent Process:  launchd [1]

Date/Time:   2013-05-21 11:47:45.057 -0700
OS Version:  iOS 6.1.4 (10B350)
Report Version:  104

Exception Type:  0020
Exception Codes: 0x8badf00d
Highlighted Thread:  0

Application Specific Information:
com.mycompany.myapp failed to resume in time

Elapsed total CPU time (seconds): 19.150 (user 19.150, system 0.000), 96% CPU 
Elapsed application CPU time (seconds): 18.285, 91% CPU

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib  0x39a7ae80 semaphore_wait_trap + 8
1   libdispatch.dylib   0x399b5e04 _dispatch_group_wait_slow + 
152
2   QuartzCore  0x3349cb0c 
CA::CG::IOSurfaceDataProvider::copy_data() + 48
3   QuartzCore  0x3349cc4c 
CA::CG::IOSurfaceDataProvider::get_byte_pointer(void*) + 12
4   CoreGraphics0x31912d18 
CGAccessSessionGetBytePointer + 36
5   CoreGraphics0x319118ca img_data_lock + 1122
6   CoreGraphics0x31910cc6 CGSImageDataLock + 126
7   libRIP.A.dylib  0x31c74974 ripc_AcquireImage + 1388
8   libRIP.A.dylib  0x31c737a4 ripc_DrawImage + 544
9   CoreGraphics0x31910b20 CGContextDelegateDrawImage + 
48
10  CoreGraphics0x319109a2 CGContextDrawImage + 286
11  WebCore 0x37947b5a 
WebCore::GraphicsContext::drawNativeImage(CGImage*, WebCore::FloatSize const, 
WebCore::ColorSpace, WebCore::FloatRect const, WebCore::FloatRect const, 
float, WebCore::CompositeOperator, WebCore::ImageOrientation) + 1182
12  WebCore 0x37a71cf8 
WebCore::ImageBuffer::draw(WebCore::GraphicsContext*, WebCore::ColorSpace, 
WebCore::FloatRect const, WebCore::FloatRect const, 
WebCore::CompositeOperator, bool) + 124
13  WebCore 0x37a71c66 
WebCore::GraphicsContext::drawImageBuffer(WebCore::ImageBuffer*, 
WebCore::ColorSpace, WebCore::FloatRect const, WebCore::FloatRect const, 
WebCore::CompositeOperator, bool) + 326
14  WebCore 0x37a71b12 
WebCore::GraphicsContext::drawImageBuffer(WebCore::ImageBuffer*, 
WebCore::ColorSpace, WebCore::IntRect const, WebCore::CompositeOperator, bool) 
+ 70
15  WebCore 0x37a71aa6 
WebCore::HTMLCanvasElement::paint(WebCore::GraphicsContext*, WebCore::IntRect 
const, bool) + 186
16  WebCore 0x37a719de 
WebCore::RenderHTMLCanvas::paintReplaced(WebCore::PaintInfo, WebCore::IntPoint 
const) + 102
17  WebCore 0x37944cb4 
WebCore::RenderReplaced::paint(WebCore::PaintInfo, WebCore::IntPoint const) + 
340
18  WebCore 0x37879338 
WebCore::RenderLayer::paintLayerContents(WebCore::RenderLayer*, 
WebCore::GraphicsContext*, WebCore::IntRect const, unsigned int, 
WebCore::RenderObject*, WebCore::RenderRegion*, 
WTF::HashMapWebCore::OverlapTestRequestClient*, WebCore::IntRect, 
WTF::PtrHashWebCore::OverlapTestRequestClient*, 
WTF::HashTraitsWebCore::OverlapTestRequestClient*, 
WTF::HashTraitsWebCore::IntRect *, unsigned int) + 1760
19  WebCore 0x379a4712 
WebCore::RenderLayerBacking::paintIntoLayer(WebCore::RenderLayer*, 
WebCore::GraphicsContext*, WebCore::IntRect const, unsigned int, unsigned int, 
WebCore::RenderObject*) + 154
20  WebCore 0x379a458a 
WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, 
WebCore::GraphicsContext, unsigned int, WebCore::IntRect const) + 158
21  WebCore 0x379a44e2 
WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext, 
WebCore::IntRect const) + 94
22  WebCore 0x379a4414 
__drawLayerContents_block_invoke_0 + 180
23  WebKit  0x38139f44 
WKCALayerEnumerateRectsBeingDrawnWithBlock + 56
24  WebCore 0x379a3ff8 
drawLayerContents(CGContext*, CALayer*, WebCore::PlatformCALayer*) + 524
25  QuartzCore  0x334648c0 CABackingStoreUpdate_ + 1776
26  QuartzCore  0x33464032 CA::Layer::display_() + 970
27  WebCore 0x379a3d9e -[WebLayer display] + 50
28  QuartzCore  

[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13664727#comment-13664727
 ] 

Shazron Abdullah commented on CB-3451:
--

Sample code? Are you doing anything in the canvas at startup?

 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

 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


[jira] [Commented] (CB-3451) iOS Cordova app crashes with failed to resume in time when reopening

2013-05-22 Thread Brendan (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13664743#comment-13664743
 ] 

Brendan commented on CB-3451:
-

Sorry, I've not been able to build a smaller repro that I can share, yet.  By 
startup, do you mean my window.onload or ondeviceready handler?  I do 
various initialization in each of these, but neither should run on a reload, 
because then they would reset my application state.  Let me know if I've 
misunderstood something..

 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

 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