Actions
Bug #51492
closedpacific: pybind/ceph_volume_client: stat on empty string
Status:
Resolved
Priority:
Immediate
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
VolumeClient
Labels (FS):
crash
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When volume_prefix begins with "/", the library will try to stat the empty string resulting in a log like:
2021-07-01 02:15:04.449 7f7612b5ab80 3 client.178735 statx enter (relpath want 2047) /usr/include/c++/8/string_view:172: constexpr const _CharT& std::basic_string_view<_CharT, _Traits>::operator[](std::basic_string_view<_CharT, _Traits>::size_type) const [with _CharT = char$_Traits = std::char_traits<char>; std::basic_string_view<_CharT, _Traits>::size_type = long unsigned int]: Assertion '__pos < this->_M_len' failed. Aborted (core dumped)
relpath indicates the empty string.
Updated by Patrick Donnelly almost 3 years ago
- Status changed from In Progress to Pending Backport
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51493: nautilus: pacific: pybind/ceph_volume_client: stat on empty string added
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51494: octopus: pacific: pybind/ceph_volume_client: stat on empty string added
Updated by Patrick Donnelly almost 3 years ago
- Related to Bug #51495: client: handle empty path strings added
Updated by Loïc Dachary almost 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions