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

/InMemoryCircularBuffer is broken #310

Open
Maoni0 opened this issue Jul 14, 2017 · 3 comments
Open

/InMemoryCircularBuffer is broken #310

Maoni0 opened this issue Jul 14, 2017 · 3 comments
Labels

Comments

@Maoni0
Copy link
Contributor

Maoni0 commented Jul 14, 2017

I am getting this exception when the commandline contains /InMemoryCircularBuffer:

[Exception Occurred: System.AggregateException: One or more errors occurred. ---> System.ApplicationException: Merge operation failed return code 0x80280013
   at Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl.Merge(String[] inputETLFileNames, String outputETLFileName, EVENT_TRACE_MERGE_EXTENDED_DATA flags)
   at Microsoft.Diagnostics.Tracing.ZippedETLWriter.<>c__DisplayClass35_0.<PrepForWrite>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
@sharwell sharwell added the bug label Jul 15, 2017
@brianrob
Copy link
Member

I just tested this, and I get a different failure:

Exception Occurred: System.Runtime.InteropServices.COMException (0x80070008): Not enough memory resources are available to process this command. (Exception from HRESULT: 0x80070008)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.InsureStarted(EVENT_TRACE_PROPERTIES* properties)
   at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider(Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options)
   at PerfView.CommandProcessor.EnableUserProvider(TraceEventSession userModeSession, String providerName, Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options)
   at PerfView.CommandProcessor.Start(CommandLineArgs parsedArgs)
   at PerfView.CommandProcessor.Collect(CommandLineArgs parsedArgs)
   at PerfView.MainWindow.<>c__DisplayClass13_0.<ExecuteCommand>b__0()
   at PerfView.StatusBar.<>c__DisplayClass22_0.<StartWork>b__0()

@Maoni0
Copy link
Contributor Author

Maoni0 commented Oct 18, 2019

yep, that's what our last customer who tried this got as well.

@ryandle
Copy link
Member

ryandle commented Jan 8, 2020

I was trying to use this flag and hit the same exception as Maoni. @brianrob let know if you'd like access to a repro machine.

The hresult 0x80280013 is documented as "An encrypted blob is invalid or was not created by this TPM." which seems pretty odd in this scenario to me (but I don't know much about what is happening with kernel ETW buffers under the hood.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants