← Back to Pull requests

Fix crash in ~Executor for executors using the minimal constructor #3350

Merged
ahcorde merged 3 files (37 lines) on Oct 20, 2026 07:37 UTC
View on GitHub
ahcorde ahcorde commented on Oct 15, 2026 14:21 UTC
Author

Description

Executor(const std::shared_ptr<Context>&) lets derived executors skip the base implementation. It leaves notify_waitable_ null and registers no shutdown callback, but ~Executor dereferenced notify_waitable_ unconditionally, so destroying such an executor segfaulted.

This PR only removes the guard conditions and the shutdown callback when notify_waitable_ was set, and adds a test that constructs and destroys an executor through that constructor.

Did you use Generative AI?

Claude Opus 5.5

Diff: 37 lines (+33 / -4) across 3 files Reviewer: jmachowinski Review duration: 6795m
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.33) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 37 lines diff across 3 files
0.33
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.55 · 2 substantive comment(s)
0.55
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
72%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.218
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
5 items
github-actions[bot] github-actions[bot] commented on Oct 15, 2026 14:56 UTC
Bot

ABI Compliance Check

✅ Verdict: compatible

| Library | Verdict | Summary |
|---|---|---|
| libcomponent_manager.so | ✅ compatible | No ABI changes detected. |
| librclcpp.so | ✅ compatible | No ABI changes detected. |
| librclcpp_action.so | ✅ compatible | No ABI changes detected. |
| librclcpp_lifecycle.so | ✅ compatible | No ABI changes detected. |

<details><summary>✅ <code>libcomponent_manager.so</code> — full abidiff report</summary>

Compared:

  • Base: lib-base/libcomponent_manager.so

  • Head: lib-pr/libcomponent_manager.so @ f4def90
  • (empty report — no differences printed by abidiff)
    

    </details>

    <details><summary>✅ <code>librclcpp.so</code> — full abidiff report</summary>

    Compared:

  • Base: lib-base/librclcpp.so

  • Head: lib-pr/librclcpp.so @ f4def90
  • Functions changes summary: 0 Removed (41 filtered out), 0 Changed (79 filtered out), 0 Added (19 filtered out) functions
    Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
    
    
    

    </details>

    <details><summary>✅ <code>librclcpp_action.so</code> — full abidiff report</summary>

    Compared:

  • Base: lib-base/librclcpp_action.so

  • Head: lib-pr/librclcpp_action.so @ f4def90
  • (empty report — no differences printed by abidiff)
    

    </details>

    <details><summary>✅ <code>librclcpp_lifecycle.so</code> — full abidiff report</summary>

    Compared:

  • Base: lib-base/librclcpp_lifecycle.so

  • Head: lib-pr/librclcpp_lifecycle.so @ f4def90
  • (empty report — no differences printed by abidiff)
    

    </details>

    <sub>Updated for commit f4def90 · check run · suppressions: /home/runner/work/_temp/ros2-abi-suppressions.txt</sub>
    <!-- libabigail-action-marker:ros2-abi -->

    jmachowinski jmachowinski approved these changes on Oct 15, 2026 22:27 UTC
    Approved Reviewer

    Approved these changes.

    fujitatomoya fujitatomoya approved these changes on Oct 19, 2026 14:27 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    ahcorde ahcorde
    Labels
    risk: low confidence: 72% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 32.7% (LOW) · Higher = larger blast radius
    32.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 72% · Lower = rushed or shallow review
    72%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 9.2% · Safe to merge
    9.2%
    Repository