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 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 9343 [details]
Logs from customer
From this desk case:
Customer reports that when calling Insights.Initialize() method in their code, Visual Studio hangs after starting debugging. The customer notes that when removing the Insights.Initialize() method everything works as expected.
They also noted that using Insights.Initalize() in an empty project doesn't cause Visual Studio to hang.
Lastly, they said that they tried creating a fresh classic API project and copying over all the sources from their original project and that still reproduced the issue.
Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Installed Version: Ultimate
Architecture and Modeling Tools 06181-004-0452003-02365
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Team Explorer for Visual Studio 2013 06181-004-0452003-02365
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06181-004-0452003-02365
Microsoft Visual Basic 2013
Visual C# 2013 06181-004-0452003-02365
Microsoft Visual C# 2013
Visual C++ 2013 06181-004-0452003-02365
Microsoft Visual C++ 2013
Visual F# 2013 06181-004-0452003-02365
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06181-004-0452003-02365
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Windows Phone SDK 8.0 - ENU 06181-004-0452003-02365
Windows Phone SDK 8.0 - ENU
.NET Portability Analyzer 1.1.10808.0
API portability analyzer.
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 12.4.51016.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.21010.0
For additional information, visit http://www.asp.net/
Color Theme Designer 1.0
Designer for creating new color themes
Common Azure Tools 1.3
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JetBrains ReSharper Platform 6 Build 6.0.20141204.190160 on 2014-12-04 19:29:31Z
JetBrains ReSharper Platform package for Microsoft Visual Studio. For more information about ReSharper Platform, visit http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.
Microsoft Azure HDInsight HQL Service 1.0.0000.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio 1.0.0000.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools 1.3
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.5
Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.5.21104.1601
NuGet Package Manager 2.8.50926.663
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PowerShell Tools 1.3
Provides file classification services using PowerShell
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.41025.0
Microsoft SQL Server Data Tools
Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
Xamarin 126.96.36.199 (d6a2cae)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 188.8.131.52 (49a04b966feb40dfdba49d57ba16249b66d606a6)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 184.108.40.206 (eb24bdcf5cba2c12b673a07e0a8cce368b9563b3)
Visual Studio extension to enable development for Xamarin.iOS.
Xamarin.iOS Unified Migration 1.0
Automated migration for Xamarin iOS Classic projects to Unified
---Build Host Info---
=== Xamarin Studio ===
Version 5.7 (build 661)
Installation UUID: 856111ee-651e-451f-b99d-ab60e6e2218a
Mono 3.12.0 ((detached/a813491)
GTK+ 2.24.23 (Raleigh theme)
Package version: 312000068
=== Apple Developer Tools ===
Xcode 6.1.1 (6611)
=== Xamarin.Mac ===
=== Xamarin.Android ===
=== Xamarin.iOS ===
Version: 220.127.116.11 (Business Edition)
Build date: 2015-01-08 13:39:32-0500
=== Build Information ===
Release ID: 507000661
Git revision: b70bab61da996da29045ea8ee8aed1a6faedbe78
Build date: 2015-01-05 16:31:31-05
Xamarin addins: 82f6c71490562d6cd125a09287f441902fdac3d7
=== Operating System ===
Mac OS X 10.10.1
Darwin Rubens-Mac.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
Adding customer's logs as an attachment.
Adding possibly related bug:
Bug 25212 - [VS3.9.141] Visual Studio 2010/2012/2013 hangs on Deployment of App to iOS Device with incorrect Provisioning Profile
In the "See Also" section of this report.
Adding Possibly related bug:
Bug 26025 - [Android] Visual Studio freezes while debugging
In the "See Also" section of this report.
Verified this bug and getting the VS Team's attention to getting this issue
fixed in the next release.
Not sure if this helps:
I was experiencing the Xamarin for Visual Studio(3.9.236) and Xamarin.iOS(8.6) hang when launching my app and calling Insights.Initialize. I reverted(uninstalled existing then installed previous) to the previous version of Xamarin for Visual Studio(3.8.150) and Xamarin.iOS(8.4). I only followed the Uninstall Xamarin Studio part of: http://developer.xamarin.com/guides/cross-platform/getting_started/installation/uninstalling_xamarin/#Uninstall_Xamarin_Studio
I did not do the Uninstall Mono SDK (MDK) part; however, I did trash Xamarin.iOS Build Host.app from Applications.
At this point I threw the following exception when launching my app:
Unhandled managed exception: Corrupted data ReadInternal (System.IO.IOException) at System.IO.Compression.DeflateStreamNative.CheckResult (Int32 result, System.String where) [0x000a5] in /Developer/MonoTouch/Source/monotouch/_build//Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.IO.Compression/DeflateStream.cs:477 at System.IO.Compression.DeflateStreamNative.ReadZStream (IntPtr buffer, Int32 length) [0x0000e] in /Developer/MonoTouch/Source/monotouch/_build//Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.IO.Compression/DeflateStream.cs:375 at System.IO.Compression.DeflateStream.ReadInternal (System.Byte array, Int32 offset, Int32 count) [0x0002f] in /Developer/MonoTouch/Source/monotouch/_build//Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.IO.Compression/DeflateStream.cs:125 at System.IO.Compression.DeflateStream.Read (System.By te dest, Int32 dest_offset, Int32 count) [0x00086] in /Developer/MonoTouch/Source/monotouch/_build//Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.IO.Compression/DeflateStream.cs:145 at System.IO.Compression.GZipStream.Read (System.Byte dest, Int32 dest_offset, Int32 count) [0x0001c] in /Developer/MonoTouch/Source/monotouch/_build//Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.IO.Compression/GZipStream.cs:80 at Xamarin.InsightsCore.IOWriter.ReadDiskImage (System.String fileName) [0x00000] in :0 at Xamarin.InsightsCore.CachedString..ctor (System.String id, Boolean doNotHash) [0x00000] in :0 at Xamarin.InsightsCore.Core..ctor () [0x00000] in :0 at Xamarin.InsightsCore.Device.get_Core () [0x00000] in :0 at Xamarin.Insights.Initialize (System.String apiKey) [0x00000] in :0
I suspect that there may be a problem with the latest MDK which causes this exception as well as a problem with the way the latest Xamarin for Visual Studio works with the debugger and the Corrupted data ReadInternal exception, compared to previous versions.
As discussed yesterday with Ian Ceicys, this issue is fixed in XVS 3.9.274.
Verified Fixed in build 3.9.274