Snowball: Mali graphics library crash observed when setting live wallpaper named "Water"

Bug #979582 reported by Abhishek Paliwal
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
IglooCommunity
Confirmed
Low
Unassigned
Linaro Android
Fix Released
Medium
Patrik Ryd

Bug Description

Description:
==========
Changing the wallpaper from default "linaro" live wallpaper to another wallpaper named "Water"
This causes crash in Mali graphics library.

After few reboots same test works fine and I was able to change different live wallpapers.
but issue is consistently observed for initial few bootups (1st to 3rd)

Reproducible:
===========
Yes, 3/5

IMPACT:
========
Unable to set one of the available live wallpaper.

Steps:
==========

1.Create sd card image for this build: snowball-ics-gcc46-igloo-stable-blob/#build=246
2. Place sd card in snowball device and bootup.
3. Go to Settings->Display->Wallpaper->Live Wallpapers->Select "Water" -> Go to home screen
Issue: Wallpaper gets set to some other image than Water image, Logcat messages shows crash in Mali graphics library

Hardware:
==========
Snowball: V11
Other setup:
USB-serial port logging - ON
HDMI out to monitor
16 GB class 10 SDcard(Transcend)

Software:
==========
https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/#build=246

Logs:
======
Logcat messages attached.
Snippet:
------------
E/InputQueue-JNI( 3803): channel 'a087fba0 com.android.wallpaper.fall.FallWallpaper (client)' ~ Publisher closed input channel or an error occurred. events=0x8
E/SurfaceTexture( 1555): [com.android.wallpaper.fall.FallWallpaper] query: SurfaceTexture has been abandoned!
E/SurfaceTexture( 1555): [com.android.wallpaper.fall.FallWallpaper] query: SurfaceTexture has been abandoned!
F/libc ( 3803): Fatal signal 11 (SIGSEGV) at 0x0000003c (code=1)
D/RenderScript_jni( 3803): MessageThread exiting.
V/RenderScript( 3803): 0x20cf860 rsContextDestroy
V/RenderScript( 3803): 0x20cf860 Context::~Context
I/DEBUG ( 1353): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1353): Build fingerprint: 'snowball/snowball/snowball:4.0.4/IMM76D/246:eng/test-keys'
I/DEBUG ( 1353): pid: 3803, tid: 3817 >>> com.android.wallpaper <<<
I/DEBUG ( 1353): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000003c
I/DEBUG ( 1353): r0 0000f1f4 r1 00000004 r2 020e995c r3 00000001
I/DEBUG ( 1353): r4 00000000 r5 02108ee0 r6 020aa818 r7 02177dc0
I/DEBUG ( 1353): r8 020ce5b0 r9 020b8acc 10 00000000 fp 00000001
I/DEBUG ( 1353): ip fffd9758 sp 9bb8fd68 lr 9b86cc6c pc 9b86bf80 cpsr 60000010
I/DEBUG ( 1353): d0 0000000000000030 d1 00000000000000e0
I/DEBUG ( 1353): d2 00000008000003ed d3 9bede0280000009b
I/DEBUG ( 1353): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 1353): d6 0000000000000000 d7 0000000000000000
I/DEBUG ( 1353): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1353): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1353): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1353): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1353): d16 5000000000000000 d17 0000000000000000
I/DEBUG ( 1353): d18 3fed9d89cb9e0c9c d19 3f811110896efbb2
I/DEBUG ( 1353): d20 3fd83e2bef9b7ef2 d21 bfc52c1ec1f0a743
I/DEBUG ( 1353): d22 bf56b1174428ec51 d23 b53d3435e90c01d1
I/DEBUG ( 1353): d24 3ef99342e0ee5069 d25 3fa55553e1053a42
I/DEBUG ( 1353): d26 3ec6cd878c3b46a7 d27 3fa55553e1053a42
I/DEBUG ( 1353): d28 bf29f335b79396fe d29 4012d97c7f3321d2
I/DEBUG ( 1353): d30 c01921fb54442d18 d31 3fe1fa87a53b1275
I/DEBUG ( 1353): scr 20000013
I/DEBUG ( 1353):
I/DEBUG ( 1353): #00 pc 00005f80 /system/lib/egl/libEGL_mali.so (_Z17get_buffer_ump_idP19ANativeWindowBuffer)
I/DEBUG ( 1353): #01 pc 00006c68 /system/lib/egl/libEGL_mali.so (__egl_platform_resize_surface)
I/DEBUG ( 1353):
I/DEBUG ( 1353): code around pc:
I/DEBUG ( 1353): 9b86bf60 e28f0004 e5900000 eafffff8 9b87bfa0 ................
-----------

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Changed in linaro-android:
assignee: nobody → Zach Pfeffer (pfefferz)
Anmar Oueja (anmar)
Changed in igloocommunity:
importance: Undecided → Low
Revision history for this message
Kalle Vahlman (kvahlman) wrote :

FWIW, I was able to reproduce this in 2012.04 release from

  http://releases.linaro.org/12.04/android/images/snowball-ics-gcc46-igloo-stable-blob/

