You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by 许有红 <em...@gmail.com> on 2017/11/16 02:44:39 UTC

iOS SDWebImage@4.1.2 GIF images won't move

hello dev:

     I find a crash on SDWebImage@3.7.5:


libobjc.A.dylib objc_msgSend + 28
1 DaRenShop -[SDWebImageCombinedOperation cancel] + 196
2 DaRenShop -[WXImageComponent cancelImage] + 48
3 DaRenShop __31-[WXImageComponent updateImage]_block_invoke + 56
4 libdispatch.dylib __dispatch_call_block_and_release + 24
5 libdispatch.dylib __dispatch_client_callout + 16
6 libdispatch.dylib __dispatch_queue_serial_drain + 928
7 libdispatch.dylib __dispatch_queue_invoke + 884
8 libdispatch.dylib __dispatch_queue_override_invoke + 344
9 libdispatch.dylib __dispatch_root_queue_drain + 540
10 libdispatch.dylib __dispatch_worker_thread3 + 124
11 libsystem_pthread.dylib _pthread_wqthread + 1096


       This is the problem of SDWebImage and has been fixed in the latest
version,the issue is here <https://github.com/rs/SDWebImage/pull/2048>. But
when I upgraded to the latest version of SDWebImage@4.1.2, I found that the
GIF images couldn't move.

Re: iOS SDWebImage@4.1.2 GIF images won't move

Posted by xing zhang <zh...@gmail.com>.
It looks like that this crash is about multithread access.
The newer version of SDWebImage load gif with a new class, it's worth to
discuss about it, maybe we can introduce it with plugin, protocol or
something else.

2017-11-16 10:44 GMT+08:00 许有红 <em...@gmail.com>:

> hello dev:
>
>      I find a crash on SDWebImage@3.7.5:
>
>
> libobjc.A.dylib objc_msgSend + 28
> 1 DaRenShop -[SDWebImageCombinedOperation cancel] + 196
> 2 DaRenShop -[WXImageComponent cancelImage] + 48
> 3 DaRenShop __31-[WXImageComponent updateImage]_block_invoke + 56
> 4 libdispatch.dylib __dispatch_call_block_and_release + 24
> 5 libdispatch.dylib __dispatch_client_callout + 16
> 6 libdispatch.dylib __dispatch_queue_serial_drain + 928
> 7 libdispatch.dylib __dispatch_queue_invoke + 884
> 8 libdispatch.dylib __dispatch_queue_override_invoke + 344
> 9 libdispatch.dylib __dispatch_root_queue_drain + 540
> 10 libdispatch.dylib __dispatch_worker_thread3 + 124
> 11 libsystem_pthread.dylib _pthread_wqthread + 1096
>
>
>        This is the problem of SDWebImage and has been fixed in the latest
> version,the issue is here <https://github.com/rs/SDWebImage/pull/2048>.
> But
> when I upgraded to the latest version of SDWebImage@4.1.2, I found that
> the
> GIF images couldn't move.
>