Telerik TagIt Crashes on iPhone

0 Answers 223 Views
ListView ListView - Xamarin.iOS
Robert
Top achievements
Rank 1
Robert asked on 06 Oct 2021, 10:04 AM

Hello,

I'm trying to evaluate the TagIt example. I have it working in a debug environment. It runs on all the simulators (Android and iOS). It runs in UWP as well.

However, when I run it on my iPhone it crashes consistently in the PickerPage view when I display my images. I have hundreds of images in my phone, but the code is only trying to show the first 100.

After the first page of images appears, I swipe up to show the next page, and the application exits. It looks like a crash.

I put unhandled exception handlers in the iOS application (according to this reference - global-error-handling-xamarin-forms). They are not hit, nor do they record any useful exception information. The output log shows no exceptions.

Output Log:

Resolved pending breakpoint at 'AppDelegate.cs:77,1' to void tagit.iOS.AppDelegate.LogUnhandledException (System.Exception exception) [0x00002].
Resolved pending breakpoint at 'AppDelegate.cs:101,1' to void tagit.iOS.AppDelegate.DisplayCrashReport () [0x00007].
Thread started: <Thread Pool> #3
Thread started: <Thread Pool> #4
Thread started: <Thread Pool> #5
Thread started: <Thread Pool> #6
2021-10-06 05:40:45.206 tagit.iOS[13433:3334804] WARNING: This app's CFBundleDevelopmentRegion is not a string value. This can lead to unexpected results at runtime. Please change CFBundleDevelopmentRegion in your Info.plist to a string value.

Thread started: <Thread Pool> #7
Thread started: <Thread Pool> #8
Thread started: <Thread Pool> #9
Thread started: <Thread Pool> #10
Thread started:  #11
Thread started: <Thread Pool> #12
Thread started: <Thread Pool> #13
Thread started: <Thread Pool> #14
Thread started: <Thread Pool> #15
2021-10-06 05:40:56.010 tagit.iOS[13433:3334909] A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
  at FFImageLoading.Work.ImageLoaderTask`3[TDecoderContainer,TImageContainer,TImageView].Init () [0x00164] in <a159011f32534c8eb0455a9cf0bad5a7>:0

2021-10-06 05:40:56.012 tagit.iOS[13433:3335672] A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
  at FFImageLoading.Work.ImageLoaderTask`3[TDecoderContainer,TImageContainer,TImageView].Init () [0x00164] in <a159011f32534c8eb0455a9cf0bad5a7>:0

2021-10-06 05:40:56.017 tagit.iOS[13433:3334837] A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
  at FFImageLoading.Work.ImageLoaderTask`3[TDecoderContainer,TImageContainer,TImageView].Init () [0x00164] in <a159011f32534c8eb0455a9cf0bad5a7>:0

2021-10-06 05:40:56.019 tagit.iOS[13433:3334910] A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
  at FFImageLoading.Work.ImageLoaderTask`3[TDecoderContainer,TImageContainer,TImageView].Init () [0x00164] in <a159011f32534c8eb0455a9cf0bad5a7>:0

2021-10-06 05:40:56.030 tagit.iOS[13433:3334910] A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
  at FFImageLoading.Work.ImageLoaderTask`3[TDecoderContainer,TImageContainer,TImageView].Init () [0x00164] in <a159011f32534c8eb0455a9cf0bad5a7>:0

Thread started: <Thread Pool> #16
Thread started: <Thread Pool> #17
The app has been terminated.

Development Environment:

  • VS 2019 v 16.11.4
  • Telerik UI for Xamarin R2 2021
  • XCode 13
  • Xamarin Forms 5.0.0.2083

I installed the TagIt app from the App Store. It does the same thing.

Any help would be appreciated.

Didi
Telerik team
commented on 08 Oct 2021, 01:16 PM

Could you please share more details on which iOS version the exception can be reproduced? We have tested on iPhone with iOS 14.5 and 13.3 and no exceptions. On iOS 14.8 the app crashes.

I look forward to your reply.  
Robert
Top achievements
Rank 1
commented on 08 Oct 2021, 01:20 PM

Thanks for you reply.

My phone is running iOS 14.8.

Didi
Telerik team
commented on 11 Oct 2021, 06:18 AM

Hi Robert,
Could you please share what is the exact model of the iPhone device? I am asking as we can reproduce the crash on iPhone SE 2020 iOS 14.8 where images on the device gallery are thousands. But we cannot reproduce the crash on iPhone X iOS 14.8 with hundreds of images on the device.

Robert
Top achievements
Rank 1
commented on 11 Oct 2021, 11:41 PM

I have an iPhone X, and it has 1866 images in it.
Didi
Telerik team
commented on 12 Oct 2021, 01:44 PM

Thank you for this information. 

I have logged the bug report in our feedback portal: https://feedback.telerik.com/xamarin/1538933-tagit-app-ios-crashes-randomly-on-iphone-with-ios-14-8-when-scrolling-through-the-images 
Follow the item to track its progress. 

No answers yet. Maybe you can help?

Tags
ListView ListView - Xamarin.iOS
Asked by
Robert
Top achievements
Rank 1
Share this question
or