Skip to content

Can't Open Net OS Heap Alloc Stacks #2297

Closed

Description

Image

An unhanded exception occured.

At this point you can opt to continue, however it is possible that the aborted computation will cause additional failures. Because PerfView generally only opens files for reading, there is no danger of corrupting files, so it generally does not hurt to try. However be on guard for unusual/incorrect behavior going forward.

You can of course exit and restart PerfView to be completely safe.

The fact that this exception went unhanded is a programmer error. It should be reported so it can be fixed. Please set along the following stack trace information which will be useful in diagnosing the problem.

StackTrace:
System.InvalidOperationException: 无法将 Owner 属性设置为之前未显示的 Window。
在 System.Windows.Window.set_Owner(Window value)
在 PerfView.ETLPerfViewData.ConfigureStackWindow(String stackSourceName, StackWindow stackWindow)
在 PerfView.PerfViewStackSource.<>c__DisplayClass23_0.b__2(List`1 selectedProcesses)
在 PerfView.StatusBar.<>c__DisplayClass23_0.b__0()
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Activity

  1. cincuranet commented on Sep 11, 2025

    @cincuranet
    Collaborator

    Please provide steps to repro this.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions