Maybe this is another bug, that was fixed in upstream glibc 2.27/master by commit https://github.com/bminor/glibc/commit/f6d0e8c36f02b387d33f2cc58c7cb204f201d92e https://sourceware.org/bugzilla/show_bug.cgi?id=23861, but not in the Ubuntu 18.04?
** Bug watch added: Sourceware.org Bugzilla #23861 https://sourceware.org/bugzilla/show_bug.cgi?id=23861 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1854710 Title: pthread_rwlock_trywrlock results in hang To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1854710/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs