Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBEE7D0D4 for ; Wed, 14 Nov 2012 21:14:14 +0000 (UTC) Received: (qmail 56254 invoked by uid 500); 14 Nov 2012 21:14:14 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 56223 invoked by uid 500); 14 Nov 2012 21:14:14 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 56140 invoked by uid 500); 14 Nov 2012 21:14:14 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 56111 invoked by uid 99); 14 Nov 2012 21:14:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 21:14:14 +0000 Date: Wed, 14 Nov 2012 21:14:14 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <430091564.115904.1352927654423.JavaMail.jiratomcat@arcas> In-Reply-To: <647820802.54913.1347158887501.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CB-1404) EXC_BAD_ACCESS when using XHR_WITH_PAYLOAD bridge mode 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-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497458#comment-13497458 ] Andrew Grieve commented on CB-1404: ----------------------------------- Great, I've cloned it and will have a look at it tomorrow. > EXC_BAD_ACCESS when using XHR_WITH_PAYLOAD bridge mode > ------------------------------------------------------- > > Key: CB-1404 > URL: https://issues.apache.org/jira/browse/CB-1404 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.1.0 > Environment: iPad 2, iOS 5.1.1 > Reporter: Tom Clarkson > Assignee: Andrew Grieve > Fix For: 2.2.0 > > > When calling a plugin the app crashes on WebThread with EXC_BAD_ACCESS in WebCore::DocumentThreadableLoader::cancel. > This appears to be some sort of timing issue, as it does not happen on every call - I am seeing it in an autosave function which makes lots of calls to PGSQLitePlugin. > The error did not appear before upgrading to 2.1, and setting the bridge mode to IFRAME_NAV restores the previous behaviour (no crashes, but odd scrolling functionality). > Setting the bridge mode to XHR_NO_PAYLOAD also seems to fix it - not sure if removing the payload actually does anything different or just makes it fast enough that the timing condition does not come up in normal app usage. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira