You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rviz crashes reproducibly when it receives a TRIANGLE_LIST marker twice with action ''ADD'' and empty ''points'' and ''colors'' vectors.
Attached is a backtrace, the used rviz configuration and the marker-of-death in a bag file.
I was using the Debian packages for diamondback.
The crash happened on an AMD Turion(tm) 64 notebook with an nVidia G72M (!GeForce Go 7300) and Ubuntu 11.04. I also tested it on my Desktop, an Intel i7 with an nVidia !GeForce GT240 AMP and Ubuntu 10.10. It crashed as well.
The backtrace:
{{{
#0 0x0000000000000000 in ?? () #1 0x00007fffd4305ca1 in rviz::TriangleListMarker::~TriangleListMarker (
this=<value optimized out>, __in_chrg=<value optimized out>)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/default_plugin/markers/triangle_list_marker.cpp:65
#2 0x00007fffd4305f09 in rviz::TriangleListMarker::~TriangleListMarker (
this=0xb23d00, __in_chrg=<value optimized out>)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/default_plugin/markers/triangle_list_marker.cpp:81
---Type to continue, or q to quit--- #12 rviz::MarkerDisplay::clearMarkers (this=)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/default_plugin/marker_display.cpp:97
#13 0x00007fffd430d425 in rviz::MarkerDisplay::onDisable (this=0xd38f80)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/default_plugin/marker_display.cpp:127
#14 0x00007ffff1dd8d82 in rviz::Display::disable (this=0xd38f80,
force=<value optimized out>)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/display.cpp:94
#15 0x00007ffff1dd9da5 in rviz::DisplayWrapper::destroyDisplay (this=0xd374d0)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/display_wrapper.cpp:246
#16 0x00007ffff1dd9dee in rviz::DisplayWrapper::~DisplayWrapper (
this=0xd374d0, __in_chrg=<value optimized out>)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/display_wrapper.cpp:66
#17 0x00007ffff1db6f29 in rviz::VisualizationManager::removeDisplay (
this=0xc29810, display=0xd374d0)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/visualization_manager.cpp:548
#18 0x00007ffff1db70cc in rviz::VisualizationManager::removeAllDisplays (
this=0xc29810)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/visualization_manager.cpp:559
#19 0x00007ffff1dcb446 in rviz::VisualizationFrame::~VisualizationFrame (
this=0x8fa400, __in_chrg=<value optimized out>)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/visualization_frame.cpp:111
#20 0x00007ffff1dcb6e9 in rviz::VisualizationFrame::~VisualizationFrame (
this=0x8fa400, __in_chrg=<value optimized out>)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-vi---Type <return> to continue, or q <return> to quit---
sualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/visualization_frame.cpp:118 #21 0x00007ffff098b503 in wxAppBase::CleanUp() ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0 #22 0x00007ffff00472ef in wxEntryCleanup() ()
from /usr/lib/libwx_baseu-2.8.so.0 #23 0x00007ffff004749c in wxUninitialize() ()
from /usr/lib/libwx_baseu-2.8.so.0 #24 0x00007ffff0047502 in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0 #25 0x00000000004141f2 in main (argc=1, argv=)
at /tmp/buildd/ros-diamondback-visualization-1.4.1/debian/ros-diamondback-visualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/visualizer_app.cpp:321
[hersh] Thanks for the report. The stack trace confuses me a bit since near the bottom is the VisualizationFrame destructor, meaning the stack trace happened when rviz was in the process of shutting down.
[kresse] Thanks for the quick reply. These destructors confused me as well (~!VisualizationFrame, ~!DisplayWrapper, but also destroyDisplay, onDisable or removeAllDisplays). I can assure you, however, that I did nothing in that moment other than sending the marker. This smells like some panic-so-lets-quit code to me, that got triggered by the second message.
I just hope that this is reproducible on your machine...
rviz crashes reproducibly when it receives a TRIANGLE_LIST marker twice with action ''ADD'' and empty ''points'' and ''colors'' vectors.
Attached is a backtrace, the used rviz configuration and the marker-of-death in a bag file.
I was using the Debian packages for diamondback.
The crash happened on an AMD Turion(tm) 64 notebook with an nVidia G72M (!GeForce Go 7300) and Ubuntu 11.04. I also tested it on my Desktop, an Intel i7 with an nVidia !GeForce GT240 AMP and Ubuntu 10.10. It crashed as well.
The backtrace:
{{{
#0 0x0000000000000000 in ?? ()
#1 0x00007fffd4305ca1 in rviz::TriangleListMarker::~TriangleListMarker (
#2 0x00007fffd4305f09 in rviz::TriangleListMarker::~TriangleListMarker (
#3 0x00007fffd42f6889 in release (this=,
#4 boost::detail::shared_count::~shared_count (this=,
#5 0x00007fffd4315244 in ~shared_ptr (this=0xd39180,
#6 ~pair (this=0xd39180, __x=)
#7 destroy (this=0xd39180, __x=)
#8 _M_destroy_node (this=0xd39180, __x=)
#9 std::_Rb_tree<std::pair<std::basic_string<char, std::char_traits, std::allocator >, int>, std::pair<std::pair<std::basic_string<char, std::char_traits, std::allocator >, int> const, boost::shared_ptrrviz::MarkerBase >, std::_Select1st<std::pair<std::pair<std::basic_string<char, std::char_traits, std::allocator >, int> const, boost::shared_ptrrviz::MarkerBase > >, std::less<std::pair<std::basic_string<char, std::char_traits, std::allocator >, int> >, std::allocator<std::pair<std::pair<std::basic_string<char, std::char_traits, std::allocator >, int> const, boost::shared_ptrrviz::MarkerBase > > >::_M_erase (this=0xd39180,
#10 0x00007fffd430ce89 in clear (this=)
#11 clear (this=)
---Type to continue, or q to quit---
#12 rviz::MarkerDisplay::clearMarkers (this=)
#13 0x00007fffd430d425 in rviz::MarkerDisplay::onDisable (this=0xd38f80)
#14 0x00007ffff1dd8d82 in rviz::Display::disable (this=0xd38f80,
#15 0x00007ffff1dd9da5 in rviz::DisplayWrapper::destroyDisplay (this=0xd374d0)
#16 0x00007ffff1dd9dee in rviz::DisplayWrapper::~DisplayWrapper (
#17 0x00007ffff1db6f29 in rviz::VisualizationManager::removeDisplay (
#18 0x00007ffff1db70cc in rviz::VisualizationManager::removeAllDisplays (
#19 0x00007ffff1dcb446 in rviz::VisualizationFrame::~VisualizationFrame (
#20 0x00007ffff1dcb6e9 in rviz::VisualizationFrame::~VisualizationFrame (
sualization/opt/ros/diamondback/stacks/visualization/rviz/src/rviz/visualization_frame.cpp:118
#21 0x00007ffff098b503 in wxAppBase::CleanUp() ()
from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0x00007ffff00472ef in wxEntryCleanup() ()
from /usr/lib/libwx_baseu-2.8.so.0
#23 0x00007ffff004749c in wxUninitialize() ()
from /usr/lib/libwx_baseu-2.8.so.0
#24 0x00007ffff0047502 in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0
#25 0x00000000004141f2 in main (argc=1, argv=)
}}}
trac data:
The text was updated successfully, but these errors were encountered: