Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore and Build Product Error in Microsoft.Build.BackEnd.BinaryTranslator.BinaryWriteTranslator.TranslateDictionary #40626

Closed
benaadams opened this issue Aug 10, 2020 · 2 comments
Labels
untriaged New issue has not been triaged by the area owner

Comments

@benaadams
Copy link
Member

benaadams commented Aug 10, 2020

https://dev.azure.com/dnceng/public/_build/results?buildId=763662&view=logs&jobId=b226872e-8c83-547b-bd09-c26e54b2cebc&j=b226872e-8c83-547b-bd09-c26e54b2cebc&t=06e7eb07-5eae-539d-e778-5b3ef7042fdd

Restore and Build Product

/ runtime (Libraries Build Linux x64 Debug)

Build log #L1971
Child node "4" exited prematurely. Shutting down. Diagnostic information may be found in files in "/tmp/" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
/tmp/MSBuild_pid-2555_75cd8686c9e7462d87e5a643d9ee969f.failure.txt:
UNHANDLED EXCEPTIONS FROM PROCESS 2555:
=====================
08/10/2020 16:31:12
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at Microsoft.Build.BackEnd.BinaryTranslator.BinaryWriteTranslator.TranslateDictionary[D,T](D& dictionary, ObjectTranslator`1 objectTranslator)
   at Microsoft.Build.Execution.ProjectItemInstance.TaskItem.Microsoft.Build.BackEnd.ITranslatable.Translate(ITranslator translator)
   at Microsoft.Build.BackEnd.BinaryTranslator.BinaryWriteTranslator.Translate[T](List`1& list, ObjectTranslator`1 objectTranslator)
   at Microsoft.Build.BackEnd.LogMessagePacket.TranslateTargetFinishedEvent(ITranslator translator, TargetFinishedEventArgs finishedEvent)
   at Microsoft.Build.Shared.LogMessagePacketBase.WriteToStream(ITranslator translator)
   at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
===================

Seen in #40326 (comment)

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Aug 10, 2020
@danmoseley
Copy link
Member

Duplicate of dotnet/msbuild#5232

@danmoseley danmoseley marked this as a duplicate of dotnet/msbuild#5232 Aug 10, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants