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

Optick UE5 plugin deadlocks when stopping capture #170

Open
arturmazurek opened this issue Jun 14, 2022 · 0 comments
Open

Optick UE5 plugin deadlocks when stopping capture #170

arturmazurek opened this issue Jun 14, 2022 · 0 comments

Comments

@arturmazurek
Copy link

I have a deadlock when stopping Optick capture on a cook from UE5. It happens around 100% times during gameplay, in main menu is around 50%. OptickPlugin version is 1.4.0

Looking at callstacks two threads deadlock - the main game thread and render thread.

Game thread looks like this:
image
Core::Update() locks the coreLock and above it FOptickPlugin::StopCapture tries to lock UpdateCriticalSection

Render thread looks like this:
image
And here FOptickPlugin::OnEndFrameRT locks UpdateCriticalSection and Core::EndUpdateFrame tries to lock already locked coreLock.

That results in deadlock. Unfortunately seems to me that fixing it requires a bit more understanding of the plugin than I have, so am reporting this as an issue instead of going for a pull request already.

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

1 participant