SunSpider JavaScript Benchmark crashes on Android 4.4

Bug #1254823 reported by Tixy (Jon Medhurst)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
High
Yongqin Liu

Bug Description

When running 0xbench on vexpress the SunSpider test (in the 'Misc' section) causes 0xBench to crash, see the attached 'logcat' file. I beleive the first relevent error line is...

W/WebView ( 6022): java.lang.Throwable: A WebView method was called on thread 'Thread-105'. All WebView methods must be called on the same thread. (Expected Looper Looper{41c5c1f8} called on null, FYI main Looper is Looper{41c5c1f8})

Observed when testing the 13.11 'release' candidate build: https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.11-release/#build=2

Tags: 0xbench
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :
Revision history for this message
Yongqin Liu (liuyq0307) wrote :

This problem should be the same as the bug reopened here:
https://bugs.launchpad.net/linaro-android/+bug/1086599

But I do not see the following info in the attached logcat here:
I/chromium( 2420): [INFO:CONSOLE(107)] "Uncaught TypeError: Object [object Object] has no method 'finish'", source: file:///android_asset

Could you help to check again if it has the same error info in the logcat?

Revision history for this message
Soumya Basak (soumya-basak) wrote :

Hi,
this issue reproduced with Linaro Android 4.4 builds 13.11 release candidate for all the boards.

https://android-build.linaro.org/builds/~linaro-android-member-ti/panda-linaro-13.11-release/#build=2

https://android-build.linaro.org/builds/~linaro-android/arndale-linaro-13.11-release/#build=2

https://android-build.linaro.org/builds/~linaro-android/galaxynexus-linaro-13.11-release/#build=1

1. Panda 4460
2. Panda 4430
3. Samsung Arndale
4. Galaxy Nexus.

logcat attached for reference.

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote : Re: [Bug 1254823] Re: SunSpider JavaScript Benchmark crashes on Android 4.4

On Tue, 2013-11-26 at 06:37 +0000, Yongqin Liu wrote:
> This problem should be the same as the bug reopened here:
> https://bugs.launchpad.net/linaro-android/+bug/1086599

The fix for that bug is already present in the 13.11 release candidates
we are testing as commit 1d6ffa771d864 (SunSpider JS test: Fix error for
running SunSpider JS test).

So whilst the problem we see on Android 4.4 may be related, it's not
identical.

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

If we build the apk via Eclipse with the same source, it works.
Need to check what's the difference between compiling via Eclipse and compiling via Android build system under the source root directory.

For me, both the javac version used are 1.6

Attach the a simple example, if you are interested, you can try attached TestWebView.tgz

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

This problem will be fixed by this change:
http://review.android.git.linaro.org/#/c/10351/3

Changed in linaro-android:
status: New → In Progress
assignee: nobody → Yongqin Liu (liuyq0307)
importance: Undecided → High
milestone: none → 13.12
Yongqin Liu (liuyq0307)
Changed in linaro-android:
status: In Progress → Fix Committed
Revision history for this message
Botao (botao-sun) wrote :

On ARM Versatile Express A9 Board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.12-release/#build=1

The "SunSpider" benchmark now can be run until to the end, please refer to attachment to get screen snapshot.

@Soumya, if this test also works well on other images you're testing, then this bug can be marked as "Fix Released".

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

This benchmark now also works OK on TC2 with same linux-linaro release as mentioned in comment #7. And I just checked this specific benchmark on the LSK release [1] with TC2 and that is fine too.

[2] https://android-build.linaro.org/builds/~linaro-android/vexpress-lsk-13.12-release/#build=1

Revision history for this message
Soumya Basak (soumya-basak) wrote :

For Arndale, TI-Panda and nexus builds, this issue is fixed now since 13.12 Release builds.

https://android-build.linaro.org/builds/~linaro-android/galaxynexus-linaro-13.12-release/#build=1

Changed in linaro-android:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.