You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/01/24 17:21:55 UTC

[jira] [Commented] (CB-5888) objc_msgSend causes EXC_BAD_ACCESS with plugins

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

Shazron Abdullah commented on CB-5888:
--------------------------------------

Can you provide the full console log? We haven't been encountering this in our tests.
Are you using the CLI as well to generate your project and add plugins?

One thing you can try, to isolate the problem -- create a new project, and add the plugins again, run the project again.

> objc_msgSend causes EXC_BAD_ACCESS with plugins
> -----------------------------------------------
>
>                 Key: CB-5888
>                 URL: https://issues.apache.org/jira/browse/CB-5888
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.3.0
>         Environment: Mac OS X latest, iOS7.1
>            Reporter: Patrick Heneise
>              Labels: core
>
> With the plugins I tried so far (Geolocation, PushPlugin) there's an error in CDVCommandQueue line 162:
>         objc_msgSend(obj, normalSelector, command);
> Causes a EXC_BAD_ACCESS when calling the plugin command (getLocation, register etc...).
> Works fine with the uncommented line:
>         [obj performSelector:normalSelector withObject:command];
> But there's a warning about an unknown selector.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)