Bug 516469
Summary: | PTHREAD_PRIO_INHERIT does not mix well with POSIX condition variables | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> | ||||
Component: | glibc | Assignee: | Andreas Schwab <schwab> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | dino, dvhltc, itamar, jakub, kernel-maint, pmuller, schwab | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-08-17 16:10:42 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 473303, 516995 | ||||||
Attachments: |
|
Description
Lennart Poettering
2009-08-10 02:05:25 UTC
Created attachment 356836 [details]
test case
peterz thinks it's a kernel problem. Reassigning. No, it isn't. <http://sourceware.org/ml/libc-alpha/2009-08/msg00024.html> Took a look at the trace, the kernel is doing what it should. If you put the thread to sleep with FUTEX_WAIT_REQUEUE_PI_PRIVATE (0x8b) you have to wake it up with FUTEX_CMP_REQUEUE_PI_PRIVATE (0x8c), but the trace shows a call to FUTEX_WAKE_PRIVATE instead. This causes the kernel routine the thread is blocked in to wake, detect invalid usage, and return EINVAL. This is a glibc bug. Fixed in 2.10.90-14. |