You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joseph Montanez (JIRA)" <ji...@apache.org> on 2016/06/04 23:19:59 UTC

[jira] [Commented] (CB-10988) iOS app crashing after photo is taken

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

Joseph Montanez commented on CB-10988:
--------------------------------------

[~jpangburn]

Switching to PNG has resolved the crashing issue completely after extensive testing. I am guessing its an issue with the JPG code thats in the camera code.

> iOS app crashing after photo is taken
> -------------------------------------
>
>                 Key: CB-10988
>                 URL: https://issues.apache.org/jira/browse/CB-10988
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.1.0, 2.1.1
>         Environment: iOS 9.3, iPhone 6+
>            Reporter: Joseph Montanez
>              Labels: ios, mustfix, triaged
>
> After taken 20+ photos, one after another the application will crash on the Phone 6+. This happens most often when zooming into the camera, having photos with a lot of motion or low light images.
> I've tried to debug the application but the safari inspector crashed, and the XCode debugger exists, as well as the application exiting. Here is the crash report: https://gist.github.com/joseph-montanez/9d0f23948076c32b1804365eaf13aeff
> Also here is the code I am using to replicate this issue: https://github.com/joseph-montanez/cordova-camera-crash
> Here is what memory usage looks like before the application crashes: http://i.imgur.com/aQff0NF.png
> Overall it looks like a memory issue, the spikes are after taking various photos.



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