cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5132) Certain Types Of Async Activity + ClickBusting + Cordova + Android Galaxy S4 = unexpected exit
Date Mon, 21 Oct 2013 15:31:45 GMT

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

Andrew Grieve commented on CB-5132:
-----------------------------------

Mentioned on the ML to see if pushState / replaceState were the culprits.

Another thing to check is if CordovaWebViewClient.onReceivedError() is being called. The default
behaviour for that is to close the app.

> Certain Types Of Async Activity + ClickBusting + Cordova + Android Galaxy S4 = unexpected
exit
> ----------------------------------------------------------------------------------------------
>
>                 Key: CB-5132
>                 URL: https://issues.apache.org/jira/browse/CB-5132
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.1.0
>         Environment: Galaxy S4 running Android 4.2.2. I've been unable to replicate the
bug on emulators. The bug only shows up on actual devices. Fortunately, Samsung makes them
available via http://developer.samsung.com/remotetestlab
>            Reporter: Rich Trott
>         Attachments: s4-angular-cordova-bug.tgz
>
>
> I created a repo with more-or-less minimal code to demonstrate the issue:
> https://github.com/Trott/s4-angular-phonegap-crash
> I've also attached it as a gzipped tar file to this ticket.
> The app exits (in a "oh, hey, I crashed, I'm outta here!" kind of way) when run on a
Galaxy S4 running Android 4.2.2. It runs fine on every other device I've tested it on. For
example, there is no problem on a Galaxy Note II running Android 4.1.2. 
> The www directory stuff also works fine in browsers, including browsers on the S4/Android
4.2.2 device.
> So the bug only seems to happen when this code is:
> * Run as a Cordova app
> * On a Galaxy S4 running Android 4.2.2
> Steps to duplicate the behavior (which are also listed in the repo's README) are:
> 1. Clone the 
> 2. Create the Android executable using Cordova. With `cordova` command line tool and
Android SDK installed: 
>   - `cordova platform add android`
>   - `cordova build`
> 3. Take the resulting APK and install it on a Galaxy S4 running Android 4.2.2. If you
don't own one, you can test with one for free at http://developer.samsung.com/remotetestlab.
> 4. Launch the app.
> 5. Touch the text on the app's main screen.
> 6. Wait a few seconds and the app will exit.
> On everything else I've tested, it loads the color list content, which is the expected
behavior.
> This shows up in the Android logs, at least when using http://developer.samsung.com/remotetestlab:
>     ERROR|10-19 03:39:49.448|6938|6938||CallbackProxy|UPDATE_URL
>     ASSERT|10-19 03:39:49.493|6938|6953||libc|Fatal signal 11 (SIGSEGV) at 0x00000000
(code=1), thread 6953 (WebViewCoreThre)
> I put this information in a question on StackOverflow (http://stackoverflow.com/q/19459111/436641).
It has attracted some helpful comments from one individual, but so far that's it.
> In addition to Cordova 3.1.0, I also tried it with cordova-3.2.0-dev.jar compiled from
[the cordova-android repo][3] at commit 28c41294bba746c75beae0ab26a42c8412cc665a (most recent
commit to master as of October 20, 2013, which is today). No change in behavior--the app still
exits unexpectedly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message