Repository navigation
mgr: avoid explicit dropping of ref - #62445
Conversation
f825f3d to
38efb82
Compare
There was a problem hiding this comment.
This doens't look right. MgrOpRequest::request is a smart pointer?
There was a problem hiding this comment.
yeah ... I realized that too.
this change does quench the use-after-free error thrown by the AddressSanitizer though
I'll get a better explanation for this change a while later.
There was a problem hiding this comment.
@batrick The dtor had an explicit dropping of ref of the request object.
I've done away with that statement and things look fine in QA runs.
We need more widespread testing for this though.
38efb82 to
baba1cf
Compare
baba1cf to
0417180
Compare
|
jenkins test api |
|
jenkins test make check |
batrick
left a comment
There was a problem hiding this comment.
Please note this Fixes: 66efcaae7a05abaefb12758239b0e1ad5cbd85c9.
Add tracker to commit message too.
Good job tracking this down.
Fixes: 66efcaa Fixes: https://tracker.ceph.com/issues/70618 Signed-off-by: Milind Changire <[email protected]>
0417180 to
941c5ed
Compare
Fixed these issues. |
|
jenkins test make check arm64 |
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
|
jenkins test make check |
Fix use-after-free issue with MgrOpRequest.
Fixes: https://tracker.ceph.com/issues/70618
Signed-off-by: Milind Changire [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition