[Bug 105339] Deadlock inside glClientWaitSync

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 5 01:02:03 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105339

--- Comment #3 from Matias N. Goldberg <dark_sylinc at yahoo.com.ar> ---
I've uploaded a binary with the repro.
Unfortunately it wasn't easy to repro the problem on a simpler one-liner test
case.

Just download the binary and run Sample_PlanarReflections-2.2.0
Let me know if you have issues executing the file (e.g. a hardcoded path
slipped through, missing library)

Just move around the scene (WASD + mouse). It should hang within the first
minute. It often hangs in the first 10 seconds, but it can take up to 2
minutes, at least on my machine.

As for the code, it hangs inside GL3PlusRenderSystem::_endFrame in
RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp which purposedly runs a
lot of fences to trigger the deadlock.
I included the source code so the symbols work for you

If anyone wants to build it from source code, let me know and I will assist.
I'm using Ogre 2.2's f7302ccfa4a9fde3f0e47835924f37db1b3b06b8 build, but
OgreGL3PlusRenderSystem.cpp has been modified to trigger the bug more easily.

Please note that only this sample so far appears to trigger the race condition.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180305/d0bdceca/attachment.html>


More information about the dri-devel mailing list