Gallery app crashes on start on ARM Versatile Express - Android KitKat

Bug #1218236 reported by Tixy (Jon Medhurst)
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

Starting the Gallery app gives a dialog box saying "Unfortunately, Gallery has stopped".

Observed in build https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=70

Logcat shows "FATAL EXCEPTION: GLThread 76" , see attached log file 'bootlog-and-logcat'

##########################################
This issue is observed on following images:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=74
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=85
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.09-release/#build=6
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=127
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.10-release/#build=2
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.11-release/#build=2
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.12-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.01-release/#build=6
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=247
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.02-release/#build=11
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=271
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.03-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=297
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.04-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=331
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.05-release/#build=2
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=356
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.06-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=386
##########################################
https://android-build.linaro.org/builds/~linaro-android/vexpress-lsk/#build=52
https://android-build.linaro.org/builds/~linaro-android/vexpress-lsk-13.10-release/#build=2
https://android-build.linaro.org/builds/~linaro-android/vexpress-lsk/#build=85
https://android-build.linaro.org/builds/~linaro-android/vexpress-lsk-13.11-release/#build=1

Tags: gallery-app
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Changed in linaro-android:
status: New → Confirmed
tags: added: gallery-app
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

Looks like the Gallery app now wants GLES2.0, and the software graphics rendering in Linaro Android only supports GLES1.1 (there is a card to add support for 2.0 https://cards.linaro.org/browse/CARD-746).

However, if I hack the Gallery app as below to not require 2.0 then it starts and works as well as it did in Android 4.2.

diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/a
index dde4c56..3bc2e00 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -180,8 +180,7 @@ public class ApiHelper {
     public static final boolean HAS_OBJECT_ANIMATION =
             Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;

- public static final boolean HAS_GLES20_REQUIRED =
- Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
+ public static final boolean HAS_GLES20_REQUIRED = false;

     public static final boolean HAS_ROTATION_ANIMATION =
             hasField(WindowManager.LayoutParams.class, "rotationAnimation");

Botao (botao-sun)
description: updated
description: updated
Botao (botao-sun)
description: updated
description: updated
description: updated
Botao (botao-sun)
summary: - Gallery app crashes on start on vexpress Android 4.3
+ Gallery app crashes on start on vexpress Android 4.3 & 4.4
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
summary: - Gallery app crashes on start on vexpress Android 4.3 & 4.4
+ Gallery app crashes on start on ARM Versatile Express - Android KitKat
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Botao (botao-sun)
description: updated
Revision history for this message
Ryan Harkin (ryanharkin) wrote :
Changed in linaro-android:
status: Confirmed → Won't Fix
Botao (botao-sun)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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