cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Coladarci (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-2301) EXC_BAD_ACCESS on resume/wake on iOS device
Date Mon, 08 Apr 2013 20:15:17 GMT

    [ https://issues.apache.org/jira/browse/CB-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625753#comment-13625753
] 

Greg Coladarci edited comment on CB-2301 at 4/8/13 8:13 PM:
------------------------------------------------------------

I have gotten the crash ONCE in the simulator, and confirmed it was the same crash state.
I wish I could say what I did differently. I've tried for hours to recreate it in the simulator
- I was playing with whether sending the socket messages as volatile make a difference. I've
switched all mine to volatile and it actually seems to reduce it, but I haven't been able
to say it's "fixed."
                
      was (Author: drgizzlemd):
    I have gotten the crash ONCE in the simulator, and confirmed it was the same crash state.
I wish I could say what I did differently. I've tried for hours to recreate it in the simulator
- I was playing with whether sending the socket messages as volatile make a difference. I've
switched all mine to non-volatile and it actually seems to lesson it, but I haven't been able
to say it's "fixed."
                  
> EXC_BAD_ACCESS on resume/wake on iOS device
> -------------------------------------------
>
>                 Key: CB-2301
>                 URL: https://issues.apache.org/jira/browse/CB-2301
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.2.0
>         Environment: iPhone 5 running iOS 6.0.2 and Phonegap 2.2.0. (Xcode 4.5.2 on Mountain
Lion)
>            Reporter: Ross Holdway
>            Assignee: Shazron Abdullah
>            Priority: Critical
>              Labels: cordova, ios, phonegap
>             Fix For: 2.5.0
>
>         Attachments: Sample.zip, Screenshot.png
>
>
> I have implemented a websocket connection (using socket.io) within my app which it uses
to communicate with the server. On locking and waking the device, it disconnects and reconnects
correctly, but on leaving the device locked for 1 minute or longer when unlocking, the application
will crash sometimes instantly, or sometimes after reconnecting with the server.
> If I do the same, but run my app within mobile Safari, it does not crash, leading me
to believe this is an issue with Phonegap/Cordova. 
> On app crash, within Xcode I get within WebThread - WebCore::ThreadTImers::sharedTimerFiredInternal()
an EXC_BAD_ACCESS (code=1) error
> Screenshot of crash state in Xcode -http://pictat.com/i/2013/1/28/24904screenshot.jpg
> Hopefully someone will have an idea as to what could be causing this, or recommend some
tests for me to run etc because I'm really clueless on how to proceed with fixing this!
> Many Thanks,
> Ross

--
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

Mime
View raw message