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 Forms CachedImageRenderer Crash.

See original GitHub issue

Hi,

Thanks a lot for this library.

Some of our users reported about crash, we had only limited information from HockeyApp. We using this library in the items on the list view, and also for some on-boarding guide that showed after first start. For showing this guide we using CarouselView control and FFImageLoading for images.

Some users told that crash mostly occur when images loadings on the CarouselView.

As we can’t reproduce this issue on our side, maybe someone have some ideas how to resolve this?

0x0000000101a1f634 0x0000000101a07958 
0x0000000100b65408 0x0000000100af68bc 
0x00000001019036cc 0x0000000101901cb8 
0x000000010078adfc 0x00000001003ae894 
0x0000000100429ef4 0x00000001003b0554
 0x00000001003af984 0x00000001003b026c 
0x00000001003ae5fc 0x000000
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', 
reason: 'No view controller managing visible view 
<FFImageLoading_Forms_Touch_CachedImageRenderer: 
0x1024c6870; frame = (0 0; 375 667); autoresize = LM+W+RM+TM+H+BM; 
layer = <CALayer: 0x175431da0>>'

Raw stacktrace:

Code Type:       ARM-64
Parent Process:  ??? [1]

Date/Time:       2017-07-27T11:23:26Z
Launch Time:     2017-07-27T11:22:50Z
OS Version:      iPhone OS 10.3.2 (14F89)
Report Version:  104

Exception Type:  SIGABRT
Exception Codes: #0 at 0x182a6d014
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'No view controller managing visible view <FFImageLoading_Forms_Touch_CachedImageRenderer: 0x1024c6870; frame = (0 0; 375 667); autoresize = LM+W+RM+TM+H+BM; layer = <CALayer: 0x175431da0>>'

Last Exception Backtrace:
0   CoreFoundation                       0x0000000183a72fe0 0x183946000 + 1232864
1   libobjc.A.dylib                      0x00000001824d4538 0x1824cc000 + 34104
2   CoreFoundation                       0x0000000183a72eb4 0x183946000 + 1232564
3   Foundation                           0x000000018450a720 0x18445c000 + 714528
4   UIKit                                0x000000018a3c1fc8 0x189b94000 + 8576968
5   UIKit                                0x000000018a495540 0x189b94000 + 9442624
6   UIKit                                0x000000018a495298 0x189b94000 + 9441944
7   UIKit                                0x000000018a491408 0x189b94000 + 9425928
8   UIKit                                0x000000018a494038 0x189b94000 + 9437240
9   UIKit                                0x000000018a497260 0x189b94000 + 9450080
10  UIKit                                0x000000018a497478 0x189b94000 + 9450616
11  UIKit                                0x000000018a492360 0x189b94000 + 9429856
12  UIKit                                0x0000000189eb65a4 0x189b94000 + 3286436
13  UIKit                                0x0000000189d490bc 0x189b94000 + 1790140
14  UIKit                                0x0000000189c551a4 0x189b94000 + 790948
15  UIKit                                0x000000018a494a38 0x189b94000 + 9439800

Thanks a lot for any help with this.

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jokogarciacommented, Nov 28, 2019

I’ve been struggling with this all day and it turned out to be that I was calling FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); After LoadApplication(new App(new iOSInitializer())); in AppDelegate.cs.

After I corrected that, issue went away for me. I’m just putting this comment here because this is the top Google search for this error, and it may be usefull for someone else.

1reaction
flchauxcommented, Aug 1, 2017

Same issue here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FFImageLoading fails load big Gif file when executing real ...
My Xamarin.Forms app uses FFImageLoading for loading three Gifs. A.gif : 3.7MB; B.gif : 5.1MB; C.gif : 2MB.
Read more >
Xamarin forms app opened from a custom URI scheme ...
Xamarin forms app opened from a custom URI scheme crashes when there is no instance of app ... OnCreate(savedInstanceState); FFImageLoading.
Read more >
Xamarin Community Forums - RSSing.com
Assembly, typeof(CachedImageRenderer). ... Forms". Add FFImageLoading CachedImage to my StackLayout: ... Forms App Crashing On Click Event Handler.
Read more >
Xamarin.Forms 1.4.3.6356-pre1
Version Downloads Last updated 5.0.0.2599‑pre1 6,814 2 months ago 5.0.0.2578 260,516 4 months ago 5.0.0.2545 408,266 7 months ago
Read more >
Optimizing & Handling Images with FFImageLoading
Is a plugin that provides the ability to load images and to help reduce the resource consumption and optimizing the resources sizes. Add...
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