Skip to content

Flaky AccessViolation #902

Open
Open

Description

@JustinSchneiderPBI

Here's the binlogtool version info from the step before
"C:\Program Files\dotnet\dotnet.exe" tool update binlogtool --version 1.0.22 --allow-downgrade --tool-path dotnet-tools --configfile nuget.config
You can invoke the tool using the following command: binlogtool
Tool 'binlogtool' (version '1.0.22') was successfully installed.

I see 1.0.27 is available now. This might be fixed already; we'll try upgrading.

So far, only saw this 1x, so more of an FYI:

https://dev.azure.com/powerbi/Power%20Query/_build/results?buildId=15628495&view=logs&j=b2d27097-4f7c-59da-8672-9e4cfe01d97c&t=4e569f49-4143-52b2-f9c0-7e9d11bd65c2&s=4a9d7935-379b-58c1-a4e2-7a309c753caf
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.Build.Collections.ArrayDictionary2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Add(System.__Canon, System.__Canon) at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.CreateDictionary(System.Collections.Generic.List1<System.ValueTuple2<Int32,Int32>>) at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadNameValueList() at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.PreprocessRecordsTillNextEvent(System.Func2<Microsoft.Build.Logging.StructuredLogger.BinaryLogRecordKind,Boolean>)
at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.Read()
at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(System.IO.Stream, Microsoft.Build.Logging.StructuredLogger.Progress)
at Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(System.IO.Stream, Microsoft.Build.Logging.StructuredLogger.Progress, Byte[], Microsoft.Build.Logging.StructuredLogger.ReaderSettings)
at Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(System.String, Microsoft.Build.Logging.StructuredLogger.Progress, Microsoft.Build.Logging.StructuredLogger.ReaderSettings)
at Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(System.String, Microsoft.Build.Logging.StructuredLogger.Progress)
at Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(System.String)
at BinlogTool.BinlogToolCommandBase.ReadBuild(System.String, Boolean)
at BinlogTool.ListNuget.Run(System.String, System.String)
at BinlogTool.Program.Main(System.String[])
##[error]Cmd.exe exited with code '-1073741819'.

Activity

  1. KirillOsenkov commented on Sep 23, 2025

    @KirillOsenkov
    Owner

    Duplicate of #858

    Unfortunately I have no idea what can trigger a native AV in that code

  2. KirillOsenkov commented on Sep 23, 2025

    @KirillOsenkov
    Owner

    If you manage to grab a dump of this crash, let me know, perhaps we could do some forensics on the dump.

    I suspect a .NET runtime issue, since I've never seen this on .NET framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions