-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
After PR #1808: Segfault when loading RViz config with RobotModel display using non-default parameter name #1825
Comments
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/preparing-for-noetic-sync-2024-05-09/37602/2 |
Fixed via e0ec5f6 |
Oh, great, thanks a lot for the quick action, @rhaschke ! I really didn't know what the culprit could be... I verified your fix works. |
Thanks a lot, Martin, for your excellent bug report. That helped a lot to pinpoint the issue quickly. |
I am still getting this issue (or at least very similar) on latest Renaming a |
@Achllle: I cannot reproduce your issue. As you complain about renaming the display (from |
…ng deleted properties
Your environment
echo "$LANG $LC_NUMERIC"
: cs_CZ.UTF-8Before reporting a rendering issue, try running RViz with
LANG=C rviz
! - no effectDescription
Commit df72fce from #1808 broke loading rviz with a config that contains RobotModel display configured for non-default parameter name (e.g.
robot_description2
). This only happens whenrobot_description
also contains something, which is very weird, because I'd say that if the config only contains RobotModel withrobot_description2
, it should not touchrobot_description
at all. But it does and it leads to segfault.Repro
a.urdf:
c.urdf:
b.rviz:
bug.launch:
When you launch
roslaunch ./bug.launch
, rviz 1.14.22 segfaults. When you launchroslaunch ./bug.launch bug:=false
, it launches correctly (that corresponds to not settingrobot_description
). Be sure to let roslaunch create its own rosmaster when doing these tests.GDB backtrace
Analysis
Git blame pointed at commit df72fce. When I revert it, the bug does not manifest.
If I start an empty RViz and add the RobotModel display to it, no segfaults happen. But when I save it and rerun RViz with this config, and
robot_description
is set, the segfault happens.The text was updated successfully, but these errors were encountered: