-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
libimagepipeline.so crashes #1882
Comments
Thanks @zxz1990 for the issue. Can you provide us with the device details? From a first look this looks like it might be an issue with ashmem. |
@lambdapioneer [ro.build.date]: [Mon Aug 24 16:52:24 CST 2015] [ro.rksdk.version]: [RK30_ANDROID$(PLATFORM_VERSION)-SDK-v1.00.00 ] |
This mostly only has information about the |
@lambdapioneer |
Hm, there's not much chance that I'll be able to reproduce this. Maybe when you can give me the unobfuscated stack trace, I might be able to point in some general direction. Otherwise, it would be on you to debug on the device (most likely the easiest is using logging calls in the C++ code). You can try to change the code in CC @kirwan |
This is an ashmem issue. We have evaded this crash by resizing the image to a small size with assembled url. Thanks for your assistance. @lambdapioneer |
Great to see that you've resolved the issue. |
Description
We are developing a TV app for playing videos. In the video playing activity, some pictures are shown on the screen. For some videos, crash happens when the pictures are shown. This happens only in one device. So we do not know this is whether fresco's bug or OS's bug. Could some one analyse the log?
This is the java stack trace:
Crash thread java stack trace:
at com.facebook.imagepipeline.nativecode.Bitmaps.nativeCopyBitmap(Native Method)
at com.facebook.imagepipeline.nativecode.Bitmaps.copyBitmap(EDU:74)
at com.facebook.imagepipeline.request.a.b(EDU:121)
at com.facebook.imagepipeline.request.a.a(EDU:88)
at com.facebook.imagepipeline.request.a.process(EDU:65)
at com.facebook.imagepipeline.producers.ag$a.b(EDU:252)
at com.facebook.imagepipeline.producers.ag$a.c(EDU:220)
at com.facebook.imagepipeline.producers.ag$a.a(EDU:78)
at com.facebook.imagepipeline.producers.ag$a$2.run(EDU:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.facebook.imagepipeline.core.h$1.run(EDU:43)
at java.lang.Thread.run(Thread.java:841)
This is the native stack trace:
backtrace:
#00 pc 000221ba /system/lib/libc.so (__memcpy_base_aligned+61)
#1 pc 00024f39 /data/app-lib/com.cibn.tv.edu-2/libimagepipeline.so
#2 pc 0001f0e4 /system/lib/libvmkid_lemur.so
#3 pc 00085350 /system/lib/libvmkid_lemur.so (vInvokeNativeFast+296)
#4 pc 00028050 /system/lib/libvmkid_lemur.so
#5 pc 0008203c /system/lib/libvmkid_lemur.so (vInterpret+148)
#6 pc 0008c8a0 /system/lib/libvmkid_lemur.so (vCallMethod+832)
#7 pc 000bd1ec /system/lib/libvmkid_lemur.so
#8 pc 0000d228 /system/lib/libc.so (__thread_entry+72)
#9 pc 0000d3c0 /system/lib/libc.so (pthread_create+240)
This is the attached log.
fresco_crash.txt
Reproduction
[FILL THIS OUT: How can we reproduce the bug? Provide URLs to relevant images if possible, or a sample project.]
Solution
[OPTIONAL: Do you know what needs to be done to address this issue? Ideally, provide a pull request which fixes this issue.]
Additional Information
[ro.build.version.sdk]: [19]
The text was updated successfully, but these errors were encountered: