You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Omar Mefire (JIRA)" <ji...@apache.org> on 2016/02/22 21:54:18 UTC

[jira] [Resolved] (CB-9755) Plugin Camera getPhoto crashes on iOS for iPad Mini 1st gen.

     [ https://issues.apache.org/jira/browse/CB-9755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Omar Mefire resolved CB-9755.
-----------------------------
    Resolution: Cannot Reproduce

> Plugin Camera getPhoto crashes on iOS for iPad Mini 1st gen.
> ------------------------------------------------------------
>
>                 Key: CB-9755
>                 URL: https://issues.apache.org/jira/browse/CB-9755
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 3.5.0
>         Environment: iOS 9, iPad Mini 1st Gen, Cordova, cordova-plugin-camera
>            Reporter: Gabriel Reiser
>              Labels: ios
>
> Ever since iOS 9 was released we have had this bug when calling `navigator.camera.getPhoto` the underlying iOS code called CDVCamera.takePhoto is called, however, upon taking a photo, returning it, opening a keyboard tray from a text field, and trying to capture a photo again, our app was crashing with a 0x0BBADBEEF ACCESS VIOLATION.
> I tested out removing the code that makes it run in a background thread and it seemed to fixed the issue.  Seems this issue was introduced back in April from the commit logs.  Replacing calls from self to weakSelf and running things in background threads without fully testing that they don't thread lock and cause access violations.
> We have an internal fork for this fix which has plagued us since iOS 9's release where we remove the code that makes it run in a background context but I'm curious as to what changed in iOS 9 to make it crash like this on iPad Mini.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org