cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Trott (JIRA)" <>
Subject [jira] [Commented] (CB-5132) Certain Types Of Async Activity + ClickBusting + Cordova + Android Galaxy S4 = unexpected exit
Date Tue, 22 Oct 2013 02:43:42 GMT


Rich Trott commented on CB-5132:

First and foremost, thanks for doing the legwork on this!

So, when you test with stock WebView without Cordova, it still crashes/exits? And therefore
it's almost certainly a Samsung bug? And I should probably report it to Samsung?

Just want to make absolutely sure I understand what's being said and the implications before
I act on it...

> Certain Types Of Async Activity + ClickBusting + Cordova + Android Galaxy S4 = unexpected
> ----------------------------------------------------------------------------------------------
>                 Key: CB-5132
>                 URL:
>             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
>            Reporter: Rich Trott
>            Assignee: Joe Bowser
>         Attachments: s4-angular-cordova-bug.tgz
> I created a repo with more-or-less minimal code to demonstrate the issue:
> 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
> 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
> This shows up in the Android logs, at least when using
>     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 (
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

View raw message