Skip to content

tentacle: rgw: segfault in rgw_http_req_data::set_state() after request completion - #71493

Merged
batrick merged 1 commit into
ceph:tentaclefrom
mheler:wip-80199-tentacle
Sep 30, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
mheler:wip-80199-tentacle

Conversation

@mheler

@mheler mheler commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

reqs_change_state kept a raw pointer to the request. If the request
finished before the reqs thread drained the queue, set_state() ran on
a freed request or a null curl handle and crashed the http_manager
thread.

Store the request id instead and look it up in reqs under reqs_lock.
Finished requests are already erased from that map, so a miss means
there is nothing left to pause or resume. Also skip curl_easy_pause()
if the request finished before the change could be applied.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 06a93dc)
@mheler
mheler requested a review from a team as a code owner September 2, 2026 14:43
@mheler mheler added this to the tentacle milestone Sep 2, 2026
@github-actions github-actions Bot added the rgw label Sep 2, 2026
@mheler mheler changed the title tentacle: null tentacle: rgw: segfault in rgw_http_req_data::set_state() after request completion Sep 2, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 2, 2026
@mheler mheler removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 2, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Sep 2, 2026
@anrao19

anrao19 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to tentacle integration testing by anuchaithra started 2026-09-10-10:17.

pr testing completed and approved by @ivancich , more details : https://tracker.ceph.com/issues/80447
@mheler, if no further testing is needed then this pr can be merged

@batrick batrick modified the milestones: tentacle, v20.2.5 Sep 30, 2026
@batrick
batrick merged commit 5adc962 into ceph:tentacle Sep 30, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa ready-to-merge releng-audit-pass Release engineering: passed backport verification audit. rgw TESTED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants