Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault from plugin with multiple RosTopicProperty #1283

Open
mjforan opened this issue Oct 2, 2024 · 1 comment
Open

Segfault from plugin with multiple RosTopicProperty #1283

mjforan opened this issue Oct 2, 2024 · 1 comment
Assignees

Comments

@mjforan
Copy link
Contributor

mjforan commented Oct 2, 2024

I am seeing the same behavior as #547. When I create an RViz plugin with multiple RosTopicProperty, the first works as expected but clicking on the others causes a segfault. On startup they are missing the arrow indicating a drop-down menu, so it looks like they are not being created properly. I have created a very simple reproduction based on the tutorial.

My example includes a Docker image so you can easily test the scenario. If you do not have an NVIDIA GPU, omit the --gpus all part.

xhost +local:root
docker run -it --rm --env="DISPLAY" --env="QT_X11_NO_MITSHM=1" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --gpus all mjforan/rviz_plugin_tutorial rviz2
  • Add > rviz_plugin_tutorial/Point2D
  • Expand Point2D
  • Click on the right side of Topic Property 2, where the topic drop-down would usually be.

Tested on Humble and Jazzy.

@fujitatomoya
Copy link
Contributor

@ahcorde can you take a look at this?

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

No branches or pull requests

3 participants