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

UI for ETW version 1.56 - Locks up when I choose to Start Tracing. #154

Closed
lviolette opened this issue Mar 16, 2022 · 2 comments
Closed

Comments

@lviolette
Copy link

UI for ETW changes to (Not Responding) right after I click on start tracing.
In the UI, it shows:
Starting tracing to disk...
Tracing is started.

Then goes to (Not Responding) in the titlebar and the whole app turns grey (like when any app shows Not Responding).
UIforETW

Unfortunately I can't attach the dmp file I generated with UIforETW. Here's a public one-drive link:
https://1drv.ms/u/s!AmoCoOcZk4GBgqQOKKrSg_PiU4V9tA?e=D6pENR

@randomascii
Copy link
Contributor

It is known and expected that UIforETW will hang for "a bit" when starting tracing. It invokes xperf.exe several times and doesn't pump messages again until all of those invocations have completed.

It is unusual for UIforETW to hang permanently.

So, if UIforETW hangs briefly then that is "fine". If it never recovers then that means that xperf.exe has hung. I rarely see this but it can happen. Specifically, if I have certain applications (I'm not sure which) halted in a debugger when I try to start tracing then xperf.exe will hang. I guess xperf is trying to communicate with the halted process to tell it to start emitting events.

So, look (in Task Manager) for invocations of xperf.exe that are not responding. Checking UIforETW's Show commands option may help with understanding this.

@lviolette
Copy link
Author

Thank you for the feedback I hadn't been able to reproduce the permanent freeze again. Thanks for your hard work.

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

No branches or pull requests

2 participants