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
GitHub or Developer Community 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 13788 [details]
I've been losing bits of work here and there, a few times a day lately with everything installed and up to date on the Alpha channel.
This is more likely a Mono runtime issue, but it manifests frequently in data loss in Xamarin Studio.
Attached is a screenshot of the dialog that appears when trying to save when too many files are open, and a list of open files for the XS process when the error happens (taken from Activity Monitor). There are a lot of suspicious "(none)" entries and what appears to be _way_ too many assemblies and .mdb files open.
I accidentally killed XS before remembering to poke at it with lsof and such, so I'll update this bug with more info when I it happens again.
aaron@bacon ~ 👉 sysctl kern.maxfilesperproc
aaron@bacon ~ 👉 sysctl kern.maxfiles
Version 5.10 (build 860)
Installation UUID: 2701a58e-0630-4e42-b81d-229161066215
Mono 4.2.1 (explicit/8862921)
GTK+ 2.24.23 (Raleigh theme)
Package version: 402010091
Apple Developer Tools
Xcode 7.1 (9079)
Version: 220.127.116.11 (Business Edition)
Build date: 2015-10-28 19:11:03-0400
Version: 18.104.22.168 (Business Edition)
Android SDK: /Users/aaron/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.4 (API level 19)
5.0 (API level 21)
5.1 (API level 22)
SDK Tools Version: 24.2
SDK Platform Tools Version: 22
SDK Build Tools Version: 22.0.1
Java SDK: /usr
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Xamarin Android Player
Location: /Applications/Xamarin Android Player.app
Version: 22.214.171.124 (Business Edition)
Release ID: 510000860
Git revision: 7c46a0b709d51ad5d5a5ed90a4671cc7b6928e62
Build date: 2015-10-29 17:17:52-04
Xamarin addins: b9337905aca5dc276190d78819728a59cda33a43
Build lane: monodevelop-lion-cycle6
Mac OS X 10.11.2
Darwin bacon.local 15.0.0 Darwin Kernel Version 15.0.0
Fri Oct 23 15:26:00 PDT 2015
Created attachment 13789 [details]
Open files list from Activity Monitor
Created attachment 13790 [details]
This is the output from lsof, on another run of XS, on a completely separate machine (with the same builds of everything from Alpha).
Created attachment 13791 [details]
Limit hit when trying to open a file this time
Aaron, did you had a chance to run with the build available at https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=2460&host_id=148&revision_id=650545 ?
@Kyle @Ludovic, should we consider this card resolved | fixed on the release branch for C6SR1?
Looks like this has already been added to the release branch judging by the state of the card linked above:
@Peter, no I do not think so. As @Alan mentioned in comment 6 it might not be related to that card at all. They were believed to be related at one point (the threadpool issue caused this one to happen), but after reviewing the history here and on the Trello card, I do not think @Ludovic is expecting that issue to fix this. So I'd leave it open. Also moving it to C6SR2 milestone.
The issue didn't seem to have arised since then. We also run into the same kind of issue with https://trello.com/c/DbLazGXt/221-mono-xvs-bug-37085-unable-to-see-simulator-in-device-dropdown-list which have since been fixed.