Bionic verification First, reproducing the bug with the current glibc: ubuntu@bionic-glibc-1864864:~$ apt-cache policy libc6 libc6: Installed: 2.27-3ubuntu1.2 Candidate: 2.27-3ubuntu1.2 Version table: *** 2.27-3ubuntu1.2 500 500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://br.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status
It hung immediately: ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr (stuck) Second run worked, third run got stuck again: ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr (stuck) With updated glibc: ubuntu@bionic-glibc-1864864:~$ apt-cache policy libc6 libc6: Installed: 2.27-3ubuntu1.3 Candidate: 2.27-3ubuntu1.3 Version table: *** 2.27-3ubuntu1.3 500 500 http://br.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages 100 /var/lib/dpkg/status Sample program doesn't hang anymore, after multiple tries, and no need to rebuild it: ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 ubuntu@bionic-glibc-1864864:~$ ./bug23844wr trylock_wr 500000 bionic verification succeeded ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864864 Title: [SRU] pthread_rwlock_trywrlock results in hang To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1864864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs