From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 105339] Deadlock inside glClientWaitSync
Date: Mon, 05 Mar 2018 01:08:50 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1909288011=="
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 BE1986E0C9
for ; Mon, 5 Mar 2018 01:08:50 +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
--===============1909288011==
Content-Type: multipart/alternative; boundary="15202121300.8FcbE.14907"
Content-Transfer-Encoding: 7bit
--15202121300.8FcbE.14907
Date: Mon, 5 Mar 2018 01:08:50 +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 #4 from Matias N. Goldberg ---
By the way, if I change the waits to the following:
while( waitRet !=3D GL_ALREADY_SIGNALED && waitRet !=3D GL_CONDITION_SATISF=
IED )
{
waitDuration =3D 1 second;
waitRet =3D glClientWaitSync( fenceName, waitFlags, waitDuration );
assert( waitRet !=3D GL_WAIT_FAILED );
}
Then it still deadlocks. glClientWaitSync returns, but the fence never
completes, leaving the while() loop as an infinite loop.
Once it starts deadlock, if I step inside si_fence_finish I can see that
rfence->tc_token is 0, which either means that it was always 0, or it has b=
een
already zeroed.
I do not know how to continue debugging this race condition as I am not
familiar with the code.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15202121300.8FcbE.14907
Date: Mon, 5 Mar 2018 01:08:50 +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 # 4
on bug 10533=
9
from Matias N. Goldberg
By the way, if I change the waits to the following:
while( waitRet !=3D GL_ALREADY_SIGNALED && waitRet !=3D GL_CONDITIO=
N_SATISFIED )
{
waitDuration =3D 1 second;
waitRet =3D glClientWaitSync( fenceName, waitFlags, waitDuration );
assert( waitRet !=3D GL_WAIT_FAILED );
}
Then it still deadlocks. glClientWaitSync returns, but the fence never
completes, leaving the while() loop as an infinite loop.
Once it starts deadlock, if I step inside si_fence_finish I can see that
rfence->tc_token is 0, which either means that it was always 0, or it ha=
s been
already zeroed.
I do not know how to continue debugging this race condition as I am not
familiar with the code.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15202121300.8FcbE.14907--
--===============1909288011==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1909288011==--