oidc-agent icon indicating copy to clipboard operation
oidc-agent copied to clipboard

oidc-keychain, oidc-gen and oidc-add frozen on Ubuntu 20.04

Open tdviet opened this issue 3 years ago • 3 comments

All mentioned command do not terminate. Verified on a fresh VM with Ubuntu 20.04

tdviet avatar Jul 02 '21 21:07 tdviet

Thanks for reporting this bug. I did some investigation and found a bug in one of our dependencies. This bug can cause an infinite loop and therefore the commands hang. The issue has been fixed upstream on libcjson, but the fix is not included in ubuntu focal. I submitted a bugreport and requested to include the fix in ubuntu focal. See https://bugs.launchpad.net/ubuntu/+source/cjson/+bug/1934643 for the status.

We already discovered the same bug with debian buster; there it was fixed. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973442 for the details.

zachmann avatar Jul 05 '21 07:07 zachmann

Until the bug is fixed in ubuntu focal you could install a newer version of libcjson.

zachmann avatar Jul 05 '21 07:07 zachmann

Until the bug is fixed in ubuntu, we decided to not depend on the packaged version of libcjson, but instead use the up-to-date version of libcjson from git.

The updated debian package is now available.

zachmann avatar Jul 08 '21 08:07 zachmann