LASM rviz2 crash
I've run into an issue where LASM seems to cause rviz2 to segfault while loading the moveit-ros-visualization plugin. Oddly seems to manifest during logging with a realloc() segfault according to gdb. My best guess is that we are mixing system glibc with nix vendored glibc at some point when loading the plugin.
Currently we allow it to load everything as a fallback, but we can reign it back in by making a more custom config for LASM where we load things more selectively.
Options:
- Fine-tune the LASM config to only load relevant graphics libraries.
- Use
nixGL.- This works, but requires us to prefix commands (e.g.
nixGL rviz2) - not a fan of this.
- This works, but requires us to prefix commands (e.g.
- Use nix-system-graphics.
- This also works and requires no prefixing!
- But requires an additional install step...