-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
tracy-capture and connected client app hangs before shutdown #943
Comments
The client should respond that source files are not available, which should eventually empty the |
I see, that client should send a |
Why is it disabled? |
I turn it off, because in most cases I don't need it and it produces additional load. This is optional, isn't it? |
Technically it is, but by disabling it you hit code paths that are not really tested or supported, as you have noticed. |
I met the bug, when I run my app, built on CI server, and connect tracy-capture to it - before shutting down, both app and tracy are hanging.
What I have found by myself:
TracyWorker::m_sourceCodeQuery
had not been cleared before termination. But in case of termination, tracy checked this variable on emptiness to understand, has it some work to do - and in case if yes, it continues its main loop (TracyWorker.cpp, 2852 in 0.11.1 version). It causes infinite waiting, becausem_sourceCodeQuery
will not be cleared in any case further.!m_sourceCodeQuery.empty()
check, everything will be fixed.What's there incorrect and how this suppose to work normally? Does this check really needs there?
The text was updated successfully, but these errors were encountered: