Actions
Bug #56480
closedstd::shared_mutex deadlocks on Windows
% Done:
100%
Source:
Backport:
quincy pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Merge Commit:
Fixed In:
v17.0.0-14084-g9ff4b5a1a39
Released In:
v18.2.0~1636
Upkeep Timestamp:
2025-07-13T07:10:24+00:00
Description
The winpthreads shared mutex implementation causes deadlocks on Windows [1]2. Specifically, async RBD IO calls are hanging. This also prevents the images from being unmounted.
One possible workaround would be to use boost::shared_mutex with MinGW builds.
[1] https://github.com/cloudbase/wnbd/issues/63#issuecomment-1161547102
[2] https://github.com/msys2/MINGW-packages/issues/3319
Trace: https://pastebin.com/raw/i3jpTyS3
Files
Updated by Ilya Dryomov over 3 years ago
- Subject changed from shared mutex deadlocks on Windows to std::shared_mutex deadlocks on Windows
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 46989
Updated by Ilya Dryomov over 3 years ago
Adding gdb stack trace dump as an attachment in case pastebin expires.
Updated by Lucian Petrut over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Lucian Petrut over 3 years ago
- Copied to Backport #57053: pacific: std::shared_mutex deadlocks on Windows added
Updated by Upkeep Bot over 3 years ago
- Copied to Backport #57054: quincy: std::shared_mutex deadlocks on Windows added
Updated by Konstantin Shalygin over 3 years ago
- Status changed from Pending Backport to Resolved
- % Done changed from 90 to 100
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 9ff4b5a1a39652b4b1b19ad0cc1c2ba71d6f24e8
- Fixed In set to v17.0.0-14084-g9ff4b5a1a39
- Released In set to v18.2.0~1636
- Upkeep Timestamp set to 2025-07-13T07:10:24+00:00
Actions