I have 2 pngs. One has transparent parts the other doesn't. Decoding a
region in the one without transparency works while decoding a region
from the one with transparency gives

I/DEBUG   (   34): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   (   34): Build fingerprint: 'generic/sdk/generic:4.0.2/
ICS_MR0/229537:eng/test-keys'
I/DEBUG   (   34): pid: 652, tid: 652  >>> headwayEnt.OfficeWork <<<
I/DEBUG   (   34): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault
addr 4118a000
I/DEBUG   (   34):  r0 4118a000  r1 001a3280  r2 0000046d  r3 00000000
I/DEBUG   (   34):  r4 00000000  r5 00000000  r6 00000000  r7 00000000
I/DEBUG   (   34):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   (   34):  ip 01010000  sp be9ad378  lr 00000018  pc
40011d40  cpsr 20000010
I/DEBUG   (   34):  d0  0000000000000000  d1  fffffff9006cb2b8
I/DEBUG   (   34):  d2  0000000600000003  d3  000000003f000000
I/DEBUG   (   34):  d4  4163e00000000000  d5  4317000000000000
I/DEBUG   (   34):  d6  3ff0000000000000  d7  3fa999999999999a
I/DEBUG   (   34):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (   34):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (   34):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (   34):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (   34):  scr 20000013
I/DEBUG   (   34):
I/DEBUG   (   34):          #00  pc 0000dd40  /system/lib/libc.so
(memcpy)
I/DEBUG   (   34):          #01  pc 000dd9e6  /system/lib/libskia.so
I/DEBUG   (   34):          #02  pc 000d86a2  /system/lib/libskia.so
(png_read_row)
I/DEBUG   (   34):          #03  pc 000d88dc  /system/lib/libskia.so
(png_read_rows)
I/DEBUG   (   34):          #04  pc 00049d6c  /system/lib/libskia.so
(_ZN17SkPNGImageDecoder14onDecodeRegionEP8SkBitmap7SkIRect)
I/DEBUG   (   34):          #05  pc 00045340  /system/lib/libskia.so
(_ZN14SkImageDecoder12decodeRegionEP8SkBitmap7SkIRectNS0_6ConfigE)
I/DEBUG   (   34):          #06  pc 0004cde4  /system/lib/libskia.so
(_ZN21SkBitmapRegionDecoder12decodeRegionEP8SkBitmap7SkIRectNS0_6ConfigEi)
I/DEBUG   (   34):          #07  pc 0006847a  /system/lib/
libandroid_runtime.so
I/DEBUG   (   34):          #08  pc 0001ec70  /system/lib/libdvm.so
(dvmPlatformInvoke)
I/DEBUG   (   34):          #09  pc 0005925a  /system/lib/libdvm.so
(_Z16dvmCallJNIMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG   (   34):          #10  pc 0004cc7c  /system/lib/libdvm.so
(_Z21dvmCheckCallJNIMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG   (   34):          #11  pc 00030ad0  /system/lib/libdvm.so
I/DEBUG   (   34):
I/DEBUG   (   34): code around pc:
I/DEBUG   (   34): 40011d20 e1a07427 e1877c08 e1a08428 e1888c09
I/DEBUG   (   34): 40011d30 e1a09429 e1899c0a e1a0a42a e18aac0b
I/DEBUG   (   34): 40011d40 e8a007f8 e1a0342b 2affffe8 ea000017
I/DEBUG   (   34): 40011d50 e491c004 e1a0400c e8b10fe0 f5d1f040
I/DEBUG   (   34): 40011d60 e2522020 2491c004 e1833404 e1a04c24
I/DEBUG   (   34):
I/DEBUG   (   34): code around lr:
I/DEBUG   (   34): 00000000 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (   34): 00000010 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (   34): 00000020 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (   34): 00000030 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (   34): 00000040 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (   34):
I/DEBUG   (   34): stack:
I/DEBUG   (   34):     be9ad338  00000008
I/DEBUG   (   34):     be9ad33c  00000008
I/DEBUG   (   34):     be9ad340  00000008
I/DEBUG   (   34):     be9ad344  00000004
I/DEBUG   (   34):     be9ad348  00000004
I/DEBUG   (   34):     be9ad34c  00000000
I/DEBUG   (   34):     be9ad350  00000000
I/DEBUG   (   34):     be9ad354  0000071f
I/DEBUG   (   34):     be9ad358  00000641
I/DEBUG   (   34):     be9ad35c  000000f5
I/DEBUG   (   34):     be9ad360  400d7920  /system/lib/libz.so
I/DEBUG   (   34):     be9ad364  00000000
I/DEBUG   (   34):     be9ad368  00222a90
I/DEBUG   (   34):     be9ad36c  00222850
I/DEBUG   (   34):     be9ad370  df0027ad
I/DEBUG   (   34):     be9ad374  00000000
I/DEBUG   (   34): #00 be9ad378  00000640
I/DEBUG   (   34):     be9ad37c  41189e70
I/DEBUG   (   34):     be9ad380  41189e70
I/DEBUG   (   34):     be9ad384  00000001
I/DEBUG   (   34):     be9ad388  406c7707  /system/lib/libskia.so
I/DEBUG   (   34):     be9ad38c  001de830
I/DEBUG   (   34):     be9ad390  000000ff
I/DEBUG   (   34):     be9ad394  41189e70
I/DEBUG   (   34):     be9ad398  001de6f8
I/DEBUG   (   34):     be9ad39c  406959e9  /system/lib/libskia.so
I/DEBUG   (   34): #01 be9ad3a0  00000001
I/DEBUG   (   34):     be9ad3a4  00000000
I/DEBUG   (   34):     be9ad3a8  00000000
I/DEBUG   (   34):     be9ad3ac  41189e70
I/DEBUG   (   34):     be9ad3b0  406c7733  /system/lib/libskia.so
I/DEBUG   (   34):     be9ad3b4  001de6f8
I/DEBUG   (   34):     be9ad3b8  00000000
I/DEBUG   (   34):     be9ad3bc  41189e70
I/DEBUG   (   34):     be9ad3c0  406c7733  /system/lib/libskia.so
I/DEBUG   (   34):     be9ad3c4  406c7733  /system/lib/libskia.so
I/DEBUG   (   34):     be9ad3c8  406c7707  /system/lib/libskia.so
I/DEBUG   (   34):     be9ad3cc  001de830
I/DEBUG   (   34):     be9ad3d0  001de8d8
I/DEBUG   (   34):     be9ad3d4  406906a7  /system/lib/libskia.so
D/FlurryAgent(  652): Report successful
D/FlurryAgent(  652): Processing report response
D/FlurryAgent(  652): Done sending agent report
D/Zygote  (   37): Process 652 terminated by signal (11)
I/WindowManager(   85): WIN DEATH: Window{4188cb98
headwayEnt.OfficeWork/headwayEnt.OfficeWork.MainActivity paused=false}
W/WindowManager(   85): Force-removing child win Window{41325210
SurfaceView paused=false} from container Window{4188cb98
headwayEnt.OfficeWork/headwayEnt.OfficeWork.MainActivity paused=false}
I/ActivityManager(   85): Process headwayEnt.OfficeWork (pid 652) has
died.
W/ActivityManager(   85): Force removing ActivityRecord{4106a980
headwayEnt.OfficeWork/.MainActivity}: app died, no saved state
W/NetworkManagementSocketTagger(   85): setKernelCountSet(10040, 0)
failed with errno -2

after which the process dies.

Any ideas? I really need the transparency in that picture.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to