Bug 60381 - iOS ListView crashes while refreshing and attempting to scroll
Summary: iOS ListView crashes while refreshing and attempting to scroll
Status: Tracked in Related Links
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.4.0
Hardware: Other Other
: Normal major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-10-25 22:51 UTC by Cliff Cawley
Modified: 2018-07-03 01:01 UTC (History)
4 users (show)

Tags: ios11, listview, refresh, scroll, crash, ac
Is this bug a regression?: ---
Last known good build:

Sample to reproduce crash (13.54 KB, application/zip)
2017-10-25 22:51 UTC, Cliff Cawley

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 60381 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Tracked in Related Links

Description Cliff Cawley 2017-10-25 22:51:13 UTC
Created attachment 25460 [details]
Sample to reproduce crash

I'm not entirely sure if this is a Xamarin Forms or a monotouch issue as the debugger disconnects and the app hard crashes and I don't see any logs.

I reproduced this in a production app on iOS 11.0.3 and have verified it still happens on iOS 11.1 beta 5. It doesn't occur on iOS 10.

1) Open the attached sample project, restore packages and run
2) The view will show that it's refreshing. While it's refreshing (which will never end), attempt to scroll down the list
3) App crashes out, debugger disconnects

This one took several hours to find a work around (forcefully setting the IsPullToRefreshEnabled to true, even if the listview is refreshing) and has allowed us to release a patch for a production app but it's not ideal because you can still pull to refresh while it's refreshing and the view does some odd jumps as you pull down, however it's better than the crash :)
Comment 1 Paul DiPietro [MSFT] 2017-10-26 00:08:19 UTC
Marking as confirmed for now til we can sort out more details.