[Bug nptl/31477] Priority Inversion and Unlimited Spin of RWlock

pengzheng at apache dot org sourceware-bugzilla@sourceware.org
Fri May 30 03:43:39 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=31477

--- Comment #7 from Peng Zheng <pengzheng at apache dot org> ---
Created attachment 16110
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16110&action=edit
Demo

Following Andres's advice, I try to add a demo to illustrate the situation.
When the issue arises, both realtime threads get stuck in pthread_rwlock_rdlock
and the normal thread writer gets suck in pthread_rwlock_wrlock. I looked into
the coredump and found (by reading assembly) that both realtime threads were
infinitely spinning in the place indicated by the main post.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list