Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 12228 [details]
App crashes (iOS only) when flicking or scrolling quickly through a TableView that has Pickers in the cell. The app crashes with exception noted below.
## Steps to reproduce
1. Open attached test project and restore packages.
2. Deploy iOS app project to simulator or device.
3. Scroll quickly up and down a few times on the TableView
Expected result: tableView will continue to scroll without app crashing.
Actual result: app crashes with below exception.
## Stack trace:
>System.ObjectDisposedException: The object was used after being disposed.
> at Foundation.NSObject.get_SuperHandle () [0x00015] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/Foundation/NSObject2.cs:416
> at UIKit.UIView.set_Frame (CGRect value) [0x0002b] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/build/ios/native/UIKit/UIView.g.cs:2779
> at Xamarin.Forms.Platform.iOS.ViewCellRenderer+ViewTableCell.LayoutSubviews () [0x00046] in <filename unknown>:0
> at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string,intptr,intptr)
> at UIKit.UIApplication.Main (System.String args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/UIKit/UIApplication.cs:63
> at UIKit.UIApplication.Main (System.String args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/UIKit/UIApplication.cs:47
> at AppCrash.iOS.Application.Main (System.String args) [0x00008] in /Users/apple/Downloads/AppCrash/iOS/Main.cs:17
Forms version is 126.96.36.19976. Originally the project had the TableView in a StackLayout and then in a ScrollView. I eliminated the ScrollView and the Stacklayout to see if the issue was with the nesting, but the issue remained even when the TableView is the only thing in the ContentPage. Test project reflects these changes, i.e. only a TableView in a ContentPage.
## My Environment
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 2dc9022f-f9a8-424f-8284-bf224cbbfde0
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 188.8.131.52 (Business Edition)
Android SDK: /Users/apple/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Apple Developer Tools ===
Xcode 6.4 (7720)
=== Xamarin.iOS ===
Version: 184.108.40.206 (Business Edition)
Build date: 2015-06-30 15:19:13-0400
=== Xamarin.Mac ===
Version: 220.127.116.11 (Business Edition)
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.10.4
Darwin Jons-iMac.local 14.4.0 Darwin Kernel Version 14.4.0
Thu May 28 11:35:04 PDT 2015
Should be fixed in 1.5.2-pre1
I have checked this issue with Xamarin.Forms 1.5.2-pre1 and its working fine.
Hence closing this issue.