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

rviz crashes with -d option, but does not crash with loading config manually, on hidpi setting (Displays Scale = 200%) #1178

Open
xuyuan-han opened this issue Mar 31, 2024 · 1 comment
Assignees

Comments

@xuyuan-han
Copy link

rviz_crash.mp4

The video linked above illustrates the issue I have encountered:

  1. (Displays Scale = 200%) The rviz crashes when using the -d option specified in the command.
$ rviz2 -d /home/han/Libs/autoware/src/launcher/autoware_launch/autoware_launch/rviz/autoware.rviz

[INFO 1711894926.561953440] [rviz2]: Stereo is NOT SUPPORTED (operator()() at ./src/main.cpp:62)
[INFO 1711894926.562031750] [rviz2]: OpenGl version: 4.6 (GLSL 4.6) (operator()() at ./src/main.cpp:62)
[INFO 1711894926.674679369] [rviz2]: Stereo is NOT SUPPORTED (operator()() at ./src/main.cpp:62)
[INFO 1711894927.366084652] [rviz2]: Stereo is NOT SUPPORTED (operator()() at ./src/main.cpp:62)
[INFO 1711894927.386644342] [rviz2]: Stereo is NOT SUPPORTED (operator()() at ./src/main.cpp:62)
[1]    135633 segmentation fault (core dumped)  rviz2 -d
  1. (Displays Scale = 200%) The rviz does not crash when I first load the default config and then switch to the autoware config.
  2. (Displays Scale = 100%) The rviz does not crash when using the -d option specified in the command.

FYI:

OS: Ubuntu 22.04.4 LTS x86_64 
Host: Venus series 
Kernel: 6.5.0-1018-oem 
Shell: zsh 5.8.1 
Resolution: 3840x2160 
DE: GNOME 42.9 
WM: Mutter 
WM Theme: Adwaita 
Theme: Yaru-dark [GTK2/3] 
Icons: Yaru [GTK2/3] 
Terminal: x-terminal-emul 
CPU: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics (16) @ 5.263GHz
GPU: AMD ATI c4:00.0 Device 15bf 
GPU: NVIDIA GeForce GTX 1080 
Memory: 6399MiB / 46945MiB 
  • The coredump for the crashed case:
    rviz_coredump.txt

  • export QT_ENABLE_HIGHDPI_SCALING=0 or export QT_SCREEN_SCALE_FACTORS=1 do not fix this problem.

  • This problem has been occurring since at least October 2023.

Should you require further information, please let me know and I am happy to provide it.

@ahiyantra
Copy link

ahiyantra commented Jul 3, 2024

I've an extremely similar but slightly different issue. When i try starting rviz 2 with the "-d" option from a python launch file & when i try loading a configuration file after starting rviz 2 from a python launch file, it crashes (the process dies) specifically for the configuration file containing depth cloud & point cloud data display but is able to load a configuration file containing depth image & color image data displays. I tried including & excluding different data displays for the configuration file to check which one was responsible for the crashes. It seems to be the depth cloud data display in my case, although i don't know why. Excluding it specifically resolved the crashing issue for me but it's only a temporary solution.

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