From: bugzilla-daemon@freedesktop.org Subject: [Bug 105339] Deadlock inside glClientWaitSync Date: Mon, 05 Mar 2018 01:02:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0988951629==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 680D46E0C6 for ; Mon, 5 Mar 2018 01:02:03 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0988951629== Content-Type: multipart/alternative; boundary="15202117230.35B1C.13650" Content-Transfer-Encoding: 7bit --15202117230.35B1C.13650 Date: Mon, 5 Mar 2018 01:02:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105339 --- Comment #3 from Matias N. Goldberg --- I've uploaded a binary with the repro. Unfortunately it wasn't easy to repro the problem on a simpler one-liner te= st 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 easil= y. Please note that only this sample so far appears to trigger the race condit= ion. --=20 You are receiving this mail because: You are the assignee for the bug.= --15202117230.35B1C.13650 Date: Mon, 5 Mar 2018 01:02:03 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 10533= 9 from Matias N. Goldberg
I've uploaded a binary with the repro.
Unfortunately it wasn't easy to repro the problem on a simpler one-liner te=
st
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 easil=
y.

Please note that only this sample so far appears to trigger the race condit=
ion.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15202117230.35B1C.13650-- --===============0988951629== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0988951629==--