You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/06/02 21:51:03 UTC

[jira] [Commented] (CB-6843) iOS cordova app crashes on stringByEvaluatingJavaScriptFromString: in the class CDVCommandDelegateImpl.m.

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

Ian Clelland commented on CB-6843:
----------------------------------

I don't see where the crash report says that it was happening anywhere triggered by Cordova code -- it appears to be in response to a touch event in the WebView. There doesn't seem to be a mention of CDV* anywhere in the trace.

It could still be that we're keeping a long-lived pointer to some object, and referencing it after having been restarted is triggering a segfault. I'm just not seeing it in the attached report anywhere.

> iOS cordova app crashes on stringByEvaluatingJavaScriptFromString: in the class CDVCommandDelegateImpl.m.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6843
>                 URL: https://issues.apache.org/jira/browse/CB-6843
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS 7 
>            Reporter: Geetha
>            Priority: Critical
>         Attachments: Crash_Report.txt, Screen Shot 2014-05-31 at 3.11.09 PM.png
>
>
> The app is been developed using the Cordova version 3.2 and with iOS versions  6 and 7. 
> In the app APNS is been supported, so in order to support the APNS feature we have to sent the status to server when the app goes to the foreground . For this support we requested the OS to extend the execution time () so that app can send the status to the server. In mean time if the app rest a while in the background and comes to the foreground let say some 30 mins or one hour ,the app crashes out with exception EXC_BAD_ACCESS. 
> The crash report says that the exception is been caught in the CDVCommandDelegaetImpl class in the method  evalJsHelper2: for the API i.e stringByEvaluatingJavaScriptFromString:. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)