Skip to content

rviz2 crashed when run a rosbag replay simulation #3474

Answered by yuasabe
zymgp asked this question in Q&A
Discussion options

You must be logged in to vote

I also recently came by a similar problem where rviz2 would crash with a segmentation fault when launched with Autoware. (i.e. rviz2 -d /home/ywc/autoware/install/autoware_launch/share/autoware_launch/rviz/autoware.rviz).

In my case, the error included outputs like the ones below:

libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
[1]    6220 segmentation fault (core dumped)  LIBGL_DEBUG=verbose rviz2 -d

The problem was that in the Ubuntu Settings, under the "Displays" panel, the "Scale" of the display was set to 200% instead of the default 100%. Changing this back to 100% fixed the i…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@zymgp
Comment options

@shmpwk
Comment options

Answer selected by zymgp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants