Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 812DD18EF6 for ; Sun, 18 Oct 2015 11:08:05 +0000 (UTC) Received: (qmail 23880 invoked by uid 500); 18 Oct 2015 11:08:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 23856 invoked by uid 500); 18 Oct 2015 11:08:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 23839 invoked by uid 99); 18 Oct 2015 11:08:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2015 11:08:05 +0000 Date: Sun, 18 Oct 2015 11:08:05 +0000 (UTC) From: "jcesarmobile (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-9755) Plugin Camera getPhoto crashes on iOS for iPad Mini 1st gen. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962287#comment-14962287 ] jcesarmobile edited comment on CB-9755 at 10/18/15 11:07 AM: ------------------------------------------------------------- this only happens on iPad Mini 1st gen? I can't reproduce it on iPad 4 or iPod touch 5 which camera plugin version are you using? was (Author: jcesarmobile): this only happens on iPad Mini 1st gen? I can't reproduce it on iPad 4 which camera plugin version are you using? > 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: iOS, Plugin Camera > 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