Anmar Oueja (anmar)
Changed in igloocommunity:
status: New → Confirmed
Revision history for this message
vathsala (vathsala-nagaraju) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Download full text (3.4 KiB)

On build
https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/#build=316
(Build date: 2012-06-04)

Crash is still observed while switching Live wallpapers for 4-5 times.

Steps:
1. Long press USB Mouse Left Button on idle screen(home screen) so that wallpaper setting menu pops up.
2. Select Live wallpapers
3. Select any Live wallpaper different form the currently set
4. Repeat Step-1 to Step-3 for 4-5 times
Logcat messages shows the graphics crash issue.

Logs Snippet:
-----------------
F/libc ( 1691): Fatal signal 11 (SIGSEGV) at 0x0000003c (code=1)
I/DEBUG ( 1382): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1382): Build fingerprint: 'snowball/snowball/snowball:4.0.3/IML74K/316:eng/test-keys'
I/DEBUG ( 1382): pid: 1691, tid: 2349 >>> com.android.magicsmoke <<<
I/DEBUG ( 1382): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000003c
I/DEBUG ( 1382): r0 ffffffe4 r1 00000004 r2 005bb2d4 r3 9b8af1c4
I/DEBUG ( 1382): r4 00000000 r5 00000000 r6 00000000 r7 005a68a8
I/DEBUG ( 1382): r8 00542a40 r9 0055d970 10 0056aa20 fp b6835dd9
I/DEBUG ( 1382): ip fffd98d0 sp 9bbc3d58 lr 9b89fd60 pc 9b89f138 cpsr 60000010
I/DEBUG ( 1382): d0 0000000000000030 d1 0000000000000070
I/DEBUG ( 1382): d2 00000008000003ee d3 9bee70280000009b
I/DEBUG ( 1382): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 1382): d6 0000000000000000 d7 0000000000000000
I/DEBUG ( 1382): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1382): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1382): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1382): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1382): d16 2800000000000000 d17 280001a300000000
I/DEBUG ( 1382): d18 0006000000000000 d19 3fd4be4fe248f039
I/DEBUG ( 1382): d20 bfc51df4d5eafad7 d21 bf29ee7a905b2848
I/DEBUG ( 1382): d22 3ec6cd878c3b46a7 d23 c00921fb54442d18
I/DEBUG ( 1382): d24 400f2b4100000000 d25 400921fb54442d18
I/DEBUG ( 1382): d26 3ff921fb54442d18 d27 3f6ec4a5ee48fe94
I/DEBUG ( 1382): d28 3fb76116b3d1f98e d29 3fa50e8593621988
I/DEBUG ( 1382): d30 3fc9f53c479ea352 d31 bfc1d23556317f1f
I/DEBUG ( 1382): scr 80000012
I/DEBUG ( 1382):
I/DEBUG ( 1382): #00 pc 00006138 /system/lib/egl/libEGL_mali.so (_Z17get_buffer_ump_idP19ANativeWindowBuffer)
I/DEBUG ( 1382): #01 pc 00006d5c /system/lib/egl/libEGL_mali.so (__egl_platform_resize_surface)
I/DEBUG ( 1382): #02 pc 0000cb7c /system/lib/egl/libEGL_mali.so (__egl_mali_resize_surface)
I/DEBUG ( 1382): #03 pc 0000d3a8 /system/lib/egl/libEGL_mali.so (__egl_mali_post_to_window_surface)
I/DEBUG ( 1382): #04 pc 0000c3e8 /system/lib/egl/libEGL_mali.so (_egl_swap_buffers)
I/DEBUG ( 1382): #05 pc 0000ac20 /system/lib/egl/libEGL_mali.so (eglSwapBuffers)
I/DEBUG ( 1382): #06 pc 0000c922 /system/lib/libEGL.so (eglSwapBuffers)
I/DEBUG ( 1382): #07 pc 0002d1e4 /system/lib/libRS.so (_Z9rsdGLSwapPKN7android12renderscript7ContextE)
I/DEBUG ( 1382): #08 pc 00022186 /system/lib/libRS...

Read more...

Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

This problem is still present in JB with the new vendor tarball.

Seen on https://android-build.linaro.org/builds/~linaro-android/snowball-jb-gcc47-igloo-stable-blob/#build=67

I have heard that the ST-Ericsson internal change 70514 solves this problem.

Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

Waiting for delivery from the Snowball team

Changed in linaro-android:
status: New → In Progress
milestone: none → 12.10
assignee: Zach Pfeffer (pfefferz) → Patrik Ryd (patrik-ryd)
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Patrik: No ETA for vendor tarball.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

5 weeks without progress after delivering the patch to the Snowball team.

Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

Got tired of waiting. Delivering it myself.

Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

Waiting for the System Integration organisation to create a vendor tarball. (Snowball does not have highest priority at the moment)

Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

SI confirmed this morning that they will create a vendor tarball based on the manifest I sent them.

Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

Vendor tarball delivered to snowball and the Linaro magic for fetching has been performed and there is now a build (https://android-build.linaro.org/builds/~linaro-android/snowball-jb-gcc47-igloo-stable-blob/#build=100) RUNNING on the server.

Changed in linaro-android:
status: In Progress → Fix Committed
Zach Pfeffer (pfefferz)
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.