-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
Crash occurs when plugins are continuously deleted from the Display panel #1658
Comments
I cannot reproduce this with a simple Grid display. Can you provide more detailed instructions to reproduce, please. Ideally a rviz config file. |
I understood the procedure. What I meant with "I cannot reproduce this": rviz doesn't crash for me if following your procedure. |
But I can reproduce the issue on multiple devices. It is 100% reproducible. I know it's not necessary to double-click remove under normal circumstances, and I only stumbled upon this issue by accident. I'm guessing something goes wrong with the indexing after the plug-in is removed. |
I've found the root cause of the problem. rviz/src/rviz/displays_panel.cpp Lines 171 to 198 in a808401
|
Thanks for clarifying. I can reproduce now. I will have a look for a fix. |
This fixes a segfault reported in #1658
Perform the following operations to delete the plug-in from the Display panel to reproduce the problem:
1.Select the last row;
2.Press Ctrl and select the penultimate line;
3.Then double click the Remove button, rviz crash here.
The gdb backtrace:
Your environment
The text was updated successfully, but these errors were encountered: