-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory access exception #6
Comments
Fixed, thanks for the report. |
Closed
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I attach the GifDrawable to a ImageView,but I found that while the imageview destroy,application abnormal exit.
logs are here:
10-16 09:32:15.224: D/dalvikvm(364): GC_EXTERNAL_ALLOC freed 331 objects / 12744 bytes in 107ms
10-16 09:32:15.224: D/GifDrawable(364): recycle
10-16 09:32:15.343: I/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-16 09:32:15.343: I/DEBUG(31): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys'
10-16 09:32:15.343: I/DEBUG(31): pid: 364, tid: 365 >>> cn.cnzhujie.microfunny <<<
10-16 09:32:15.354: I/DEBUG(31): signal 11 (SIGSEGV), fault addr deadbaad
10-16 09:32:15.354: I/DEBUG(31): r0 00000000 r1 0000000c r2 00000027 r3 00000000
10-16 09:32:15.354: I/DEBUG(31): r4 00000000 r5 deadbaad r6 00001728 r7 00000000
10-16 09:32:15.354: I/DEBUG(31): r8 100ffca8 r9 4203af78 10 4203af60 fp 00127320
10-16 09:32:15.354: I/DEBUG(31): ip ffffffff sp 100ffc10 lr afd154c5 pc afd11dc4 cpsr 40000030
10-16 09:32:15.504: I/DEBUG(31): #00 pc 00011dc4 /system/lib/libc.so
10-16 09:32:15.504: I/DEBUG(31): #01 pc 0000be1c /system/lib/libc.so
10-16 09:32:15.504: I/DEBUG(31): code around pc:
10-16 09:32:15.504: I/DEBUG(31): afd11da4 1c2bd00b 2d00682d e026d1fb 2b0068db
10-16 09:32:15.504: I/DEBUG(31): afd11db4 4e17d003 51a02001 4d164798 24002227
10-16 09:32:15.514: I/DEBUG(31): afd11dc4 f7fb702a 2106ee14 ef10f7fc 05592380
10-16 09:32:15.514: I/DEBUG(31): afd11dd4 6091aa01 1c116054 94012006 eab6f7fc
10-16 09:32:15.514: I/DEBUG(31): afd11de4 2200a905 f7fc2002 f7fbeac2 2106ee00
10-16 09:32:15.514: I/DEBUG(31): code around lr:
10-16 09:32:15.514: I/DEBUG(31): afd154a4 b0834a0d 589c447b 26009001 686768a5
10-16 09:32:15.514: I/DEBUG(31): afd154b4 220ce008 2b005eab 1c28d003 47889901
10-16 09:32:15.514: I/DEBUG(31): afd154c4 35544306 d5f43f01 2c006824 b003d1ee
10-16 09:32:15.514: I/DEBUG(31): afd154d4 bdf01c30 0002ae7c 000000d4 1c0fb5f0
10-16 09:32:15.526: I/DEBUG(31): afd154e4 43551c3d a904b087 1c16ac01 604d9004
10-16 09:32:15.526: I/DEBUG(31): stack:
10-16 09:32:15.526: I/DEBUG(31): 100ffbd0 00000015
10-16 09:32:15.526: I/DEBUG(31): 100ffbd4 afd1453b /system/lib/libc.so
10-16 09:32:15.526: I/DEBUG(31): 100ffbd8 afd405a0 /system/lib/libc.so
10-16 09:32:15.526: I/DEBUG(31): 100ffbdc afd4054c /system/lib/libc.so
10-16 09:32:15.534: I/DEBUG(31): 100ffbe0 00000000
10-16 09:32:15.534: I/DEBUG(31): 100ffbe4 afd154c5 /system/lib/libc.so
10-16 09:32:15.534: I/DEBUG(31): 100ffbe8 00000000
10-16 09:32:15.534: I/DEBUG(31): 100ffbec afd1450d /system/lib/libc.so
10-16 09:32:15.534: I/DEBUG(31): 100ffbf0 00000003
10-16 09:32:15.534: I/DEBUG(31): 100ffbf4 afd40328 /system/lib/libc.so
10-16 09:32:15.534: I/DEBUG(31): 100ffbf8 00000000
10-16 09:32:15.544: I/DEBUG(31): 100ffbfc 00001728
10-16 09:32:15.544: I/DEBUG(31): 100ffc00 00000000
10-16 09:32:15.544: I/DEBUG(31): 100ffc04 afd147ab /system/lib/libc.so
10-16 09:32:15.544: I/DEBUG(31): 100ffc08 df002777
10-16 09:32:15.544: I/DEBUG(31): 100ffc0c e3a070ad
10-16 09:32:15.544: I/DEBUG(31): #00 100ffc10 43a77277 /data/dalvik-cache/data@app@[email protected]
10-16 09:32:15.544: I/DEBUG(31): 100ffc14 afd15e19 /system/lib/libc.so
10-16 09:32:15.544: I/DEBUG(31): 100ffc18 afd418dc /system/lib/libc.so
10-16 09:32:15.544: I/DEBUG(31): 100ffc1c afd10510 /system/lib/libc.so
10-16 09:32:15.544: I/DEBUG(31): 100ffc20 afd40328 /system/lib/libc.so
10-16 09:32:15.544: I/DEBUG(31): 100ffc24 fffffbdf
10-16 09:32:15.544: I/DEBUG(31): 100ffc28 afd40328 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): 100ffc2c afd41724 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): 100ffc30 0000a000 [heap]
10-16 09:32:15.553: I/DEBUG(31): 100ffc34 afd0be21 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): #01 100ffc38 afd40328 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): 100ffc3c afd0be21 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): 100ffc40 4203af60
10-16 09:32:15.553: I/DEBUG(31): 100ffc44 afd41724 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): 100ffc48 00000000
10-16 09:32:15.553: I/DEBUG(31): 100ffc4c afd41724 /system/lib/libc.so
10-16 09:32:15.553: I/DEBUG(31): 100ffc50 00000000
10-16 09:32:15.553: I/DEBUG(31): 100ffc54 afd41850 /system/lib/libc.so
10-16 09:32:15.564: I/DEBUG(31): 100ffc58 000013fc
10-16 09:32:15.564: I/DEBUG(31): 100ffc5c afd41864 /system/lib/libc.so
10-16 09:32:15.564: I/DEBUG(31): 100ffc60 100ffca8
10-16 09:32:15.564: I/DEBUG(31): 100ffc64 0027dcd0 [heap]
10-16 09:32:15.564: I/DEBUG(31): 100ffc68 00275ce0 [heap]
10-16 09:32:15.564: I/DEBUG(31): 100ffc6c 0027eab8 [heap]
10-16 09:32:15.564: I/DEBUG(31): 100ffc70 00000000
10-16 09:32:15.564: I/DEBUG(31): 100ffc74 afd0cd81 /system/lib/libc.so
10-16 09:32:15.564: I/DEBUG(31): 100ffc78 0027dcd0 [heap]
10-16 09:32:15.564: I/DEBUG(31): 100ffc7c 80a017b5 /data/data/cn.cnzhujie.microfunny/lib/libgif.so
10-16 09:32:16.514: D/Zygote(33): Process 364 terminated by signal (11)
10-16 09:32:16.514: I/WindowManager(59): WIN DEATH: Window{46163168 cn.cnzhujie.microfunny/cn.cnzhujie.microfunny.activity.MainActivity paused=false}
10-16 09:32:16.524: I/ActivityManager(59): Process cn.cnzhujie.microfunny (pid 364) has died.
10-16 09:32:16.614: I/BootReceiver(59): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
10-16 09:32:16.614: I/UsageStats(59): Unexpected resume of com.android.launcher while already resumed in cn.cnzhujie.microfunny
I find this error is cause by gif.c line 116(in function cleanUp)
free(&GifFile->Error);
I hava attache my project here:
https://github.com/cnzhujie/test
The text was updated successfully, but these errors were encountered: