Bug 13584 - mdtool crashes with System.ObjectDisposedException
Summary: mdtool crashes with System.ObjectDisposedException
Status: RESOLVED DUPLICATE of bug 13502
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.10
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-07-29 21:35 UTC by Mikhail Rozhkov
Modified: 2014-10-07 06:45 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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 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.

Related Links:
Status:
RESOLVED DUPLICATE of bug 13502

Description Mikhail Rozhkov 2013-07-29 21:35:22 UTC
After updating Xamarin.IOS and Xamarin Studio,
mdtool crashes after any build command with an exception:

Unhandled Exception:
System.ObjectDisposedException: The object was used after being disposed.

Server stack trace: 
  at System.Net.Sockets.Socket.Poll (Int32 time_us, SelectMode mode) [0x0009c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System/System.Net.Sockets/Socket.cs:1493 
  at System.Runtime.Remoting.Channels.Tcp.ReusableTcpClient.get_IsAlive () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:148 
  at System.Runtime.Remoting.Channels.Tcp.TcpConnection.get_IsAlive () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:183 
  at System.Runtime.Remoting.Channels.Tcp.HostConnectionPool.GetConnection () [0x0005a] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:234 
  at System.Runtime.Remoting.Channels.Tcp.TcpConnectionPool.GetConnection (System.String host, Int32 port) [0x0005c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs:105 
  at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage (IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, ITransportHeaders& responseHeaders, System.IO.Stream& responseStream) [0x00025] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs:183 
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage (IMessage msg) [0x0006c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs:157 


==============================
Xamarin tools version
==============================

Xamarin Studio
Version 4.0.10 (build 7)
Installation UUID: 917a958f-2220-468e-b912-ed243272e834
Runtime:
	Mono 3.2.0 ((no/7c7fcc7)
	GTK 2.24.20
	GTK# (2.12.0.0)
	Package version: 302000000

Apple Developer Tools
Xcode 4.5.2 (1847)
Build 4G2008a

Xamarin.Mac
Xamarin.Mac: Not Installed

Xamarin.iOS
Version: 6.4.0.2 (Business Edition)
Hash: c9f7659
Branch: 
Build date: 2013-18-07 21:36:03-0400
Comment 1 Mikhail Rozhkov 2013-07-29 21:36:34 UTC
Example of a command causes the crash:
/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "/Users/buzer2010/Work/Zx3/Kill3.iOS/Kill3.iOS.sln" -t:Build -c:"Release|iPhone"
Comment 2 Marius Ungureanu 2014-10-07 06:45:08 UTC

*** This bug has been marked as a duplicate of bug 13502 ***