Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 26, 2025

Description

RViz2 crashes with segmentation fault when reloading robot description (can be reproduce with rapidly toggling the RobotModel display on/off). The crash occurs in PropertyTreeWidget::propertyHiddenChanged()

This PR implements a two-part fix:

  1. Change from QueueConnection to DirectConnection as suggested in call propertyHiddenChanged synchronously #1033
  2. Add safety check for Property validity to avoid accessing destroyed object

Is this user-facing behavior change?

Did you use Generative AI?

No

Additional Information


This is an automatic backport of pull request #1587 done by [Mergify](https://mergify.com).

(cherry picked from commit 9fc8054)
@ahcorde
Copy link
Contributor

ahcorde commented Sep 26, 2025

Pulls: #1588
Gist: https://gist.githubusercontent.com/ahcorde/f5fe7fc424cf497747fb5a7a774236d5/raw/14c34bcfc9f8cb1add2afd78a9ef4e08f354891c/ros2.repos
BUILD args: --packages-above-and-dependencies rviz_common
TEST args: --packages-above rviz_common
ROS Distro: kilted
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/17059

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde ahcorde merged commit 9ece83e into kilted Sep 26, 2025
2 checks passed
@ahcorde ahcorde deleted the mergify/bp/kilted/pr-1587 branch September 26, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants