I'm using robust mutexes in a similar way, and I've found that if I use PTHREAD_PRIO_INHERIT attribute on my mutexes, I can no longer reproduce this bug.
It looks like this is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1401665 . ** Bug watch added: Red Hat Bugzilla #1401665 https://bugzilla.redhat.com/show_bug.cgi?id=1401665 ** Attachment added: "Fixed test" https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1706780/+attachment/5188152/+files/tr.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1706780 Title: pthread_mutex_lock robust hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1706780/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
