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 11390 [details]
Xamarin.iOS Test Case
If I create an application with a single view (ViewController). This view has a button on it. The button when clicked takes you to a tab bar view (TabViewController). This tab bar view has two views (ViewControllerOne, ViewControllerTwo). If you go back from that tab bar view (via a navigation controller) there are still references to TabViewController, ViewControllerOne or ViewControllerTwo.
**Steps to Reproduce:**
1. Run the attached project on a simulator.
2. Instruments can be used to see the Retain counts
3. Press the button to navigate to the TabViewController, then press the Back button.
4. Repeat steps 3 as much as you want, then look at the Retain counts.
Here is a screencast showing the Xamarin (TabTest) project and the native (TabTestNative) project.
There are still retains for the TabViewController and the two children of that TabViewController.
If you go back from that tab bar view (via a navigation controller) there should no longer be references to TabViewController, ViewControllerOne or ViewControllerTwo. There is nothing else, no outlets, actions etc in these view.
May be similar to #1889.
Created attachment 11391 [details]
Xcode Native Test Case
Included an Xcode project to compare via instruments.
Customer version info for this issue:
=== Xamarin Studio ===
Version 5.9.1 (build 3)
Installation UUID: 7cd1cc06-607e-4278-bbf4-381ff8bce70b
Mono 4.0.0 ((detached/d136b79)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400000143
=== Apple Developer Tools ===
Xcode 6.3.1 (7703)
=== Xamarin.Mac ===
=== Xamarin.iOS ===
Version: 22.214.171.1243 (Enterprise Edition)
Build date: 2015-05-20 21:47:57-0400
=== Xamarin.Android ===
Version: 126.96.36.199 (Enterprise Edition)
Android SDK: /Users/david.ingham/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)
5.0 (API level 21)
Java SDK: /usr
No Java runtime present, requesting install.
=== Xamarin Android Player ===
=== Build Information ===
Release ID: 509010003
Git revision: aad75a6e7e48f18120ce41f47d0ff2c6216f49c3
Build date: 2015-05-08 12:46:18-04
Xamarin addins: 1246b3044cbb7f56a217334f8fc5489ef8eefe3f
=== Operating System ===
Mac OS X 10.10.3
Darwin HSW10473.local 14.3.0 Darwin Kernel Version 14.3.0
Mon Mar 23 11:59:05 PDT 2015
I was testing on a physical device. Using the simulator refused to show the
.net objects (viewcontrollers) in the collected data. Note sure why didn't have
time to get into that.
I can reproduce with 188.8.131.523, but not with the upcoming 8.12 release, so it looks like we've fixed this.