There is crash when taking photo from camera with optimized memcpy for Linaro-Android kitkat Nexus build

Bug #1186187 reported by Alexunder Hsu on 2013-05-31
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Medium
Bernhard Rosenkraenzer

Bug Description

E/AndroidRuntime( 1975): FATAL EXCEPTION: main
 E/AndroidRuntime( 1975): java.lang.IllegalArgumentException: eglChooseConfig failed EGL_NOT_INITIALIZED
 E/AndroidRuntime( 1975): at android.view.HardwareRenderer$GlRenderer.chooseEglConfig(HardwareRenderer.java:895)
 E/AndroidRuntime( 1975): at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:847)
 E/AndroidRuntime( 1975): at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:788)
 E/AndroidRuntime( 1975): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1502)
 E/AndroidRuntime( 1975): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
 E/AndroidRuntime( 1975): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
 E/AndroidRuntime( 1975): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
 E/AndroidRuntime( 1975): at android.view.Choreographer.doCallbacks(Choreographer.java:562)
 E/AndroidRuntime( 1975): at android.view.Choreographer.doFrame(Choreographer.java:532)
 E/AndroidRuntime( 1975): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
 E/AndroidRuntime( 1975): at android.os.Handler.handleCallback(Handler.java:725)
 E/AndroidRuntime( 1975): at android.os.Handler.dispatchMessage(Handler.java:92)
 E/AndroidRuntime( 1975): at android.os.Looper.loop(Looper.java:137)
 E/AndroidRuntime( 1975): at android.app.ActivityThread.main(ActivityThread.java:5041)
 E/AndroidRuntime( 1975): at java.lang.reflect.Method.invokeNative(Native Method)
 E/AndroidRuntime( 1975): at java.lang.reflect.Method.invoke(Method.java:511)
 E/AndroidRuntime( 1975): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
 E/AndroidRuntime( 1975): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
 E/AndroidRuntime( 1975): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 391): Force finishing activity com.android.gallery3d/.app.Gallery

Someone said that there is no gaphic driver.

The issue reproduced with Linaro Android Jellybean Galaxy_Nexus builds:

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

##########################################################################################
The issue observed with Linaro Android 4.4 builds:

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

reproduced the issue with Linaro Android 4.4.2 Galaxy_nexus builds:

https://android-build.linaro.org/builds/~linaro-android/galaxynexus-linaro-14.01-release/#build=2

https://android-build.linaro.org/builds/~linaro-android/galaxynexus-linaro/#build=597

https://android-build.linaro.org/builds/~linaro-android/galaxynexus-linaro-14.02-release/#build=11

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

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

vishal (vishalbhoj) on 2013-06-10
Changed in linaro-android:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Bernhard Rosenkraenzer (berolinux)
summary: - There is crash when taking photo from camera
+ There is crash when taking photo from camera with gcc 4.8 Nexus build

This is caused by the faster memcpy() implementation in bionic.

This is extremely likely to be some timing issue (there's nothing wrong with the new memcpy() according to all tests).
Given the problem is unique to Galaxy Nexus, chances are the problem is somewhere in its camera driver.

Changed in linaro-android:
status: Confirmed → Triaged
vishal (vishalbhoj) on 2013-06-10
summary: - There is crash when taking photo from camera with gcc 4.8 Nexus build
+ There is crash when taking photo from camera with optimized memcpy for
+ Nexus build
description: updated
description: updated
description: updated
description: updated
summary: There is crash when taking photo from camera with optimized memcpy for
- Nexus build
+ Linaro-Android kitkat Nexus build
description: updated
tags: added: camera-record galaxy-nexus linaro-android-kitkat qa-services
description: updated
description: updated
description: updated
Changed in linaro-android:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers