question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FFImageLoading.Exceptions.DownloadHttpStatusCodeException

See original GitHub issue

Description

So i have android project with RecyclerView displaying images in each item. i use latest nuget package of Xamarin.FFImageLoading.

ImageService.Instance.Config.AllowUpscale = false;
ImageService.Instance.Config.ClearMemoryCacheOnOutOfMemory = true;
ImageService.Instance.Config.FadeAnimationForCachedImages = false;
ImageService.Instance.Config.MaxMemoryCacheSize = 0;
ImageService.Instance.Config.FadeAnimationEnabled = false;

This is how i set config settings. and this is how i load image

ImageService.Instance
                .LoadUrl(imageView.Url)
                .WithCache(FFImageLoading.Cache.CacheType.Disk)
                .CacheKey(imageView.Url)
                .IntoAsync(imageView);

(imageView is my custom view which is inherited from ImageView and it has Url property.)

the problem is that while scrolling RecyclerView slowly it works fine, but on fastscroll it crashes and throws Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) exception. after that it is written that FFImageLoading.Exceptions.DownloadHttpStatusCodeException this exception happened in package. when i remove image initialization it works fine on fast scroll. do you guys have any suggestion?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dovhoangcommented, Jan 9, 2023

Any updates?

1reaction
stepkillahcommented, Jun 10, 2019

The same issue for me, the crash appears when using Xamarin Forms ListView, and also with native ImageService.Instance.Load.. when using with RecyclerView. Looks like it cancels a download of already scrolled items, and it causes a crash.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin Forms FFImageLoading doesn't load images from ...
cs , etc. I tried every solution I found here. It shouldn't be encoded in GZIP. Also, no error message is displayed and...
Read more >
No Logins Icons in IOS/Android - Password Manager
Looking at the Console App with my phone connected, I've seen errors regarding Image loading failures. An example item is as follows. Image ......
Read more >
FFImageLoading Image URL Source not working in Xamarin ...
I ran into this issue this week. I would define the Source as a URL and then, nothing... It turns out, with FFImageLoading,...
Read more >
Users/florian/Library/Developer/CoreSimulator/Devices ...
Common\Work\ImageLoaderTask.cs:618. ---> (Inner Exception #0) FFImageLoading.Exceptions.DownloadHttpStatusCodeException: BadGateway <!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found