Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

SDWebImage Crashes when using a cache key filter.

$
0
0

I would like to use the SDWebImage (v-3.2.3) component but it is crashing when I set some cache key filter.

0   SDWebImageCacheKeyFilterBug         0x000b7fac mono_handle_native_sigsegv + 284
1   SDWebImageCacheKeyFilterBug         0x0002b888 mono_sigsegv_signal_handler + 248
2   libsystem_c.dylib                   0x938628cb _sigtramp + 43
3   ???                                 0xffffffff 0x0 + 4294967295
4   SDWebImageCacheKeyFilterBug         0x000087f1 -[SDWebImageManager cacheKeyForURL:] + 118

I have just created a simple project which imports the SDWebImage from the Components store and set a cache key filter following the "Getting Start" page: http://components.xamarin.com/gettingstarted/sdwebimage

SDWebImageManager.SharedManager.SetCacheKeyFilter (url => {
    var stableUrl = new NSUrl (scheme: url.Scheme, host: url.Host, path: url.Path);  
    return stableUrl.AbsoluteString;
});

The Xamarin Studio sample project which presents the bug was attached to this post.

Does anybody know how can I fix it?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>