Skip to content

Segfault on exit #630

@dgossow

Description

@dgossow

Recently, RViz always segfaults when I close it.

Program received signal SIGSEGV, Segmentation fault.
rviz::Property::rowNumberInParent (this=0x1d2d688) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property.cpp:406
406   if( !parent->child_indexes_valid_ )
(gdb) bt
#0  rviz::Property::rowNumberInParent (this=0x1d2d688) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property.cpp:406
#1  0x00007ffff7b12ff6 in rviz::PropertyTreeModel::indexOf (this=0x927fc0, property=0x1d2d688)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property_tree_model.cpp:291
#2  0x00007ffff7b1307c in rviz::PropertyTreeModel::parentIndex (this=0x927fc0, child=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property_tree_model.cpp:117
#3  0x00007ffff7b130c3 in rviz::PropertyTreeModel::parent (this=0x927fc0, child_index=...) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property_tree_model.cpp:103
#4  0x00007ffff2b345d3 in QAbstractItemModelPrivate::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffff2b37d48 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff7b1320b in rviz::PropertyTreeModel::beginRemove (this=0x927fc0, parent_property=<optimized out>, row_within_parent=1, count=1)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property_tree_model.cpp:326
#7  0x00007ffff7b11799 in rviz::Property::takeChildAt (this=0x1f64380, index=1) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property.cpp:330
#8  0x00007ffff7b0e172 in rviz::DisplayGroupVisibilityProperty::onDisplayRemoved (this=0x1f64380, display=0x1b4d170)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/display_group_visibility_property.cpp:124
#9  0x00007ffff2b52281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff7b69cb2 in rviz::DisplayGroup::displayRemoved (this=<optimized out>, _t1=0x1b4d170) at /wg/stor5/dgossow/wsrviz/build/rviz/src/rviz/moc_display_group.cxx:114
#11 0x00007ffff7abb83c in rviz::DisplayGroup::removeAllDisplays (this=0x9e0410) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/display_group.cpp:163
#12 0x00007ffff7abbe3b in rviz::DisplayGroup::~DisplayGroup (this=0x9e0410, __in_chrg=<optimized out>) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/display_group.cpp:50
#13 0x00007ffff7abbe99 in rviz::DisplayGroup::~DisplayGroup (this=0x9e0410, __in_chrg=<optimized out>) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/display_group.cpp:51
#14 0x00007ffff7b12995 in rviz::PropertyTreeModel::~PropertyTreeModel (this=0x927fc0, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property_tree_model.cpp:51
#15 0x00007ffff7b12a09 in rviz::PropertyTreeModel::~PropertyTreeModel (this=0x927fc0, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/properties/property_tree_model.cpp:52
#16 0x00007ffff7b5c2ac in rviz::VisualizationManager::~VisualizationManager (this=0xa3a0d0, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/visualization_manager.cpp:201
#17 0x00007ffff7b5c479 in rviz::VisualizationManager::~VisualizationManager (this=0xa3a0d0, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/visualization_manager.cpp:215
#18 0x00007ffff7b55187 in rviz::VisualizationFrame::~VisualizationFrame (this=0x82e1d0, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/visualization_frame.cpp:152
#19 0x00007ffff7b55479 in rviz::VisualizationFrame::~VisualizationFrame (this=0x82e1d0, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/visualization_frame.cpp:160
#20 0x00007ffff7b5ec34 in rviz::VisualizerApp::~VisualizerApp (this=0x7fffffffe150, __in_chrg=<optimized out>)
    at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/visualizer_app.cpp:259
#21 0x0000000000400ad8 in main (argc=1, argv=<optimized out>) at /wg/stor5/dgossow/wsrviz/src/rviz/src/rviz/main.cpp:46

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions