cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reiser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9755) Plugin Camera getPhoto crashes on iOS for iPad Mini 1st gen.
Date Tue, 06 Oct 2015 21:31:26 GMT
Gabriel Reiser created CB-9755:
----------------------------------

             Summary: 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 Battery Status, Plugin Camera, Plugin Contacts, Plugin Device
Orientation, Plugin Dialogs, Plugin File, Plugin Geolocation, Plugin Globalization, Plugin
InAppBrowser, Plugin Media, Plugin Media Capture
    Affects Versions: 3.5.0
         Environment: iOS 9, iPad Mini 1st Gen, Cordova, cordova-plugin-camera
            Reporter: Gabriel Reiser


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


Mime
View raw message