Bug 41793 - Build fails unexpectedly
Summary: Build fails unexpectedly
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.1.0 (C7)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: mag@xamarin.com
URL:
Depends on:
Blocks:
 
Reported: 2016-06-14 11:17 UTC by softlion
Modified: 2016-09-29 15:08 UTC (History)
4 users (show)

Tags: BZCU
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 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 FIXED

Description softlion 2016-06-14 11:17:44 UTC
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): warning : The client build4296benja has been disconnected while waiting a post response to topic xvs/Build/4.1.0.530/execute-task/RadiosIos/4e18f0d%2FMTouch
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): warning : The client build4296benja has been disconnected while waiting a post response to topic xvs/Build/4.1.0.530/execute-task/RadiosIos/4e18f0d%2FMTouch
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): warning :    à Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() dans C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:ligne 172
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018: The "MTouch" task failed unexpectedly.
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018: Xamarin.Messaging.Exceptions.ClientDisconnectedException: The client build4296benja has been disconnected while waiting a post response to topic xvs/Build/4.1.0.530/execute-task/RadiosIos/4e18f0d%2FMTouch
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 194
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__22`2.MoveNext() in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__26`2.MoveNext() in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Execute[T](Func`1 postFunction) in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 216
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Post[TRequest,TResponse](IMessagingClient client, TRequest message, Boolean retain, Int32 timeoutSecs) in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 170
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.VisualStudio.Build.BuildClient.ExecuteTask(String task, String inputs) in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\MSBuild\Xamarin.VisualStudio.Build\BuildClient.cs:line 62
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.Run(Task task) in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 71
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Xamarin.iOS.Tasks.MTouch.Execute() in C:\Users\builder\data\lanes\3345\2e397405\source\XamarinVS\src\MSBuild\Xamarin.iOS.Tasks\Tasks\MTouch.cs:line 46
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(681,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
Comment 1 Ashley Gazich [MSFT] 2016-06-22 21:13:39 UTC
@softlion 

Thanks for the report. Can you please provide the following for further investigation?

1. Minimized runnable test case
2. Steps to reproduce
3. Verbose build output https://kb.xamarin.com/customer/portal/articles/1675684-how-to-collect-version-information-and-logs#verbose-build-output-logs
4. Full version information for both
Xamarin Studio Mac: Xamarin Studio > About Xamarin Studio > Show Details > Copy Information [button]
Visual Studio: Help > About Microsoft Visual Studio > Copy Info [button]

Thank you!
Comment 2 softlion 2016-09-29 15:08:43 UTC
Seems fixed