Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 772FCD9D7 for ; Sat, 4 Aug 2012 23:09:03 +0000 (UTC) Received: (qmail 83228 invoked by uid 500); 4 Aug 2012 23:09:02 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 83166 invoked by uid 500); 4 Aug 2012 23:09:02 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 83112 invoked by uid 99); 4 Aug 2012 23:09:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Aug 2012 23:09:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id B8661142823 for ; Sat, 4 Aug 2012 23:09:02 +0000 (UTC) Date: Sat, 4 Aug 2012 23:09:02 +0000 (UTC) From: "Neale Genereux (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <277383980.13872.1344121742757.JavaMail.jiratomcat@issues-vm> In-Reply-To: <766531074.13855.1344121263743.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Comment Edited] (CB-1195) Applications will crash on EXC_BAD_ACCESS if user taps top status bar while contents of a -webkit-overflow-scrolling: touch element are modified 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-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428699#comment-13428699 ] Neale Genereux edited comment on CB-1195 at 8/4/12 11:07 PM: ------------------------------------------------------------- Sample project which makes it easy to reproduce the issue. Built with 1.6.1 was (Author: ngenereux): Sample project which makes it easy to reproduce the issue > Applications will crash on EXC_BAD_ACCESS if user taps top status bar while contents of a -webkit-overflow-scrolling: touch element are modified > ------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: CB-1195 > URL: https://issues.apache.org/jira/browse/CB-1195 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 1.6.1 > Environment: iPod Touch iOS 5.1 Hardware, iPhone 4 iOS 5.0.1 Hardware. No luck reproducing with simulator > Reporter: Neale Genereux > Assignee: Shazron Abdullah > Priority: Critical > Attachments: cordovacrash.zip > > > Hello devs, > I have found an issue where a Cordova application will crash if the user taps the clock or battery portion of the status bar while the contents of an HTML element with -webkit-overflow-scrolling: touch are removed and rebuilt. I will attach a sample project (built with Cordova 1.6.1) which makes it easy to repro the issue. Here are the repro steps: > - Build and launch the attached project on a device > - Click the "Regenerate" link > - Immediately start rapidly clicking on the clock in the top status bar > - Repeat until crash > In my tests the crash consistently happens on the first or second try. Note that the JavaScript in the sample project is intentionally inefficient, in an attempt to simulate a much more complicated DOM being created and destroyed. > Enabling Zombies yields the following error: > 2012-08-04 15:59:32.837 cordovacrash[24214:707] *** -[UIWebOverflowScrollView _viewDelegate]: message sent to deallocated instance 0x605ef80 > Googling for that error revealed two threads on StackOverflow with similar issues, but this seems to be the first concrete method reproducing the issue. I created another test project which took the same javascript and placed it in a UIWebKitView without Cordova, and I could not get the application to crash. this leads me to believe that something in the Cordova framework is to blame. While my test is on an older Cordova version (1.6.1), the threads on StackOverflow mentioned builds as new as 1.9.0 > See: > http://stackoverflow.com/questions/11382476/phonegap-ios-exception-uiweboverflowscrollview-viewdelegate-message-sent-t > http://stackoverflow.com/questions/10378946/uiweboverflowscrollview-exception-in-phonegap-application > Thanks! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira