You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2016/08/25 14:46:20 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=15437017#comment-15437017 ] 

Sergey Grebnov commented on CB-10988:
-------------------------------------

[~sutabi]
I've tested the app (https://github.com/joseph-montanez/cordova-camera-crash) on iPhone 4S with IOS 8.3 and on iPad4 with IOS 9.3. and see the crash as well, but it could be different as JPG->PNG workaround does not help in my case. Could you please see below to confirm you have similar error or post your logs from XCode Console with ‘Enable Zombie Objects' option on.

In my case I have EXC_BAD_ACCESS related to PLImagePickerCameraView and didHideZoomSlider method call:

{code}
[PLImagePickerCameraView didHideZoomSlider:]: message sent to deallocated instance 0x176f6400
{code}

I see there are a lot of similar problems related to didHideZoomSlider reported, for example
http://stackoverflow.com/questions/26844432/how-to-find-out-what-causes-a-didhidezoomslider-error-on-ios-8
http://www.mm1886.com/0511/ios-8-uiimagepickercontroller-crashing-on-zoom/

And it looks like an Apple bug, I've tried using known workarounds, but unfortunately none of them helped so there is a chance this is a platform bug we can do nothing.



> 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
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Plugin Camera
>    Affects Versions: 2.1.0, 2.1.1
>         Environment: iOS 9.3, iPhone 6+
>            Reporter: Joseph Montanez
>            Assignee: Sergey Grebnov
>              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